Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
RV RV is offline
external usenet poster
 
Posts: 11
Default Finding Time that Max Occured

The following table represents times (first two rows) and amounts (next 2
rows). I am trying to find the time that the max amount occured (ex. 201
occured first at 1:15). I am trying to determine by using a formula to the
right of the data table. What formula could I use to make this happen?

Date/Time 0:15 0:30 0:45 1:00 1:15 1:30 1:45 2:00 2:15 2:30 2:45 3:00
1/1/2005 196 198 196 199 201 201 199 143 82 70 62 65

--
RV
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Finding Time that Max Occured

Try something like this:

With your data in cells A1:M2

N2: =LOOKUP(MAX(B2:M2),B2:M2,$B$1:$M$1)
(formatted as Time)

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"RV" wrote:

The following table represents times (first two rows) and amounts (next 2
rows). I am trying to find the time that the max amount occured (ex. 201
occured first at 1:15). I am trying to determine by using a formula to the
right of the data table. What formula could I use to make this happen?

Date/Time 0:15 0:30 0:45 1:00 1:15 1:30 1:45 2:00 2:15 2:30 2:45 3:00
1/1/2005 196 198 196 199 201 201 199 143 82 70 62 65

--
RV

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 459
Default Finding Time that Max Occured

RV wrote:
The following table represents times (first two rows) and amounts
(next 2 rows). I am trying to find the time that the max amount
occured (ex. 201 occured first at 1:15). I am trying to determine by
using a formula to the right of the data table. What formula could I
use to make this happen?

Date/Time 0:15 0:30 0:45 1:00 1:15 1:30 1:45 2:00 2:15 2:30 2:45 3:00
1/1/2005 196 198 196 199 201 201 199 143 82 70 62 65


Hi RV,

try with this:

=INDEX($B$1:$M$2,1,MATCH(MAX($B$2:$M$2),$B$2:$M$2, 0))

you have to format as Time the cell in which you insert the formula (menu
Format, Cells, tab Numbers, category Time).

--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Finding Time that Max Occured

Actually, the formula I posted has some issues in certain circumstances...

This one overcomes them. It returns the time of the first instance of the
maximum:
N2: =INDEX($B$1:$M$1,1,MATCH(MAX(B2:M2),B2:M2,0))

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Ron Coderre" wrote:

Try something like this:

With your data in cells A1:M2

N2: =LOOKUP(MAX(B2:M2),B2:M2,$B$1:$M$1)
(formatted as Time)

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"RV" wrote:

The following table represents times (first two rows) and amounts (next 2
rows). I am trying to find the time that the max amount occured (ex. 201
occured first at 1:15). I am trying to determine by using a formula to the
right of the data table. What formula could I use to make this happen?

Date/Time 0:15 0:30 0:45 1:00 1:15 1:30 1:45 2:00 2:15 2:30 2:45 3:00
1/1/2005 196 198 196 199 201 201 199 143 82 70 62 65

--
RV

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 File Creation Time bassoonboy Excel Discussion (Misc queries) 0 July 17th 06 03:44 PM
formula to determine time range overlap? William DeLeo Excel Discussion (Misc queries) 0 June 6th 06 08:26 PM
Hot key for time? Dave in Des Moines New Users to Excel 2 March 24th 06 04:31 PM
Hot key for time? Dave in Des Moines Excel Worksheet Functions 2 March 24th 06 04:15 PM
time sheet drop down lists Steve Excel Discussion (Misc queries) 12 March 18th 06 10:30 PM


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