#1   Report Post  
Ron
 
Posts: n/a
Default data in cells

I want to look through a range of cells (A1:z1) and if any one of the cells
is not blank I would like to return a 1.

Thanks
Ron
  #2   Report Post  
zackb
 
Posts: n/a
Default

Hi,

How about ...

=IF(COUNTBLANK(A1:Z1),1,0)

--
Regards,
Zack Barresse, aka firefytr

"Ron" wrote in message
...
I want to look through a range of cells (A1:z1) and if any one of the cells
is not blank I would like to return a 1.

Thanks
Ron



  #3   Report Post  
Ron
 
Posts: n/a
Default

Your formula returns a value if any one cell is blank, I need it to return a
vlaue is any on cell is not blank.

"zackb" wrote:

Hi,

How about ...

=IF(COUNTBLANK(A1:Z1),1,0)

--
Regards,
Zack Barresse, aka firefytr

"Ron" wrote in message
...
I want to look through a range of cells (A1:z1) and if any one of the cells
is not blank I would like to return a 1.

Thanks
Ron




  #4   Report Post  
zackb
 
Posts: n/a
Default

Oh, my apologies. Maybe you can try this then ...

=IF(COUNTA(A1:Z1),1,0)

--
Regards,
Zack Barresse, aka firefytr

"Ron" wrote in message
...
Your formula returns a value if any one cell is blank, I need it to return
a
vlaue is any on cell is not blank.

"zackb" wrote:

Hi,

How about ...

=IF(COUNTBLANK(A1:Z1),1,0)

--
Regards,
Zack Barresse, aka firefytr

"Ron" wrote in message
...
I want to look through a range of cells (A1:z1) and if any one of the
cells
is not blank I would like to return a 1.

Thanks
Ron






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
Eliminate empty cells in data range Stephen Excel Discussion (Misc queries) 1 April 2nd 05 04:00 AM
Combining data (numeric format) in multiple cells into one cell (t GNAC SID Excel Discussion (Misc queries) 2 February 7th 05 04:09 PM
How do I copy data (word) into respective cells when the data bei. awg9tech New Users to Excel 1 January 12th 05 11:26 AM
Averaging only cells with data Randy Lefferts Excel Discussion (Misc queries) 9 November 30th 04 08:02 PM
cells lose relativity to other WorkSheets after data sort? Ed Murray - ALPCO Excel Worksheet Functions 1 November 8th 04 07:02 PM


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