Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am needing a function that will look at the following and using 'max & if'
ID the highest salesperson. George $300 Rita $400 Robert $500 It would be somelike this this: =IF(sales for #1=max,"salesperson #1 name",if(sales for #2=max,"salesperson #2 name", if...... but I'm not able to get it to work. Any suggestions? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=OFFSET(person1,MATCH(MAX(sales_data),sales_data,0 )-1,0)
Where person1 is the cell that contains "George" in your example, and sales_data is the range of all sales totals. Jerry "Gary" wrote: I am needing a function that will look at the following and using 'max & if' ID the highest salesperson. George $300 Rita $400 Robert $500 It would be somelike this this: =IF(sales for #1=max,"salesperson #1 name",if(sales for #2=max,"salesperson #2 name", if...... but I'm not able to get it to work. Any suggestions? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=INDEX(A2:A50,MATCH(MAX(B2:B50),B2:B50,0))
replace A2:A50 with the sales people range and B2:B50 with their sales amount -- Regards, Peo Sjoblom "Gary" wrote in message ... I am needing a function that will look at the following and using 'max & if' ID the highest salesperson. George $300 Rita $400 Robert $500 It would be somelike this this: =IF(sales for #1=max,"salesperson #1 name",if(sales for #2=max,"salesperson #2 name", if...... but I'm not able to get it to work. Any suggestions? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Gary
With your data in columns A and B, try =INDEX(A:A,MATCH(MAX(B:B),B:B,0)) -- Regards Roger Govier "Gary" wrote in message ... I am needing a function that will look at the following and using 'max & if' ID the highest salesperson. George $300 Rita $400 Robert $500 It would be somelike this this: =IF(sales for #1=max,"salesperson #1 name",if(sales for #2=max,"salesperson #2 name", if...... but I'm not able to get it to work. Any suggestions? |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you all for ur help, g
"Roger Govier" wrote: Hi Gary With your data in columns A and B, try =INDEX(A:A,MATCH(MAX(B:B),B:B,0)) -- Regards Roger Govier "Gary" wrote in message ... I am needing a function that will look at the following and using 'max & if' ID the highest salesperson. George $300 Rita $400 Robert $500 It would be somelike this this: =IF(sales for #1=max,"salesperson #1 name",if(sales for #2=max,"salesperson #2 name", if...... but I'm not able to get it to work. Any suggestions? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Setup | Excel Discussion (Misc queries) | |||
How to setup a nested if function with 10 levels? | Excel Worksheet Functions | |||
How to setup a hyperlink to an indirect function? | Excel Worksheet Functions | |||
excel: How do I setup a function to put any numbers over 80 into . | Excel Worksheet Functions | |||
setup | Excel Worksheet Functions |