Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Locate max value of one column based on criteria in another colum
I have built a summary report in Excel that uses primarily 'SUMIF' formulas
to calculate totals by customer from another sheet in the workbook containing the source data. In one of my report columns, I actually need to pull the MAX value from the source data---but it needs to be specific to each customer in my summary report. (I'm thinking of a "MAXIF" type function) Is there any way I can do this without converting my report to a Pivot Table, which I really don't want to do?? |
#2
|
|||
|
|||
Something like
=MAX(IF(rng1="Customer",rng2)) as an array formula, so commit with Ctrl-SHift-Enter -- HTH RP (remove nothere from the email address if mailing direct) "JDay01" wrote in message ... I have built a summary report in Excel that uses primarily 'SUMIF' formulas to calculate totals by customer from another sheet in the workbook containing the source data. In one of my report columns, I actually need to pull the MAX value from the source data---but it needs to be specific to each customer in my summary report. (I'm thinking of a "MAXIF" type function) Is there any way I can do this without converting my report to a Pivot Table, which I really don't want to do?? |
#3
|
|||
|
|||
Try this, entered with CTRL-Shift-Enter
=MAX(--(C2:C25=cust)*A2:A25) "JDay01" wrote: I have built a summary report in Excel that uses primarily 'SUMIF' formulas to calculate totals by customer from another sheet in the workbook containing the source data. In one of my report columns, I actually need to pull the MAX value from the source data---but it needs to be specific to each customer in my summary report. (I'm thinking of a "MAXIF" type function) Is there any way I can do this without converting my report to a Pivot Table, which I really don't want to do?? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Row filtering based on input box entry (column heading) | Excel Worksheet Functions | |||
match and count words | Excel Worksheet Functions | |||
Format cell in column B based on value in the next cell (column c) | Excel Discussion (Misc queries) | |||
Count cells based on date range in another column | New Users to Excel | |||
Calculating totals in a column based on a lookup in another column | Excel Worksheet Functions |