Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Help with pulling data based on latest date for a year

The excel file has 4 columns Product, Date, Year (calculated based on the
date), Price.
For some Products price appears more than once in a year.
I need the year wise price breakup for each of the products based on the
latest date of the year. E.g: Product X has prices on dates 1/3/2007 and
3/31/2007 I need the price of 3/31/07. When I try creating a pivot, if there
are more than one price in a year, it gets added up whereas I need the latest
price for that year. How do I pick up the price based on latest data in a year

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Help with pulling data based on latest date for a year

Try this one

product in col A , date in Col B , Year in col C, Price in Col D

In F2 put the name of product which is available in Col A and in G2
put this formula

=INDEX(--MAX((B2:B10)),MATCH(F2,A2:A310,0),0)



On Sep 11, 5:31*am, Satish wrote:
The excel file has 4 columns Product, Date, Year (calculated based on the
date), Price.
For some Products price appears more than once in a year.
I need the year wise price breakup for each of the products based on the
latest date of the year. E.g: Product X has *prices on dates 1/3/2007 and
3/31/2007 I need the price of 3/31/07. When I try creating a pivot, if there
are more than one price in a year, it gets added up whereas I need the latest
price for that year. How do I pick up the price based on latest data in a year


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Help with pulling data based on latest date for a year

Thanks Muddan.
I tried this formula, I am getting #REF error

"muddan madhu" wrote:

Try this one

product in col A , date in Col B , Year in col C, Price in Col D

In F2 put the name of product which is available in Col A and in G2
put this formula

=INDEX(--MAX((B2:B10)),MATCH(F2,A2:A310,0),0)



On Sep 11, 5:31 am, Satish wrote:
The excel file has 4 columns Product, Date, Year (calculated based on the
date), Price.
For some Products price appears more than once in a year.
I need the year wise price breakup for each of the products based on the
latest date of the year. E.g: Product X has prices on dates 1/3/2007 and
3/31/2007 I need the price of 3/31/07. When I try creating a pivot, if there
are more than one price in a year, it gets added up whereas I need the latest
price for that year. How do I pick up the price based on latest data in a year



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
Forecast based on latest 26 weeks data Graham Tritton Excel Worksheet Functions 0 June 11th 08 04:11 AM
Pulling data from a Web based program Kim Kautzmann[_2_] Excel Discussion (Misc queries) 0 March 11th 08 12:53 PM
formula pulling data based on 1 input on another tab. bmo Excel Worksheet Functions 0 October 9th 07 08:22 PM
Pulling a value from another sheet, based on date Carlee Excel Worksheet Functions 0 June 11th 07 09:23 PM
Pulling out data based on font colour terryc Excel Discussion (Misc queries) 1 July 3rd 06 09:51 PM


All times are GMT +1. The time now is 04:41 AM.

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"