Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Pull recent pricing data from table

Have a pricing ordeal:

Prices are organized as follows on data tab:

Date Min Max Price
1/25/04 5 9 11.50
1/25/04 10 24 9.85
1/25/04 25 99 6.50
6/16/06 5 9 13.80
6/16/06 10 24 11.00
6/16/06 25 99 8.50
6/16/06 100 249 6.35


Am looking to create a table on a price tab, populating the most recent
dates and
all 4 price breaks(and the figure from the min column which can
change).

Result would be on price tab:

Date Qty Price
6/16/06 5 13.80
6/16/06 10 11.00
6/16/06 25 8.50
6/16/06 100 6.35

Note: Dates in the data tab are grouped in chronological order
by date, and ascending by quantity.


TIA for your interest and help.

Pierre

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Pull recent pricing data from table

I placed the "new" table in columns F to H on the same sheet and used the
following, starting in row 2:

F2: =LARGE($A$2:$A$8,1)
G2: =INDEX($B$2:$D$8,MATCH($F$2,$A$2:$A$8,0)+ROW()-2,1)
H2: =INDEX($B$2:$D$8,MATCH($F$2,$A$2:$A$8,0)+ROW()-2,3)

Copy down to F5

HTH


"Pierre" wrote:

Have a pricing ordeal:

Prices are organized as follows on data tab:

Date Min Max Price
1/25/04 5 9 11.50
1/25/04 10 24 9.85
1/25/04 25 99 6.50
6/16/06 5 9 13.80
6/16/06 10 24 11.00
6/16/06 25 99 8.50
6/16/06 100 249 6.35


Am looking to create a table on a price tab, populating the most recent
dates and
all 4 price breaks(and the figure from the min column which can
change).

Result would be on price tab:

Date Qty Price
6/16/06 5 13.80
6/16/06 10 11.00
6/16/06 25 8.50
6/16/06 100 6.35

Note: Dates in the data tab are grouped in chronological order
by date, and ascending by quantity.


TIA for your interest and help.

Pierre


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Pull recent pricing data from table

This might suffice for what you have as set-up, and in mind ..

Assume source table in sheet: Data,
cols A to D, data from row2 down

In the sheet: Price,
assume you have the same col headers in A1:D1

Put in E2: =IF(Data!$A$2="","",Data!A2-ROW()/10^10)
Copy E2 down as far as required to cover the max expected extent of source
dates (col A in Data). Eg: copy down to E1000 if source dates could populate
to that extent in Data.
(Leave E1 empty)

Then just place in A2:
=INDEX(Data!A:A,MATCH(LARGE($E:$E,ROW(A1)),$E:$E,0 ))
Copy A2 to D2, fill down 4 rows to return the required results
Format col A as date
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Pierre" wrote:
Have a pricing ordeal:

Prices are organized as follows on data tab:

Date Min Max Price
1/25/04 5 9 11.50
1/25/04 10 24 9.85
1/25/04 25 99 6.50
6/16/06 5 9 13.80
6/16/06 10 24 11.00
6/16/06 25 99 8.50
6/16/06 100 249 6.35


Am looking to create a table on a price tab, populating the most recent
dates and
all 4 price breaks(and the figure from the min column which can
change).

Result would be on price tab:

Date Qty Price
6/16/06 5 13.80
6/16/06 10 11.00
6/16/06 25 8.50
6/16/06 100 6.35

Note: Dates in the data tab are grouped in chronological order
by date, and ascending by quantity.


TIA for your interest and help.

Pierre


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Pull recent pricing data from table

Just hide away the criteria col E if desired, for a neater look
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Pull recent pricing data from table


Hi,

I am not too sure how exactly you want your spreadsheet to look like
but I hope this is what you have in mind... :)

hope it helps


+-------------------------------------------------------------------+
|Filename: recent price.zip |
|Download: http://www.excelforum.com/attachment.php?postid=5118 |
+-------------------------------------------------------------------+

--
teelim


------------------------------------------------------------------------
teelim's Profile: http://www.excelforum.com/member.php...o&userid=36856
View this thread: http://www.excelforum.com/showthread...hreadid=565607



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Pull recent pricing data from table


teelim wrote:
Hi,

I am not too sure how exactly you want your spreadsheet to look like
but I hope this is what you have in mind... :)

hope it helps


+-------------------------------------------------------------------+
|Filename: recent price.zip |
|Download: http://www.excelforum.com/attachment.php?postid=5118 |
+-------------------------------------------------------------------+

--
teelim



Thanks to those of you who have replied. Am working on the 3 solutions
for the best fit. Thanks again.

Pierre

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Pull recent pricing data from table

"Pierre" wrote:
Thanks to those of you who have replied.
Am working on the 3 solutions for the best fit. Thanks again.


Pierre, thanks for the interim call-back.
Do drop us a line here which options worked for you,
and your preference/why. It doesn't matter if it isn't mine.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Pull recent pricing data from table


Max wrote:
"Pierre" wrote:
Thanks to those of you who have replied.
Am working on the 3 solutions for the best fit. Thanks again.


Pierre, thanks for the interim call-back.
Do drop us a line here which options worked for you,
and your preference/why. It doesn't matter if it isn't mine.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


Max, had collaborated and this is what we came up with:

=LARGE(Data!A:A,1) located in I21

=INDEX(Data!$E:$I,MATCH($I21,Data!$A:$A,0)+ROW()-ROW(),1)

=INDEX(Data!$E:$I,MATCH($I21,Data!$A:$A,0)+ROW()-ROW(),4) (4 columns
over)

Did the trick. Thanks to all.

Pierre

  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Pull recent pricing data from table

"Pierre" wrote:
Max, had collaborated and this is what we came up with:
=LARGE(Data!A:A,1) located in I21
=INDEX(Data!$E:$I,MATCH($I21,Data!$A:$A,0)+ROW()-ROW(),1)
=INDEX(Data!$E:$I,MATCH($I21,Data!$A:$A,0)+ROW()-ROW(),4) (4 columns
over)
Did the trick. Thanks to all.


Glad you got a solution up & running
Thanks for posting back ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
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
Pull pivot table data Dave Excel Discussion (Misc queries) 1 May 20th 06 01:01 AM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Change Data In Pivot Table John Calder New Users to Excel 1 July 7th 05 10:41 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Data Table - does it work with DDE links and Stock Tickers? Post Tenebras Lux Excel Worksheet Functions 0 December 1st 04 05:17 PM


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