A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Index & Match



 
 
Thread Tools Display Modes
  #1  
Old April 7th, 2005, 09:17 PM
GolfGal
external usenet poster
 
Posts: n/a
Default Index & Match

From reading here, it appears that Index & Match are the function I need, but
I can't seem to get it to do what I need.

Let's say I receive a price list from a wholesaler each morning (cannot be
sorted). The same products may not necessarily be in the same rows each day,
depending on availability. Simple example:

DAYS Disc PRICE PRODUCT
30 5% 19.99 Pants
60 10% 24.99 Shirt
90 20% 64.99 Dress
30 5% 32.99 Pants
60 10% 18.99 Shirt
90 20% 84.99 Dress
30 5% 29.99 Pants
60 10% 9.99 Shirt
90 20% 29.99 Dress

Here is what I'd like the function to do:

Find single product, e.g. pants in column d
Find only pants that I can buy at that price for 60 days (colA) This
would refer to another cell on my worksheet named "days"
From that list of pants that I can buy at that price for a certain number of
days, Find only pants that offer a certain discount , e.g. 20%
This would also refer to another cell on my worksheet named "discount"
Finally, the result of the formula needs to be the price of these pants that
I can buy for 60 days at a 20% discount.

Is it possible for an excel function/formula to do this?

Thanks





  #2  
Old April 8th, 2005, 01:55 AM
Bernie Deitrick
external usenet poster
 
Posts: n/a
Default

Golf Gal,

You can use a formula like

=SUMPRODUCT((D210="Pants")*(A2:A10=days)*(B2:B10 =discount)*(C2:C10))

but that would require that there be only one netry of pants for x days at y
discount. In your example table, you have 3 entries for pants at 30 days at
a 5% discount, which would cause this to return the sum of all three of
those prices.

HTH,
Bernie
MS Excel MVP


"GolfGal" wrote in message
...
From reading here, it appears that Index & Match are the function I need,
but
I can't seem to get it to do what I need.

Let's say I receive a price list from a wholesaler each morning (cannot be
sorted). The same products may not necessarily be in the same rows each
day,
depending on availability. Simple example:

DAYS Disc PRICE PRODUCT
30 5% 19.99 Pants
60 10% 24.99 Shirt
90 20% 64.99 Dress
30 5% 32.99 Pants
60 10% 18.99 Shirt
90 20% 84.99 Dress
30 5% 29.99 Pants
60 10% 9.99 Shirt
90 20% 29.99 Dress

Here is what I'd like the function to do:

Find single product, e.g. pants in column d
Find only pants that I can buy at that price for 60 days (colA) This
would refer to another cell on my worksheet named "days"
From that list of pants that I can buy at that price for a certain number
of
days, Find only pants that offer a certain discount , e.g. 20%
This would also refer to another cell on my worksheet named "discount"
Finally, the result of the formula needs to be the price of these pants
that
I can buy for 60 days at a 20% discount.

Is it possible for an excel function/formula to do this?

Thanks







  #3  
Old April 8th, 2005, 02:15 AM
GolfGal
external usenet poster
 
Posts: n/a
Default

Thanks for the response.

I'm not trying to add anything up. I'm just trying to get it to lookup and
enter the value. I would just need it to lookup.

It would be similar to applying the auto filter and selecting only 'pants'.
Then applying the 'days' filter and showing only pants listed in the 60 day
column. Again select only the pants w/ the right discount, would narrow it
down to only a few, all at different prices, from which I could then select
only the price I want.

However, doing this auto filter process separately for thousands of items
would take all day.

Does that make my question any clearer? Or did I throw in more mud???


"Bernie Deitrick" wrote:

Golf Gal,

You can use a formula like

=SUMPRODUCT((D210="Pants")*(A2:A10=days)*(B2:B10 =discount)*(C2:C10))

but that would require that there be only one netry of pants for x days at y
discount. In your example table, you have 3 entries for pants at 30 days at
a 5% discount, which would cause this to return the sum of all three of
those prices.

HTH,
Bernie
MS Excel MVP


"GolfGal" wrote in message
...
From reading here, it appears that Index & Match are the function I need,
but
I can't seem to get it to do what I need.

Let's say I receive a price list from a wholesaler each morning (cannot be
sorted). The same products may not necessarily be in the same rows each
day,
depending on availability. Simple example:

DAYS Disc PRICE PRODUCT
30 5% 19.99 Pants
60 10% 24.99 Shirt
90 20% 64.99 Dress
30 5% 32.99 Pants
60 10% 18.99 Shirt
90 20% 84.99 Dress
30 5% 29.99 Pants
60 10% 9.99 Shirt
90 20% 29.99 Dress

Here is what I'd like the function to do:

Find single product, e.g. pants in column d
Find only pants that I can buy at that price for 60 days (colA) This
would refer to another cell on my worksheet named "days"
From that list of pants that I can buy at that price for a certain number
of
days, Find only pants that offer a certain discount , e.g. 20%
This would also refer to another cell on my worksheet named "discount"
Finally, the result of the formula needs to be the price of these pants
that
I can buy for 60 days at a 20% discount.

Is it possible for an excel function/formula to do this?

Thanks








 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Match & Index Phyllis B. Worksheet Functions 2 November 27th, 2004 03:26 PM
INDEX & MATCH formula problem securityman Worksheet Functions 5 September 6th, 2004 04:25 AM
match index error Marty Worksheet Functions 1 July 9th, 2004 09:42 PM
Match & Index Combined Row & Multiple extractions Ronald Cayne Worksheet Functions 7 June 25th, 2004 03:33 AM
Index Match problem Leo Heuser Worksheet Functions 6 October 29th, 2003 07:51 AM


All times are GMT +1. The time now is 01:32 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.