Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dcozzi
 
Posts: n/a
Default Formula to return a value if any numbers in a group meet a criteri

I have a list of say 10 cells in a column with different values. I have
another cell that has a value in it. I need a formula in a 2nd cell, to tell
me if any of the numbers in the the group of 10 cells is greater. This may be
easier

EX:

TEST NUMBER = A1 = 10
GROUP
A2 = 5
A3 = 5
A4 = 11
A5 = 5

RESULTS CELL = A7 = IF ANY VALUE IN CELLS A2:A5 IS A1, THEN DISPLAY "FAIL"
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Formula to return a value if any numbers in a group meet a criteri

Try something like this:

A7: =IF(MAX(A2:A5)A1,"fail","pass")

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"dcozzi" wrote:

I have a list of say 10 cells in a column with different values. I have
another cell that has a value in it. I need a formula in a 2nd cell, to tell
me if any of the numbers in the the group of 10 cells is greater. This may be
easier

EX:

TEST NUMBER = A1 = 10
GROUP
A2 = 5
A3 = 5
A4 = 11
A5 = 5

RESULTS CELL = A7 = IF ANY VALUE IN CELLS A2:A5 IS A1, THEN DISPLAY "FAIL"

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Formula to return a value if any numbers in a group meet a criteri

=IF(COUNTIF(A2:A5,""&A1)0,"Fail","")

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"dcozzi" wrote in message
...
I have a list of say 10 cells in a column with different values. I have
another cell that has a value in it. I need a formula in a 2nd cell, to

tell
me if any of the numbers in the the group of 10 cells is greater. This may

be
easier

EX:

TEST NUMBER = A1 = 10
GROUP
A2 = 5
A3 = 5
A4 = 11
A5 = 5

RESULTS CELL = A7 = IF ANY VALUE IN CELLS A2:A5 IS A1, THEN DISPLAY

"FAIL"


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dcozzi
 
Posts: n/a
Default Formula to return a value if any numbers in a group meet a cri

Thanks for the help. Both suggestions work.

"Bob Phillips" wrote:

=IF(COUNTIF(A2:A5,""&A1)0,"Fail","")

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"dcozzi" wrote in message
...
I have a list of say 10 cells in a column with different values. I have
another cell that has a value in it. I need a formula in a 2nd cell, to

tell
me if any of the numbers in the the group of 10 cells is greater. This may

be
easier

EX:

TEST NUMBER = A1 = 10
GROUP
A2 = 5
A3 = 5
A4 = 11
A5 = 5

RESULTS CELL = A7 = IF ANY VALUE IN CELLS A2:A5 IS A1, THEN DISPLAY

"FAIL"



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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Match Last Occurrence of two numbers and Return Date Sam via OfficeKB.com Excel Worksheet Functions 6 April 5th 05 12:40 PM
Need help w/ Weight Formula Tom Excel Discussion (Misc queries) 3 March 4th 05 05:23 PM
Need help w/ "Weight Formula" Tom Excel Worksheet Functions 0 March 2nd 05 06:55 PM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 01:46 PM


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

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"