Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tetsuya Oguma
 
Posts: n/a
Default How can I check if any of the entires is True in a range?

Hi all,

A simple question.

1. I want to check if any cell in A1:A5 shows TRUE. What is a formula that
returns TRUE for that and FALSE if every cell in the range is FALSE?

2. I derive the starting and ending cells for the range in text (.e.g, "A1"
and "A5" via ADDRESS function). How can I convert it to a range with a
function? Using INDIRECT and concatenate them with ":" in it as parameter?

Thanks in advance.
---
Tetsuya
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default How can I check if any of the entires is True in a range?

=COUNTIF(A1:A5,TRUE)0

=SUM(INDIRECT(ADDRESS(1,1)&":"&ADDRESS(5,1)))

--

Regards,

Peo Sjoblom

Northwest Excel Solutions

www.nwexcelsolutions.com

(remove ^^ from email address)

Portland, Oregon




"Tetsuya Oguma" wrote in message
...
Hi all,

A simple question.

1. I want to check if any cell in A1:A5 shows TRUE. What is a formula that
returns TRUE for that and FALSE if every cell in the range is FALSE?

2. I derive the starting and ending cells for the range in text (.e.g,
"A1"
and "A5" via ADDRESS function). How can I convert it to a range with a
function? Using INDIRECT and concatenate them with ":" in it as parameter?

Thanks in advance.
---
Tetsuya


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
Material Condition formula mikebispham Excel Discussion (Misc queries) 9 February 5th 06 09:14 PM
Macros and Toolbars Bec Excel Discussion (Misc queries) 7 January 23rd 06 02:54 PM
check occurrence of items in a range Jack Sons Excel Worksheet Functions 9 February 21st 05 08:37 AM
check occurrence of items in a range Jack Sons Excel Discussion (Misc queries) 3 February 17th 05 11:50 PM
How can I check if data in external data range is changed after re Ruud Excel Discussion (Misc queries) 0 January 7th 05 12:07 PM


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