Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have two working formulas and i need to put them both together in one
string. Can anyone please help. i want to display the name of the top seller. The first formula was the orginal and now i have more employees and the 2nd formula does the same thing. All cells referrals need to stay the same. Formula 1: =INDEX(A10:A14,MATCH(MAX(H10:H14),H10:H14,0)) Formula 2: =INDEX(P10:P16,MATCH(MAX(V10:V16),V10:V16,0)) |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try the below version
=IF(ISNA(MATCH(MAX(H10:H14,V10:V16),H10:H14,0)),IN DEX(P10:P16, MATCH(MAX(V10:V16),V10:V16,0)),INDEX(A10:A14, MATCH(MAX(H10:H14),H10:H14,0))) -- Jacob "Frustrated" wrote: I have two working formulas and i need to put them both together in one string. Can anyone please help. i want to display the name of the top seller. The first formula was the orginal and now i have more employees and the 2nd formula does the same thing. All cells referrals need to stay the same. Formula 1: =INDEX(A10:A14,MATCH(MAX(H10:H14),H10:H14,0)) Formula 2: =INDEX(P10:P16,MATCH(MAX(V10:V16),V10:V16,0)) |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You can't combine them because they reference different ranges.
Either consolidate the data to a single contiguous range or... A possibility is to download and install the free add-in Morefunc.xll from http://xcell05.free.fr/morefunc/english/index.htm Alternate download site: http://www.download.com/Morefunc/300...-10423159.html It has a function that will allow you to combine those different ranges into a single range. =INDEX(ARRAY.JOIN(A10:A14,P10:P16),MATCH(MAX(ARRAY .JOIN(H10:H14,V10:V16)),ARRAY.JOIN(H10:H14,V10:V16 ),0)) -- Biff Microsoft Excel MVP "Frustrated" wrote in message ... I have two working formulas and i need to put them both together in one string. Can anyone please help. i want to display the name of the top seller. The first formula was the orginal and now i have more employees and the 2nd formula does the same thing. All cells referrals need to stay the same. Formula 1: =INDEX(A10:A14,MATCH(MAX(H10:H14),H10:H14,0)) Formula 2: =INDEX(P10:P16,MATCH(MAX(V10:V16),V10:V16,0)) |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Improvement...
We can eliminate the ARRAY call within MAX: =INDEX(ARRAY.JOIN(A10:A14,P10:P16),MATCH(MAX(H10:H 14,V10:V16),ARRAY.JOIN(H10:H14,V10:V16),0)) -- Biff Microsoft Excel MVP "T. Valko" wrote in message ... You can't combine them because they reference different ranges. Either consolidate the data to a single contiguous range or... A possibility is to download and install the free add-in Morefunc.xll from http://xcell05.free.fr/morefunc/english/index.htm Alternate download site: http://www.download.com/Morefunc/300...-10423159.html It has a function that will allow you to combine those different ranges into a single range. =INDEX(ARRAY.JOIN(A10:A14,P10:P16),MATCH(MAX(ARRAY .JOIN(H10:H14,V10:V16)),ARRAY.JOIN(H10:H14,V10:V16 ),0)) -- Biff Microsoft Excel MVP "Frustrated" wrote in message ... I have two working formulas and i need to put them both together in one string. Can anyone please help. i want to display the name of the top seller. The first formula was the orginal and now i have more employees and the 2nd formula does the same thing. All cells referrals need to stay the same. Formula 1: =INDEX(A10:A14,MATCH(MAX(H10:H14),H10:H14,0)) Formula 2: =INDEX(P10:P16,MATCH(MAX(V10:V16),V10:V16,0)) |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Dec 23, 12:34*am, Frustrated
wrote: I have two working formulas and i need to put them both together in one string. Can anyone please help. i want to display the name of the top seller. The first formula was the orginal and now i have more employees and the 2nd formula does the same thing. All cells referrals need to stay the same. Formula 1: =INDEX(A10:A14,MATCH(MAX(H10:H14),H10:H14,0)) Formula 2: =INDEX(P10:P16,MATCH(MAX(V10:V16),V10:V16,0)) try this, =IF(MAX(H10:H14)MAX(V10:V16),INDEX(A10:A14,MATCH( MAX (H10:H14),H10:H14,0)),INDEX(P10:P16,MATCH(MAX(V10: V16),V10:V16,0))) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I join two formulas? | Excel Worksheet Functions | |||
Join tables like inner join in Access | Excel Discussion (Misc queries) | |||
Text join formulas working but act as straight text when modified | New Users to Excel | |||
join worksheets | Excel Discussion (Misc queries) | |||
join 2 spreadsheets | Excel Discussion (Misc queries) |