#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 92
Default maximum

I have a worksheet with a column that contains customer name and one that has
customer purchases. The customer name may have several lines since there are
multiple purchases. I have the customer list in another worksheet that only
shows each customer one. I have a column that references the sumif of all
transactions of the customer and a column to countif the name matches and I
use these to get the average. I now need to provide the MAX and Min for the
group of customer transactions. I don't know if there is a way to vlookup
the name of the customer with a max function built in or if I should use the
large function. The customer purchases are listed by date of purchase for
the month so they are not grouped together, hence the sumif function. Any
suggestions?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default maximum

See if this works for you (adjust the ranges to fit your needs):

=MAX(IF(A1:A100="Customer 1",B1:B100))

This is an array formula, and should be entered with CTRL-SHIFT-ENTER
instead of just Enter. If done properly, the formula should be enclosed in {
}.

HTH,
Elkar


"Dale" wrote:

I have a worksheet with a column that contains customer name and one that has
customer purchases. The customer name may have several lines since there are
multiple purchases. I have the customer list in another worksheet that only
shows each customer one. I have a column that references the sumif of all
transactions of the customer and a column to countif the name matches and I
use these to get the average. I now need to provide the MAX and Min for the
group of customer transactions. I don't know if there is a way to vlookup
the name of the customer with a max function built in or if I should use the
large function. The customer purchases are listed by date of purchase for
the month so they are not grouped together, hence the sumif function. Any
suggestions?

Thanks

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
Maximum Louisq Excel Worksheet Functions 1 February 13th 07 03:36 PM
Maximum value for interpolation ile Charts and Charting in Excel 4 March 1st 06 12:45 AM
Maximum If Help RFJ Excel Worksheet Functions 1 August 19th 05 02:37 PM
MAXIMUM VALUE Carolan Excel Worksheet Functions 2 June 14th 05 06:05 PM
Specify Maximum Value jcliquidtension Excel Discussion (Misc queries) 2 February 23rd 05 08:43 PM


All times are GMT +1. The time now is 02:57 PM.

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"