Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用公式在数字列表旁边的范围列。例如,我有一列从 1 到 10,如果它们在范围内(“1 到 4”和“5 到 10”),我试图在数字旁边获得一列我如何使用公式来做到这一点?
谢谢,
亚伦
它认为这个公式会满足你的要求。
=IF(AND(A1>=1,A1<=4),"1 to 4",IF(AND(A1>=5,A1<=10),"5 to 10","-")
如果数字超出 1-10 范围,它将返回 -