Hi Howard!
Two approaches:
Sledgehammer:
=IF(AND(ISBLANK(A6),ISBLANK(B6),ISBLANK(C6),ISBLANK(D6)),1,2)
Not very friendly if you have many blank cells to check!
Array Entered:
=IF(AND(ISBLANK(A6
6)),1,2)
Press and hold down Ctrl + Shift and then press Enter
Appears in cell as:
{=IF(AND(ISBLANK(A6
6)),1,2)}
--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
Howard said:
I have this formula in a cell: =IF(ISBLANK(A6),1,2). It works fine.
If I want a series of cells to be blank, how do I get that to work? I
tried =IF(ISBLANK(AND(A6,B6,C6,D6)),1,2), but that doesn't work.