Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Using the IF & MAX function together

I need to have a cell give a name of a person who has the most sales. there
is a column with the names of the people and another with the vales or
totals. I am told I can use the IF and MAX function, but I must use them
several times in the same formula to do this. I can use them separately, but
I don't know how to use them together.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Using the IF & MAX function together

Try this:

A1:A10 = names
B1:B10 = sales figures

To get the name with the highest sales:

=INDEX(A1:A10,MATCH(MAX(B1:B10),B1:B10,0))

--
Biff
Microsoft Excel MVP


"Excellerated" wrote in message
...
I need to have a cell give a name of a person who has the most sales. there
is a column with the names of the people and another with the vales or
totals. I am told I can use the IF and MAX function, but I must use them
several times in the same formula to do this. I can use them separately,
but
I don't know how to use them together.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Using the IF & MAX function together

You're a genius! I think there is a way to do it with just the IF & MAX
functions, but this works great. I am taking a basic Excel class and we
haven't gotten to this part yet in the class and are just doing basic
functions, but this works.

I plugged it into my spreadsheet and it worked great.

Thanks for your help!

"T. Valko" wrote:

Try this:

A1:A10 = names
B1:B10 = sales figures

To get the name with the highest sales:

=INDEX(A1:A10,MATCH(MAX(B1:B10),B1:B10,0))

--
Biff
Microsoft Excel MVP


"Excellerated" wrote in message
...
I need to have a cell give a name of a person who has the most sales. there
is a column with the names of the people and another with the vales or
totals. I am told I can use the IF and MAX function, but I must use them
several times in the same formula to do this. I can use them separately,
but
I don't know how to use them together.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Using the IF & MAX function together

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Excellerated" wrote in message
...
You're a genius! I think there is a way to do it with just the IF & MAX
functions, but this works great. I am taking a basic Excel class and we
haven't gotten to this part yet in the class and are just doing basic
functions, but this works.

I plugged it into my spreadsheet and it worked great.

Thanks for your help!

"T. Valko" wrote:

Try this:

A1:A10 = names
B1:B10 = sales figures

To get the name with the highest sales:

=INDEX(A1:A10,MATCH(MAX(B1:B10),B1:B10,0))

--
Biff
Microsoft Excel MVP


"Excellerated" wrote in message
...
I need to have a cell give a name of a person who has the most sales.
there
is a column with the names of the people and another with the vales or
totals. I am told I can use the IF and MAX function, but I must use
them
several times in the same formula to do this. I can use them
separately,
but
I don't know how to use them together.






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
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Embed a countif function in subtotal function? Stuck at work Excel Worksheet Functions 1 February 14th 06 03:19 AM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
Nested IF Function, Date Comparing, and NetworkDays Function carl Excel Worksheet Functions 2 December 29th 04 09:57 PM


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