Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Why =if(A2:A4="",1,0) will output #VALUE ?

One way:

=--(COUNTIF(A2:A4,"")0)

alternatively (array-entered: CTRL-SHIFT-ENTER or CMD-RETURN):

=OR(A2:A4="")


Don't know why your formula worked in the past...


In article ,
Pearie wrote:

How to check if there is empty cell in a range by using IF Statement ?

I used to use IF Statement to detect empty cell within a range as EXAMPLE
listed below. It works in the past but suddenly fails and output "#VALUE".
Why ?

BEFORE :
Statement : =IF(A2:A4="",1,0)
When A3 = "Null"
Output : "1"

PRESENT :
Output : "#VALUE"

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
Pivot table "restricted" output mit05 Excel Discussion (Misc queries) 1 February 21st 07 08:29 PM
How Might I "Mail Merge" Data For Multiple .txt File Output? [email protected] Excel Discussion (Misc queries) 3 January 8th 07 05:44 AM
Sudden "0" output on Sumproduct formulas Rachel Excel Discussion (Misc queries) 6 December 12th 06 07:51 PM
bunch of "yes" or "no" entered in row, output 1 if a single yes dan2201 Excel Worksheet Functions 9 September 7th 06 05:05 PM
Insert "-" in text "1234567890" to have a output like this"123-456-7890" Alwyn Excel Discussion (Misc queries) 3 October 25th 05 11:36 PM


All times are GMT +1. The time now is 07:23 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"