#1   Report Post  
Benjamin
 
Posts: n/a
Default index / match ?

I have a column that contains sale # and another column that has cust names.

How could I get the highest 10 sale #s for a specific customer?

Is this a place for index / match?

TIA

Ben
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default index / match ?

Sounds like a perfect fit for autofilter

--

Regards,

Peo Sjoblom

"Benjamin" wrote in message
...
I have a column that contains sale # and another column that has cust

names.

How could I get the highest 10 sale #s for a specific customer?

Is this a place for index / match?

TIA

Ben



  #3   Report Post  
Benjamin
 
Posts: n/a
Default index / match ?

I would like to avoid re-arranging the data. I just need to have the highest
sale # to come up in a specific cell based on what customer I want.

"Peo Sjoblom" wrote:

Sounds like a perfect fit for autofilter

--

Regards,

Peo Sjoblom

"Benjamin" wrote in message
...
I have a column that contains sale # and another column that has cust

names.

How could I get the highest 10 sale #s for a specific customer?

Is this a place for index / match?

TIA

Ben




  #5   Report Post  
Benjamin
 
Posts: n/a
Default index / match ?

Really looking for something else... I would like to ave the users simply
input a customer name, and a table to fill below with the last 10 sales info.
If I can get the last 10 sale #, I can fill the table.

"Don Guillett" wrote:

autofilter does not rearrange like sort. If simply filters (hides) out the
undesired cells. Then unfilter to be back exactly like you were. TRY it.

--
Don Guillett
SalesAid Software

"Benjamin" wrote in message
...
I would like to avoid re-arranging the data. I just need to have the

highest
sale # to come up in a specific cell based on what customer I want.

"Peo Sjoblom" wrote:

Sounds like a perfect fit for autofilter

--

Regards,

Peo Sjoblom

"Benjamin" wrote in message
...
I have a column that contains sale # and another column that has cust
names.

How could I get the highest 10 sale #s for a specific customer?

Is this a place for index / match?

TIA

Ben








  #6   Report Post  
DOR
 
Posts: n/a
Default index / match ?

Enter the following formula as an array formula (Shift-Ctl-Enter) in a
cell named Result

=IF(ROW()-ROW(Result)+1COUNTIF(Customer,CustID),"",LARGE((C ustomer=CustID)*Sales,ROW()-ROW(Result)+1))

and copy down for a total of 10 or however many results you want.

Customer is the name of the Customer range in your data, Sales is the
name of the Sales info range and CustID is the cell containing the
entered name.

This should produce a list of the 10 highest values of the Sales info
for the customer, with blanks if the customer has fewer than 10 sales.

HTH

  #7   Report Post  
Benjamin
 
Posts: n/a
Default index / match ?

Thanks for the start.. this is waht I was looking for, but I get circular ref
with this formula. Any help?

TIA

"DOR" wrote:

Enter the following formula as an array formula (Shift-Ctl-Enter) in a
cell named Result

=IF(ROW()-ROW(Result)+1COUNTIF(Customer,CustID),"",LARGE((C ustomer=CustID)*Sales,ROW()-ROW(Result)+1))

and copy down for a total of 10 or however many results you want.

Customer is the name of the Customer range in your data, Sales is the
name of the Sales info range and CustID is the cell containing the
entered name.

This should produce a list of the 10 highest values of the Sales info
for the customer, with blanks if the customer has fewer than 10 sales.

HTH


  #8   Report Post  
DOR
 
Posts: n/a
Default index / match ?

I don't know how you got the circ ref - it worked fine on my test
spreadsheet. Maybe you placed the result formula within the range of
one or more of the other ranges (Customer and Sales) it refers to.
There may be some overlap between your result range and the source
ranges.

Could you post the formula you used, the definitions of the named
ranges, and the location of the result..

  #9   Report Post  
Benjamin
 
Posts: n/a
Default index / match ?

I have tried on sample sheet as well, and get the same error. I must
misunderstand.

{=IF(ROW()-ROW(RESULT)+1COUNTIF(SALE_CUST,E1),"",LARGE((SALE _CUST=E1)*INDEX_ROW,ROW()-ROW(RESULT)+1))}

Where...
RESULT=D2
SALE_CUST=C1:20
INDEX_ROW=A1:20
Cell to enter customer name = E1

TIA

"DOR" wrote:

I don't know how you got the circ ref - it worked fine on my test
spreadsheet. Maybe you placed the result formula within the range of
one or more of the other ranges (Customer and Sales) it refers to.
There may be some overlap between your result range and the source
ranges.

Could you post the formula you used, the definitions of the named
ranges, and the location of the result..


  #10   Report Post  
DOR
 
Posts: n/a
Default index / match ?

I reproduced your formula and definitions, with one exception, in a
blank sheet, and it worked OK. The one exception was that you have E1
in your formula whereas you should have $E$1 to make it absolute; I
used $E$1. However, this alone does not explain the situation unless
there are formulas below E1 that depend on the results in the same rows
in D. The latter would might cause a circular ref as long as you have
E1 rather than $E$1.

What cells are involved in the circ ref?



  #11   Report Post  
DOR
 
Posts: n/a
Default index / match ?

It would also be useful to know if there are any formulas in Sale_Cust
and Index_Row and what they depend on.

I am assuming that Sales_Cust is actually an absolute reference such as
$C$1:$C$20 and not as you show it above; ditto for the other
definitions.

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
Match Index cjjoo Excel Worksheet Functions 3 October 25th 05 09:33 AM
Match or Index Question carl Excel Worksheet Functions 2 October 4th 05 09:11 PM
Match & Index Phyllis B. Excel Worksheet Functions 2 November 27th 04 03:26 PM
Find a match that;s not exact Phyllis Excel Worksheet Functions 0 November 8th 04 08:12 PM
Vlookup, Index & Match Phyllis Excel Worksheet Functions 1 November 8th 04 06:11 PM


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