Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
John F
 
Posts: n/a
Default If Function: Blank cell and 0 (zero) seem to have same "value"

Excel 2003
Statement in cell E316
=if(D316<0,1,0) - This works fine

I need to change this to include 0 (zero) as true
Changed to =IF(D316=0,1,0)
This does NOT work.

Tried ( on different computer )
=if(D316="",0,1)
This would also be acceptable, since I will have validation on cell D316.
It worked on that computer, NOT on mine

What am I missing.
I use that same statement ( the last one ) elsewhere on my sheets and it works
fine. When copied to E316, it doesn't work.

Help
--
John F. Scholten
  #2   Report Post  
CarlosAntenna
 
Posts: n/a
Default

Have a look at the ISBLANK() function, I think that might be what you're
looking for.

Carlos
"John F" wrote in message
...
Excel 2003
Statement in cell E316
=if(D316<0,1,0) - This works fine

I need to change this to include 0 (zero) as true
Changed to =IF(D316=0,1,0)
This does NOT work.

Tried ( on different computer )
=if(D316="",0,1)
This would also be acceptable, since I will have validation on cell

D316.
It worked on that computer, NOT on mine

What am I missing.
I use that same statement ( the last one ) elsewhere on my sheets and it

works
fine. When copied to E316, it doesn't work.

Help
--
John F. Scholten



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
COPY A CONCATENATE CELL TO BLANK CELL PUTTING IN THE NEXT BLANK C. QUEST41067 Excel Discussion (Misc queries) 1 January 15th 05 09:29 PM
conditional formatting blank cell TREK5200 Excel Discussion (Misc queries) 1 December 6th 04 02:23 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
Make a cell blank? Matthew Leingang Excel Worksheet Functions 1 November 23rd 04 04:54 PM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


All times are GMT +1. The time now is 03:52 PM.

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

About Us

"It's about Microsoft Excel"