I am trying to combine 2 IFs statement together to get 1 IF.
The reason I need 2 IFs is cos excel only allows a max number of nested IFs in one cell.
Does anyone know the solution? Or is there a better way of doing it?
I am trying to combine 2 IFs statement together to get 1 IF.
The reason I need 2 IFs is cos excel only allows a max number of nested IFs in one cell.
Does anyone know the solution? Or is there a better way of doing it?
Hi,
XL versions prior to 2007 allow 7 embedded IF's.2007 much more
Please add a small sample of your data and what you are trying to achieve
(If you use the forum's search function on "embedded ifs" you'll find lots of answers)
Your formula won't work because everything will be 1.
If you enter i.e. 5 he will look first IF statement (is 5>1, TRUE-> result is 1).
Maybe you want:
=ROUNDDOWN(B1;0)
or this =MIN(7;ROUNDDOWN(B1;0))
(replace ; with , if needed)
Never use Merged Cells in Excel
For second example you might want to consider this formula:
=LOOKUP(B2;{7;8;9;10;11;12};{1;2;3;4;5;6})
Combination of all, as I get it right, is slightly different:
=IF(B1>13;7;ROUNDDOWN(MOD(B3-1;6)+1;0))
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks