Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Andy
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Andy
 
Posts: n/a
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
can you use countif function for noncontiguous cells rutledbr Excel Worksheet Functions 2 November 13th 05 09:15 PM
Use TREND function with nonadjacent cells BonesCCS Excel Worksheet Functions 0 August 4th 05 10:59 PM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
Function to look at two cells and return a third jlmam Excel Worksheet Functions 2 January 26th 05 04:41 PM


All times are GMT +1. The time now is 04:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"