Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Lawrence
 
Posts: n/a
Default LOOK FOR LATEST SELLING PRICE

currently, my boss asked me to look for latest price in a large volumn of
data in excel.

the data is like this...

Product transaction date selling price
A1 5/6/2005 $10
A2 6/6/2005 $11
A1 7/6/2005 $12
A1 8/6/2005 $10.5

Is there any formulas allow to get the A1 latest selling price?

thanks a lot..
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

Entered as an array using the key combo of CTRL,SHIFT,ENTER:

=INDEX(C2:C5,MATCH(1,(A2:A5="A1")*(B2:B5=MAX(IF(A2 :A5="A1",B2:B5))),0))

Biff

"Lawrence" wrote in message
...
currently, my boss asked me to look for latest price in a large volumn of
data in excel.

the data is like this...

Product transaction date selling price
A1 5/6/2005 $10
A2 6/6/2005 $11
A1 7/6/2005 $12
A1 8/6/2005 $10.5

Is there any formulas allow to get the A1 latest selling price?

thanks a lot..



  #3   Report Post  
Biff
 
Posts: n/a
Default

OR -

Also entered as an array:

=VLOOKUP(MAX(IF(A2:A5="A1",B2:B5)),B2:C5,2,0)

Biff

"Biff" wrote in message
...
Hi!

Try this:

Entered as an array using the key combo of CTRL,SHIFT,ENTER:

=INDEX(C2:C5,MATCH(1,(A2:A5="A1")*(B2:B5=MAX(IF(A2 :A5="A1",B2:B5))),0))

Biff

"Lawrence" wrote in message
...
currently, my boss asked me to look for latest price in a large volumn of
data in excel.

the data is like this...

Product transaction date selling price
A1 5/6/2005 $10
A2 6/6/2005 $11
A1 7/6/2005 $12
A1 8/6/2005 $10.5

Is there any formulas allow to get the A1 latest selling price?

thanks a lot..





  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

With E2 housing a product of interest:

1. If the transaction dates per product is an ascending series...

=LOOKUP(2,1/($A$2:$A$5=E2),$C$2:$C$5)

2.

=INDEX($C$2:$C$5,MATCH(MAX(IF($A$2:$A$5=E2,$B$2:$B $5)),$B$2:$B$5,0))

which needs to be confirmed with control+shift+enter.

Lawrence wrote:
currently, my boss asked me to look for latest price in a large volumn of
data in excel.

the data is like this...

Product transaction date selling price
A1 5/6/2005 $10
A2 6/6/2005 $11
A1 7/6/2005 $12
A1 8/6/2005 $10.5

Is there any formulas allow to get the A1 latest selling price?

thanks a lot..

  #5   Report Post  
Lawrence
 
Posts: n/a
Default

Biff,


it doesn't work.. it return #VALUE!.....


Lawrence


"Biff" wrote:

Hi!

Try this:

Entered as an array using the key combo of CTRL,SHIFT,ENTER:

=INDEX(C2:C5,MATCH(1,(A2:A5="A1")*(B2:B5=MAX(IF(A2 :A5="A1",B2:B5))),0))

Biff

"Lawrence" wrote in message
...
currently, my boss asked me to look for latest price in a large volumn of
data in excel.

the data is like this...

Product transaction date selling price
A1 5/6/2005 $10
A2 6/6/2005 $11
A1 7/6/2005 $12
A1 8/6/2005 $10.5

Is there any formulas allow to get the A1 latest selling price?

thanks a lot..






  #6   Report Post  
Lawrence
 
Posts: n/a
Default

Bilf,

Both also work, i forgotten to press key in combo.

can i know what does it function by "key combo of CTRL,SHIFT,ENTER"

beside that, if the product go by thousand of items.. is it i have to press
the combo everytime ?


"Biff" wrote:

OR -

Also entered as an array:

=VLOOKUP(MAX(IF(A2:A5="A1",B2:B5)),B2:C5,2,0)

Biff

"Biff" wrote in message
...
Hi!

Try this:

Entered as an array using the key combo of CTRL,SHIFT,ENTER:

=INDEX(C2:C5,MATCH(1,(A2:A5="A1")*(B2:B5=MAX(IF(A2 :A5="A1",B2:B5))),0))

Biff

"Lawrence" wrote in message
...
currently, my boss asked me to look for latest price in a large volumn of
data in excel.

the data is like this...

Product transaction date selling price
A1 5/6/2005 $10
A2 6/6/2005 $11
A1 7/6/2005 $12
A1 8/6/2005 $10.5

Is there any formulas allow to get the A1 latest selling price?

thanks a lot..






  #7   Report Post  
Biff
 
Posts: n/a
Default

Did you enter the formula as an array?

Type the formula, then instead of hitting the enter key hold down the CTRL
and SHIFT keys then hit ENTER. When done properly Excel will place squiggly
braces { } around the formula. You cannot just type those braces in, you
MUST use the key combination.

Biff

"Lawrence" wrote in message
...
Biff,


it doesn't work.. it return #VALUE!.....


Lawrence


"Biff" wrote:

Hi!

Try this:

Entered as an array using the key combo of CTRL,SHIFT,ENTER:

=INDEX(C2:C5,MATCH(1,(A2:A5="A1")*(B2:B5=MAX(IF(A2 :A5="A1",B2:B5))),0))

Biff

"Lawrence" wrote in message
...
currently, my boss asked me to look for latest price in a large volumn
of
data in excel.

the data is like this...

Product transaction date selling price
A1 5/6/2005 $10
A2 6/6/2005 $11
A1 7/6/2005 $12
A1 8/6/2005 $10.5

Is there any formulas allow to get the A1 latest selling price?

thanks a lot..






  #8   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi Lawrence

Yet another variation for a solution. The non array formula
=SUMPRODUCT(--(A2:A5="A1"),--(B2:B5=MAX(B2:B5)),C2:C5)

Regards

Roger Govier



Lawrence wrote:

currently, my boss asked me to look for latest price in a large volumn of
data in excel.

the data is like this...

Product transaction date selling price
A1 5/6/2005 $10
A2 6/6/2005 $11
A1 7/6/2005 $12
A1 8/6/2005 $10.5

Is there any formulas allow to get the A1 latest selling price?

thanks a lot..


  #9   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi Lawrence

Forget that. It's nonsense.
It works for your sample set of data, but won't work of course if the
latest date isn't on a line with A1.

Regards

Roger Govier



Roger Govier wrote:

Hi Lawrence

Yet another variation for a solution. The non array formula
=SUMPRODUCT(--(A2:A5="A1"),--(B2:B5=MAX(B2:B5)),C2:C5)

Regards

Roger Govier



Lawrence wrote:

currently, my boss asked me to look for latest price in a large
volumn of data in excel.

the data is like this...

Product transaction date selling price
A1 5/6/2005 $10
A2 6/6/2005 $11 A1
7/6/2005 $12
A1 8/6/2005 $10.5

Is there any formulas allow to get the A1 latest selling price?

thanks a lot..


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
Formula for calculating price nander Excel Discussion (Misc queries) 1 August 4th 05 09:19 PM
MSNStockQuote Function Parameters Bobtarrel Excel Worksheet Functions 2 July 17th 05 02:36 PM
Macro's for figuring Price Lists?!? MonteNOS Excel Discussion (Misc queries) 2 April 1st 05 08:34 PM
Product Price List with 14k records, filter w/out using AutoFilter ChrisSeattle Excel Worksheet Functions 1 March 3rd 05 06:46 PM
Computing Sales Tax and Retail Price from a number Lani Jo Excel Worksheet Functions 8 February 16th 05 08:06 PM


All times are GMT +1. The time now is 02:02 PM.

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

About Us

"It's about Microsoft Excel"