Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Find if any cell in range is above Zero

Hi,

I have a list of data in a named range called "List". In its simplest
form the data would be cell A1:A10 that may have either a 1 or a 0
entered.

Could somebody advise how I would create a conditional formula in say
cell C1 which will tell me if any of the cells in "List" are not equal
to Zero. Something like
=if(anyValueinRange"List"<0,"NotAllZero","AllZero ")

Thanks in advance

Paul

  #2   Report Post  
Posted to microsoft.public.excel.misc
Ardus Petus
 
Posts: n/a
Default Find if any cell in range is above Zero

=IF(COUNTIF(liste,"<0")=0,"AllZero","NotAllZero")

HTH
--
AP

a écrit dans le message de
oups.com...
Hi,

I have a list of data in a named range called "List". In its simplest
form the data would be cell A1:A10 that may have either a 1 or a 0
entered.

Could somebody advise how I would create a conditional formula in say
cell C1 which will tell me if any of the cells in "List" are not equal
to Zero. Something like
=if(anyValueinRange"List"<0,"NotAllZero","AllZero ")

Thanks in advance

Paul



  #3   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default Find if any cell in range is above Zero

Blanks will NOT be counted as zeros:

=IF(COUNTIF(List,0)<ROWS(List),"not all zeros","all zeros")

HTH

" wrote:

Hi,

I have a list of data in a named range called "List". In its simplest
form the data would be cell A1:A10 that may have either a 1 or a 0
entered.

Could somebody advise how I would create a conditional formula in say
cell C1 which will tell me if any of the cells in "List" are not equal
to Zero. Something like
=if(anyValueinRange"List"<0,"NotAllZero","AllZero ")

Thanks in advance

Paul


  #4   Report Post  
Posted to microsoft.public.excel.misc
carno
 
Posts: n/a
Default Find if any cell in range is above Zero


if(sum(list)0,NotAllZero,AllZero)

Since cells contain only 0 or 1


--
carno
------------------------------------------------------------------------
carno's Profile: http://www.excelforum.com/member.php...o&userid=33633
View this thread: http://www.excelforum.com/showthread...hreadid=534065

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
Search range of cells, find a value, output adjoining cell. How? nyys Excel Worksheet Functions 3 January 5th 06 01:48 PM
Find last occurance of text in range farutherford Excel Worksheet Functions 5 August 30th 05 02:00 AM
copying cell names Al Excel Discussion (Misc queries) 12 August 11th 05 03:01 PM
macro help thephoenix12 Excel Discussion (Misc queries) 4 July 15th 05 05:57 PM
find the cell above any number in any range steve alcock Excel Worksheet Functions 12 May 27th 05 05:48 AM


All times are GMT +1. The time now is 12:10 AM.

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"