Scottie31
06-12-2008, 06:12 AM
Is it possible to create a formula with more than 7 If Statements in Excel? If not, what are my options?
Thanks,
Thanks,
|
View Full Version : If statements Scottie31 06-12-2008, 06:12 AM Is it possible to create a formula with more than 7 If Statements in Excel? If not, what are my options? Thanks, boblarson 06-12-2008, 06:22 AM You could create a formula in VBA using a select case statement and return the value to the cell that way. qafself 06-12-2008, 08:23 AM yes it is possible, check out this site http://www.cpearson.com/excel/nested.htm Regards boblarson 06-12-2008, 08:30 AM yes it is possible, check out this site http://www.cpearson.com/excel/nested.htm Regards An interesting solution, although I think for sanity's sake I would probably resort to using a VBA Function with a Select Statement just for the simplicity of maintenance of being able to view everything in its entirety and not get totally confused as to what part is what. But, thanks for a good alternative solution. qafself 06-12-2008, 10:38 AM I agree it's it not pretty - another possible way round could be using a VLOOKUP table but, without knowing the data format, one can't be sure. In general, I find that there's usually a way to avoid huge nested IFs. Regards |