Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MOnewt
 
Posts: n/a
Default How are empty cells referenced in Excel in IF statements?

I am trying to use an IF... function to populate a field if another field is
not empty. The "" empty, or null expression is not valid (A3="",...).
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bearacade
 
Posts: n/a
Default How are empty cells referenced in Excel in IF statements?


=IF(ISBLANK(A3), "A3 is Empty", "A3 is NOT empty")


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=551166

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default How are empty cells referenced in Excel in IF statements?

Hi!

Try something like this:

=IF(LEN(A3)0,............................

Biff

"MOnewt" wrote in message
...
I am trying to use an IF... function to populate a field if another field
is
not empty. The "" empty, or null expression is not valid (A3="",...).



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pdberger
 
Posts: n/a
Default How are empty cells referenced in Excel in IF statements?

Mo:

This works in Excel 2003:

=IF(A3<"","Empty","Full")

HTH

"MOnewt" wrote:

I am trying to use an IF... function to populate a field if another field is
not empty. The "" empty, or null expression is not valid (A3="",...).

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chip Pearson
 
Posts: n/a
Default How are empty cells referenced in Excel in IF statements?

You've got it backwards. It should be
=IF(A3="","Empty","Full")


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"pdberger" wrote in message
...
Mo:

This works in Excel 2003:

=IF(A3<"","Empty","Full")

HTH

"MOnewt" wrote:

I am trying to use an IF... function to populate a field if
another field is
not empty. The "" empty, or null expression is not valid
(A3="",...).





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme
 
Posts: n/a
Default How are empty cells referenced in Excel in IF statements?

=IF(ISBLANK(A1), "do this", "else do that")
But beware of functions that display nothing!
An experiment:
In A1 enter value 10
In B 1 enter formula =IF(A15," ","X") - a space is displayed
In C1 enter formula =IF(ISBLANK(B1),"blank","not blank")
In D1 enter formula =IF(B1=" ","blank","not blank")
Then try with =IF(A15,"","X") - a null is displayed
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"MOnewt" wrote in message
...
I am trying to use an IF... function to populate a field if another field
is
not empty. The "" empty, or null expression is not valid (A3="",...).



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
kassie
 
Posts: n/a
Default How are empty cells referenced in Excel in IF statements?

Do not really make out what your problem is. If you want to do something
only if a specific cell is not empty, you should use <"", and not ="".
+IF(A3<"",A3*C3,"") means IF A3 is not equal to nothing - iow contains a
value - THEN multiply A3 with C3, ELSE leave blank. Be careful though. A
space is <"". Text is <"", and a number is < "". If you want A3 to
contain a numeric value as critria, but it contains a 0 or alfa character,
you will get an #N/A result.

"MOnewt" wrote:

I am trying to use an IF... function to populate a field if another field is
not empty. The "" empty, or null expression is not valid (A3="",...).

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
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Excel - Autom. Filter "Empty / Non Empty cells" should come first Rom Excel Discussion (Misc queries) 0 August 10th 05 04:32 PM
Cells User Select Locked after upgrade to Excel 2002 TWilson Excel Discussion (Misc queries) 1 August 5th 05 12:22 PM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 0 April 7th 05 12:47 AM
How to make empty cells as zero in excel add-ins for SQL Server an Microlong Excel Worksheet Functions 0 January 12th 05 06:31 AM


All times are GMT +1. The time now is 11:33 PM.

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"