ThrottleWorks
Excel Ninja
Hi,
I have two column, A and B
Column A has amounts, B has Age
I am trying to write down below If Or formula but somehow not able to consider all the possibilities correctly
If A is greater than 10 million or age is greater than 7 then C1 value "A"
If A if equal to greater than 5 million and equal to or less than 10 million or age is between 5,6,7 then C1 value "B"
If A is more than 1 million or less than 5 million or age is between 2,3,4 then C1 value "C"
If A is less than 1 million or age is less than 2 then "D"
I tried below combinations but its not working, can anyone please help me in this
'=IF(OR(A2>=10000000,C2>7),"A",IF(OR(A2>=5000000,C2>5),"B",IF(OR(A2>=1000000,C2>5),"C",IF(OR(A2<1000000,C2<2),"D"))))
Please see below combinations for your reference:
A1 value 10 million + 1, B1 value 1, C1 value = A
A1 value 10 million + 1, B1 value 8, C1 value = A
A1 value 100, B1 value 8, C1 value = A
A1 value 5 million, B1 value 1, C1 value = B
A1 value 10 million, B1 value 1, C1 value = B
A1 value 100, B1 value 5, C1 value = B
A1 value 100, B1 value 7, C1 value = B
A1 value 1 million, B1 value 1, C1 value = C
A1 value 4.99 million, B1 value 1, C1 value = C
A1 value 100, B1 value 2, C1 value = C
A1 value 100, B1 value 3, C1 value = C
A1 value 100, B1 value 4, C1 value = C
A1 value 1 millioin, B1 value 1, C1 value = D
A1 value 0.99 millioin, B1 value 1, C1 value = D
I have two column, A and B
Column A has amounts, B has Age
I am trying to write down below If Or formula but somehow not able to consider all the possibilities correctly
If A is greater than 10 million or age is greater than 7 then C1 value "A"
If A if equal to greater than 5 million and equal to or less than 10 million or age is between 5,6,7 then C1 value "B"
If A is more than 1 million or less than 5 million or age is between 2,3,4 then C1 value "C"
If A is less than 1 million or age is less than 2 then "D"
I tried below combinations but its not working, can anyone please help me in this
'=IF(OR(A2>=10000000,C2>7),"A",IF(OR(A2>=5000000,C2>5),"B",IF(OR(A2>=1000000,C2>5),"C",IF(OR(A2<1000000,C2<2),"D"))))
Please see below combinations for your reference:
A1 value 10 million + 1, B1 value 1, C1 value = A
A1 value 10 million + 1, B1 value 8, C1 value = A
A1 value 100, B1 value 8, C1 value = A
A1 value 5 million, B1 value 1, C1 value = B
A1 value 10 million, B1 value 1, C1 value = B
A1 value 100, B1 value 5, C1 value = B
A1 value 100, B1 value 7, C1 value = B
A1 value 1 million, B1 value 1, C1 value = C
A1 value 4.99 million, B1 value 1, C1 value = C
A1 value 100, B1 value 2, C1 value = C
A1 value 100, B1 value 3, C1 value = C
A1 value 100, B1 value 4, C1 value = C
A1 value 1 millioin, B1 value 1, C1 value = D
A1 value 0.99 millioin, B1 value 1, C1 value = D
Last edited: