LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default max function with conditional statment

assumed data are in Col A : F

From range G1 to L4 put data like this

Day 7 8 9 10
Mon
Tue
Wed

in Cell H2 put this formula =MAX(IF($A$2:$A$10=$G2,B$2:B$10)) ( use
ctrl + shift + enter )

and drag it across and down.



On Dec 3, 12:26*am, SCC wrote:
Is there an equivilant of sumif for finding the maximum value. *Given the
data below I would like to find the peak value for each time of each day. *
The highest number for Monday at 7, 8, etc.

Day * * 7 AM * *8 * * * 9 * * * 10 * * *11
Mon * * 5 * * * 10 * * *23 * * *44 * * *35
Tue * * 1 * * * 9 * * * 18 * * *34 * * *60
Wed * * 9 * * * 25 * * *29 * * *48 * * *50
Mon * * 9 * * * 12 * * *14 * * *16 * * * * * *45
Tue * * 5 * * * 28 * * *30 * * *52 * * *55
Wed * * 9 * * * 25 * * *32 * * *62 * * *77


 
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
Function =IF statment limits SeeStation Excel Discussion (Misc queries) 3 September 26th 08 04:05 AM
Help with If statment pm Excel Discussion (Misc queries) 3 January 29th 08 04:09 PM
If statment Jason Excel Discussion (Misc queries) 3 January 3rd 08 11:39 PM
IF statment/function jeremy via OfficeKB.com Excel Discussion (Misc queries) 3 June 6th 05 09:52 PM
If statment helpdesk genie Excel Worksheet Functions 2 January 12th 05 03:23 AM


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