What can I use Instead of Using "14" if functions?

J

jcheko

this is the formula I was trying to come up with....didn't work...I think to
many if functions....what I am trying to do is for the cell to identify the
size of the pipe and adding the wall thickness...for calculating the an
excavation operation. any help...in anticipation thanks.

=if(I263=12,K263+.1875,if(I263=18,K263+.2083,if=I263=24,K263+.25,if(I263=27,K263+.3333,if(I263=30,K263+.325,if(I263=36,K263+.3875,if(I263=42,K263+.3975,if(I263=48,K263+.4441,if(I263=54,K263+.4583,if(I263=60,K263+.5,if(I263=66,K263+.6041,if(I263=72,K263+.5833,if(I263=84,K263+.7291,if(I263=96,K263+.8125,"CHECK
PIPE SIZE")))))))))))))
 
P

Per Jessen

Hi

I would use VLOOKUP to find the wall thickness:

Set up at table with Pipe size in A3 and down. In column B enter
corresponding wall thickness.

Then use this formula (change B7 to last cell in the new table):

=IF(ISNA(VLOOKUP(I262,A3:B7,2;FALSE)),"CHECK PIPE SIZE",VLOOKUP
(I263,A3:B7,2,FALSE)+K263)

Regards,
Per
 
D

David Biddulph

Apart from the fact that VLOOKUP would be a better bet, your formula won't
work because you've got an equals sign instead of a bracket after IF.
 
Top