Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Z Z is offline
external usenet poster
 
Posts: 4
Default large function result as reference for offset function

Dears,

I used to use LARGE function to bring the 5 largest deals from another
worksheet (database, same workbook), but I want to bring also the related
cells (same row), so I would be able to show, for instance, company, close,
date and amount.
How can I extract the cell name reference to retrieve it in another cell?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default large function result as reference for offset function

You could use the Index/Match combination.

Col A = Cust
Col B = Addr
Col C = Dollar Amt.
Col D = Date
Col E = SalesPerson

Row1 = Headers

For Cust name:
=INDEX(Sheet2!A2:E100,MATCH(LARGE(Sheet2!C2:C100,1 ),Sheet2!C2:C100,0),1)
Last "1" in the formula is the column number of datalist to return,

SO - Date would be:
=INDEX(Sheet2!A2:E100,MATCH(LARGE(Sheet2!C2:C100,1 ),Sheet2!C2:C100,0),4)

AND - SalesPerson would be:
=INDEX(Sheet2!A2:E100,MATCH(LARGE(Sheet2!C2:C100,1 ),Sheet2!C2:C100,0),5)

Amount is therefo
=LARGE(Sheet2!C2:C100,1)

You would of course change the Large() formula to return the 2nd, 3rd, etc.
largest.

Since you say that you've used Large() before, you're familiar with what
happens with duplicates.


--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"Z" wrote in message
...
Dears,

I used to use LARGE function to bring the 5 largest deals from another
worksheet (database, same workbook), but I want to bring also the related
cells (same row), so I would be able to show, for instance, company,
close,
date and amount.
How can I extract the cell name reference to retrieve it in another cell?



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
XL2002 - OFFSET function and LARGE function Trevor Williams Excel Worksheet Functions 3 March 3rd 08 01:40 PM
Can I use LOOKUP as the reference in OFFSET function? Danni2004 Excel Discussion (Misc queries) 5 June 15th 07 07:15 AM
Dynamic reference in OFFSET function manu Excel Worksheet Functions 1 February 14th 07 01:00 PM
how do i get field name from result of MAX or LARGE function nick Excel Worksheet Functions 4 August 13th 06 06:32 AM
LARGE function file reference Shirley Excel Discussion (Misc queries) 4 July 26th 05 12:23 PM


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