#1   Report Post  
Posted to microsoft.public.excel.misc
matt4003
 
Posts: n/a
Default Step Ladder Help


Hi All,

I have been struggling with what should be a very simple task, at least
I would think so. Here is what I have. My customer provides me a
rolling 8 week forecast. It looks like this.

Forecast Date|Part|Forecast Week|Quantity
1/1/2006|Part A|Week 1|100
1/1/2006|Part A|Week 2|200
1/1/2006|Part A|Week 3|150
1/1/2006|Part A|Week 4|300
1/1/2006|Part A|Week 5|50
1/1/2006|Part A|Week 6|120
1/1/2006|Part A|Week 7|100
1/1/2006|Part A|Week 8|400
1/8/2006|Part A|Week 2|300
1/8/2006|Part A|Week 3|150
1/8/2006|Part A|Week 4|700
1/8/2006|Part A|Week 5|550
1/8/2006|Part A|Week 6|420
1/8/2006|Part A|Week 7|200
1/8/2006|Part A|Week 8|800
1/8/2006|Part A|Week 9|100

So you can see that the first week is always the closest to the current
date, and every week a new forecast comes out. The problem is, there
are over 900 rows for each 8 week rolling forecast (lots of parts and
ship to locations).

I think the best way to handle this is to use Access Database and query
the data. But I can't seem to get the query right.

I would like to be able to compare the closest week's forecast with the
actual quantity bought. Which means I need to line up the calendar week
of the forecast given date with the calendar week of the forecast week.
I have attached an example.

So you know, I have been using pivot tables for a year now, but the
excel file is 50mb and I am out of rows...so access would be nice.
Plus, once I can get this figured out, I will be able to link it to my
consumption table and generate on the fly reports for management.

Thanks for your help!!!

Matt


+-------------------------------------------------------------------+
|Filename: example.jpg |
|Download: http://www.excelforum.com/attachment.php?postid=4255 |
+-------------------------------------------------------------------+

--
matt4003
------------------------------------------------------------------------
matt4003's Profile: http://www.excelforum.com/member.php...fo&userid=9635
View this thread: http://www.excelforum.com/showthread...hreadid=503756

  #2   Report Post  
Posted to microsoft.public.excel.misc
Tom Ogilvy
 
Posts: n/a
Default Step Ladder Help

If you want to use Access, why post the question in an Excel group?

Go to Access and import the excel sheet into Access.

--
Regards,
Tom Ogilvy




"matt4003" wrote in
message ...

Hi All,

I have been struggling with what should be a very simple task, at least
I would think so. Here is what I have. My customer provides me a
rolling 8 week forecast. It looks like this.

Forecast Date|Part|Forecast Week|Quantity
1/1/2006|Part A|Week 1|100
1/1/2006|Part A|Week 2|200
1/1/2006|Part A|Week 3|150
1/1/2006|Part A|Week 4|300
1/1/2006|Part A|Week 5|50
1/1/2006|Part A|Week 6|120
1/1/2006|Part A|Week 7|100
1/1/2006|Part A|Week 8|400
1/8/2006|Part A|Week 2|300
1/8/2006|Part A|Week 3|150
1/8/2006|Part A|Week 4|700
1/8/2006|Part A|Week 5|550
1/8/2006|Part A|Week 6|420
1/8/2006|Part A|Week 7|200
1/8/2006|Part A|Week 8|800
1/8/2006|Part A|Week 9|100

So you can see that the first week is always the closest to the current
date, and every week a new forecast comes out. The problem is, there
are over 900 rows for each 8 week rolling forecast (lots of parts and
ship to locations).

I think the best way to handle this is to use Access Database and query
the data. But I can't seem to get the query right.

I would like to be able to compare the closest week's forecast with the
actual quantity bought. Which means I need to line up the calendar week
of the forecast given date with the calendar week of the forecast week.
I have attached an example.

So you know, I have been using pivot tables for a year now, but the
excel file is 50mb and I am out of rows...so access would be nice.
Plus, once I can get this figured out, I will be able to link it to my
consumption table and generate on the fly reports for management.

Thanks for your help!!!

Matt


+-------------------------------------------------------------------+
|Filename: example.jpg |
|Download: http://www.excelforum.com/attachment.php?postid=4255 |
+-------------------------------------------------------------------+

--
matt4003
------------------------------------------------------------------------
matt4003's Profile:

http://www.excelforum.com/member.php...fo&userid=9635
View this thread: http://www.excelforum.com/showthread...hreadid=503756



  #3   Report Post  
Posted to microsoft.public.excel.misc
matt4003
 
Posts: n/a
Default Step Ladder Help


Hi Tom,

Thanks for the reply.

I have already imported the data into Access. But the query and
analysis takes place in Excel. Access is just the storage, so it
really isn't an Access Question, it is an Excel based Mircosoft Query
question. Perhaps you're right, an Access Forum maybe better suited
for query questions. I will give it a try.

Regards,
Matt


--
matt4003
------------------------------------------------------------------------
matt4003's Profile: http://www.excelforum.com/member.php...fo&userid=9635
View this thread: http://www.excelforum.com/showthread...hreadid=503756

  #4   Report Post  
Posted to microsoft.public.excel.misc
Bill Martin
 
Posts: n/a
Default Step Ladder Help

Perhaps you're right that Access is the "right" tool to use, but for this small
a problem it's an unnecessary complication IMHO. I do a stock table lookup on a
table with 500-150,000 rows (multiple sheets) stored in a simple Excel XLS file
and it's plenty fast.

I started out doing a simple exhaustive search for the correct data and it would
find it within a few seconds. Since my data is also ordered however, I wrote a
bit of VBA to do a binary search of the data and it finds the correct record
virtually instantaneously now.

Access is overkill for as small a problem as you've described IMHO.

Bill
-----------------------
matt4003 wrote:
Hi All,

I have been struggling with what should be a very simple task, at least
I would think so. Here is what I have. My customer provides me a
rolling 8 week forecast. It looks like this.

Forecast Date|Part|Forecast Week|Quantity
1/1/2006|Part A|Week 1|100
1/1/2006|Part A|Week 2|200
1/1/2006|Part A|Week 3|150
1/1/2006|Part A|Week 4|300
1/1/2006|Part A|Week 5|50
1/1/2006|Part A|Week 6|120
1/1/2006|Part A|Week 7|100
1/1/2006|Part A|Week 8|400
1/8/2006|Part A|Week 2|300
1/8/2006|Part A|Week 3|150
1/8/2006|Part A|Week 4|700
1/8/2006|Part A|Week 5|550
1/8/2006|Part A|Week 6|420
1/8/2006|Part A|Week 7|200
1/8/2006|Part A|Week 8|800
1/8/2006|Part A|Week 9|100

So you can see that the first week is always the closest to the current
date, and every week a new forecast comes out. The problem is, there
are over 900 rows for each 8 week rolling forecast (lots of parts and
ship to locations).

I think the best way to handle this is to use Access Database and query
the data. But I can't seem to get the query right.

I would like to be able to compare the closest week's forecast with the
actual quantity bought. Which means I need to line up the calendar week
of the forecast given date with the calendar week of the forecast week.
I have attached an example.

So you know, I have been using pivot tables for a year now, but the
excel file is 50mb and I am out of rows...so access would be nice.
Plus, once I can get this figured out, I will be able to link it to my
consumption table and generate on the fly reports for management.

Thanks for your help!!!

Matt


+-------------------------------------------------------------------+
|Filename: example.jpg |
|Download: http://www.excelforum.com/attachment.php?postid=4255 |
+-------------------------------------------------------------------+

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
Need step by step for entering data into combobox mandy Excel Discussion (Misc queries) 2 December 7th 05 03:37 PM
Help with a Ladder Zulu Excel Worksheet Functions 9 September 6th 05 09:45 PM
Step value geza Excel Worksheet Functions 2 August 12th 05 06:50 PM
I need step by step instructions to create a macro for 10 imbedde. diana Excel Worksheet Functions 3 January 31st 05 01:56 AM
how do I step thru a macro for troubleshooting ? chrisq Excel Discussion (Misc queries) 1 January 11th 05 07:27 PM


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