#1   Report Post  
ROBERT P. SANDOZ
 
Posts: n/a
Default IF function

I am trying to use the IF function to look at a range of cells and return a
true false value if any cell in that range is above certain number. i.e.
=IF(B7:E750000,100,0)
however, it is returning a false value if any of the cells in the range are
false not a true value if any are true, what am I missing? Thanks in advance
for any help.
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Use countif

=IF(COUNTIF(B7:E7,"50000"),100,0)


Regards,


Peo Sjoblom

"ROBERT P. SANDOZ" wrote:

I am trying to use the IF function to look at a range of cells and return a
true false value if any cell in that range is above certain number. i.e.
=IF(B7:E750000,100,0)
however, it is returning a false value if any of the cells in the range are
false not a true value if any are true, what am I missing? Thanks in advance
for any help.

  #3   Report Post  
JulieD
 
Posts: n/a
Default

Hi Robert

If you want true to be returned when any of the four numbers are over 50000
and false to be returned if all of the numbers are 50000 or less try this
formula

=IF(COUNTIF(B7:E7,""&50000)=1,100,0)

Cheers
JulieD

"ROBERT P. SANDOZ" <ROBERT P. wrote in
message ...
I am trying to use the IF function to look at a range of cells and return a
true false value if any cell in that range is above certain number. i.e.
=IF(B7:E750000,100,0)
however, it is returning a false value if any of the cells in the range
are
false not a true value if any are true, what am I missing? Thanks in
advance
for any help.



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
Trim function doesn't clean out ASCII Code 160 (Space) Ronald Dodge Excel Worksheet Functions 6 January 27th 05 03:48 AM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
Find a Function to use accross different worksheets R. Hale Excel Worksheet Functions 3 November 25th 04 07:07 AM
change function variable prompts?? thinkingfield Excel Worksheet Functions 1 November 8th 04 04:01 PM
Counting Function Dilemma Simon Lloyd Excel Worksheet Functions 0 November 8th 04 03:13 PM


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