Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
cubsfan
 
Posts: n/a
Default Finding a maximum number...with an exception


I am trying to find a maximum number in a row of cells. However, I am
looking in only 5 specific (spaced out) cells. The numbers range from
from 0-6. The twist comes in that each number in the spaced out cells
will only appear if certain criteria is met in certain cells that they
reference.

Just to clarify, here's what I need:
Say #s 1 and 2 are populated and so is # 4, but #3 is not yet
populated, I need a cell to look at all these #s and recognize that
although #4 is the highest, #2 needs to be shown because #3 is not yet
available.

Any help on this would be great. Thanks.


--
cubsfan
------------------------------------------------------------------------
cubsfan's Profile: http://www.excelforum.com/member.php...o&userid=33272
View this thread: http://www.excelforum.com/showthread...hreadid=530933

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Finding a maximum number...with an exception

=MAX(A1:INDEX(A:A,MIN(IF(A1:A5="",ROW(A1:A5)))))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"cubsfan" wrote in
message ...

I am trying to find a maximum number in a row of cells. However, I am
looking in only 5 specific (spaced out) cells. The numbers range from
from 0-6. The twist comes in that each number in the spaced out cells
will only appear if certain criteria is met in certain cells that they
reference.

Just to clarify, here's what I need:
Say #s 1 and 2 are populated and so is # 4, but #3 is not yet
populated, I need a cell to look at all these #s and recognize that
although #4 is the highest, #2 needs to be shown because #3 is not yet
available.

Any help on this would be great. Thanks.


--
cubsfan
------------------------------------------------------------------------
cubsfan's Profile:

http://www.excelforum.com/member.php...o&userid=33272
View this thread: http://www.excelforum.com/showthread...hreadid=530933



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
Finding maximum of various ranges of data thekovinc Excel Discussion (Misc queries) 2 January 23rd 06 08:41 PM
Finding Maximum Roger H. Excel Worksheet Functions 1 January 11th 06 01:29 AM
Finding the maximum of a subset of values on a different sheet rmellison Excel Discussion (Misc queries) 4 December 1st 05 03:56 PM
Finding number of particular days in a period girlfriend in school Excel Worksheet Functions 0 July 13th 05 06:36 PM
finding row number? james Excel Discussion (Misc queries) 3 February 2nd 05 11:56 PM


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