Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default How can i join these two formulas?

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default How can i join these two formulas?

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How can i join these two formulas?

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How can i join these two formulas?

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default How can i join these two formulas?

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
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
How can I join two formulas? Little Researcher Excel Worksheet Functions 1 August 10th 08 11:23 AM
Join tables like inner join in Access ryanp Excel Discussion (Misc queries) 2 July 18th 08 03:35 PM
Text join formulas working but act as straight text when modified akkrug New Users to Excel 3 May 14th 08 02:27 PM
join worksheets Tom H Excel Discussion (Misc queries) 2 October 9th 07 06:27 PM
join 2 spreadsheets Raya Excel Discussion (Misc queries) 2 July 13th 05 11:16 AM


All times are GMT +1. The time now is 07:56 AM.

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"