Is it possible to have 5 logics tested in an excel formula? Let's say I'm working with percentages and ranking each percentage 1 to 5. How would I write, for example with a value in B2, If B2 is < 1% it returns a value of 1, B2 between 1%-2% returnes a value of 2, 2%-3% returns 3, 3-4% returns a 4, and anything higher than 4% returns a value of 5. Any help would be appreciated.
Copyright © 2024 Q2A.ES - All rights reserved.
Answers & Comments
Verified answer
Use this formula:
=IF(B2="","",IF(B2<.01,1, IF(B2<.02,2,IF(B2<.03,3, IF(B2<.04,4,IF(B2>=.04,5))))))
it is not any longer that physically powerful in a lot as there is not any attempt for decrease than 0% or larger than 100% yet this undemanding nested 'if' statement could meet the criteria you've given: =IF(E5<0.80 5,a million,IF(E5<0.ninety 5,3,5)) Cheers, Steve