Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 100
Default Need ideas on which formula(s) to use in this situation

I have a worksheet with a lot of raw data. In one column I have an
identifier, in another I have dates, and in another column I have values.

I need to build a summary table on a new worksheet that will (given a date
and identifier) return the max value. I know MAX will get me the max value
overall, but not limited to just my double match. In the past I've used
things like sumproduct to pull multiple matches, but in this case I don't
want all the values returned, just the max value.

I don't need a polished formula, just some ideas on where to get started.

Thanks!
Keith

ID Date Value
--- ------ -------
A 1/4/06 12
B 1/4/06 8
A 1/4/06 11
D 1/4/06 7
G 1/5/06 14
F 1/1/06 12
A 1/5/06 17
D 1/3/06 8
B 1/4/06 5
V 1/3/06 9

so if I was checking A, 1/4/06 the result would be 12


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Need ideas on which formula(s) to use in this situation

ker_01 wrote:
I have a worksheet with a lot of raw data. In one column I have an
identifier, in another I have dates, and in another column I have values.

I need to build a summary table on a new worksheet that will (given a date
and identifier) return the max value. I know MAX will get me the max value
overall, but not limited to just my double match. In the past I've used
things like sumproduct to pull multiple matches, but in this case I don't
want all the values returned, just the max value.

I don't need a polished formula, just some ideas on where to get started.

Thanks!
Keith

ID Date Value
--- ------ -------
A 1/4/06 12
B 1/4/06 8
A 1/4/06 11
D 1/4/06 7
G 1/5/06 14
F 1/1/06 12
A 1/5/06 17
D 1/3/06 8
B 1/4/06 5
V 1/3/06 9

so if I was checking A, 1/4/06 the result would be 12




You will likely get some formula options, but you might also want to consider a
PivotTable. You can place "Date" in the Page Fields, "ID" in the Row Fields and
"Value" in the Data Items (change from Sum to Max).
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Need ideas on which formula(s) to use in this situation

=MAX(INDEX((A2:A11="A")*(B2:B11=--"1/4/2006")*C2:C11,))


"ker_01" wrote:

I have a worksheet with a lot of raw data. In one column I have an
identifier, in another I have dates, and in another column I have values.

I need to build a summary table on a new worksheet that will (given a date
and identifier) return the max value. I know MAX will get me the max value
overall, but not limited to just my double match. In the past I've used
things like sumproduct to pull multiple matches, but in this case I don't
want all the values returned, just the max value.

I don't need a polished formula, just some ideas on where to get started.

Thanks!
Keith

ID Date Value
--- ------ -------
A 1/4/06 12
B 1/4/06 8
A 1/4/06 11
D 1/4/06 7
G 1/5/06 14
F 1/1/06 12
A 1/5/06 17
D 1/3/06 8
B 1/4/06 5
V 1/3/06 9

so if I was checking A, 1/4/06 the result would be 12



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Need ideas on which formula(s) to use in this situation

=MAX(IF(A2:A20="A",C2:C20))

as an array formula, so commit with Ctrl-Shift-Enter, not just Enter.

--
__________________________________
HTH

Bob

"ker_01" wrote in message
...
I have a worksheet with a lot of raw data. In one column I have an
identifier, in another I have dates, and in another column I have values.

I need to build a summary table on a new worksheet that will (given a date
and identifier) return the max value. I know MAX will get me the max value
overall, but not limited to just my double match. In the past I've used
things like sumproduct to pull multiple matches, but in this case I don't
want all the values returned, just the max value.

I don't need a polished formula, just some ideas on where to get started.

Thanks!
Keith

ID Date Value
--- ------ -------
A 1/4/06 12
B 1/4/06 8
A 1/4/06 11
D 1/4/06 7
G 1/5/06 14
F 1/1/06 12
A 1/5/06 17
D 1/3/06 8
B 1/4/06 5
V 1/3/06 9

so if I was checking A, 1/4/06 the result would be 12




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
Having trouble with my formula ideas today Dallman Ross Excel Discussion (Misc queries) 9 July 29th 07 06:16 PM
Copying Formula Situation Beep Beep Excel Discussion (Misc queries) 2 July 6th 07 11:52 PM
Need formula - Any ideas**** walkerT Excel Discussion (Misc queries) 3 March 13th 07 08:38 PM
ANY IDEAS FOR A FORMULA TO KEEP A TEAM BOWLING SCORE ed Excel Discussion (Misc queries) 1 March 23rd 06 09:43 PM
formula from Excel97 doesn't work in Excel2003,any ideas why? nic Excel Worksheet Functions 6 November 8th 04 04:40 PM


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