Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If Function for BLANK cells
I have two columns, one of which row by row, may have blank cells in and
other may have data. I need to create a function in C1 to say IF A1 is NULL AND B1 is NOT NULL, then return a character. Probably some combination of If and AND statements, but can't get it to work. Help greatly appreciated as ever. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If Function for BLANK cells
=IF(AND(A1="",B1<""),"x","")
-- Gary''s Student "Andy" wrote: I have two columns, one of which row by row, may have blank cells in and other may have data. I need to create a function in C1 to say IF A1 is NULL AND B1 is NOT NULL, then return a character. Probably some combination of If and AND statements, but can't get it to work. Help greatly appreciated as ever. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If Function for BLANK cells
Hi Andy
=IF(AND(A1="",B1<""),"whatever_you_want","") -- Regards Roger Govier "Andy" wrote in message ... I have two columns, one of which row by row, may have blank cells in and other may have data. I need to create a function in C1 to say IF A1 is NULL AND B1 is NOT NULL, then return a character. Probably some combination of If and AND statements, but can't get it to work. Help greatly appreciated as ever. |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
If Function for BLANK cells
Spot on. Cheers everyone!
"Roger Govier" wrote: Hi Andy =IF(AND(A1="",B1<""),"whatever_you_want","") -- Regards Roger Govier "Andy" wrote in message ... I have two columns, one of which row by row, may have blank cells in and other may have data. I need to create a function in C1 to say IF A1 is NULL AND B1 is NOT NULL, then return a character. Probably some combination of If and AND statements, but can't get it to work. Help greatly appreciated as ever. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
can you use countif function for noncontiguous cells | Excel Worksheet Functions | |||
Use TREND function with nonadjacent cells | Excel Worksheet Functions | |||
Excel option to store trendline's coefficients in cells for use | Charts and Charting in Excel | |||
Automatically up date time in a cell | Excel Discussion (Misc queries) | |||
Function to look at two cells and return a third | Excel Worksheet Functions |