S
Smonczka
Could one of you give me a hand with this...
I'm trying to put a formula in a spreadsheet that has too many
expressions in it. I understand there is a limit to the number of
equations that can be in a formula but there must be a way around the
cap.
Or maybe another way to write the formula?
What I am trying to say in the formula is that if...
If X is less than 09 then B1 = what's in cell C2
If X is less than 25 then B1 = what's in cell C3
If X is less than 51 then B1 = what's in cell C4
The expression I have written looks like this...
=IF(X<10,"N/A",IF(X<26,R10,IF(X<51,R11,IF(X<101,R12,IF(X<251,R13,IF(X<501,R14,IF(X<1001,R15,IF(X<2001,R16,IF(X<3001,R17,IF(X<5001,R18,IF(X<7501,R19,IF(X<10001,R20,IF(X<12501,R21,IF(X<15001,R22,IF(X<17501,R23,IF(X<20001,R24,IF(X<25001,R25,IF(X<30001,R26,IF(X<35001,R27,IF(X<40001,R28,IF(X<99999,R29,"N/A")))))))))))))))))))))
As you can see to many equations.
I was thinking of using a VLookup but is there a way to use a "<"
with a VLookup.
Thanks,
Steve
(e-mail address removed)
I'm trying to put a formula in a spreadsheet that has too many
expressions in it. I understand there is a limit to the number of
equations that can be in a formula but there must be a way around the
cap.
Or maybe another way to write the formula?
What I am trying to say in the formula is that if...
If X is less than 09 then B1 = what's in cell C2
If X is less than 25 then B1 = what's in cell C3
If X is less than 51 then B1 = what's in cell C4
The expression I have written looks like this...
=IF(X<10,"N/A",IF(X<26,R10,IF(X<51,R11,IF(X<101,R12,IF(X<251,R13,IF(X<501,R14,IF(X<1001,R15,IF(X<2001,R16,IF(X<3001,R17,IF(X<5001,R18,IF(X<7501,R19,IF(X<10001,R20,IF(X<12501,R21,IF(X<15001,R22,IF(X<17501,R23,IF(X<20001,R24,IF(X<25001,R25,IF(X<30001,R26,IF(X<35001,R27,IF(X<40001,R28,IF(X<99999,R29,"N/A")))))))))))))))))))))
As you can see to many equations.
I was thinking of using a VLookup but is there a way to use a "<"
with a VLookup.
Thanks,
Steve
(e-mail address removed)