PC Review


Reply
Thread Tools Rate Thread

Consolidate, Lookup and Sum from dates to months

 
 
Excelfan
Guest
Posts: n/a
 
      10th Apr 2010
How can I automatically consolidate two new lists from three tables and also
dynamically expand the lists when new items are added. How can I convert the
dates directly from days in table 3 to months in Result A and B?

Table 1
Item Month Forecast
A apr.10 30 000
A mai.10 15 000
A jun.10 12 000
A jul.10 20 000
A aug.10 10 000
A sep.10 8 000
A okt.10 9 000
A nov.10 10 000
A des.10 12 000


Table 2
Item Month Forecast
B apr.10 15 000
B mai.10 5 000
B jun.10 6 000
B jul.10 8 500
B aug.10 6 000
B sep.10 3 000
B okt.10 4 500
B nov.10 4 000
B des.10 6 000


Table 3
Item Date Available
A 01.04.2010 10 000
A 01.04.2010 10 200
B 01.04.2010 9 800
A 15.04.2010 10 500
B 01.05.2010 9 750
B 01.05.2010 10 150
A 01.06.2010 10 200
B 01.07.2010 9 850



Result A
Item Month Forecast Available Acc Div
A apr.10 30 000 30 700 700
A mai.10 15 000 -14 300
A jun.10 12 000 10 200 -16 100
A jul.10 20 000 -36 100
A aug.10 10 000
A sep.10 8 000
A okt.10 9 000
A nov.10 10 000
A des.10 12 000


Result B
Item Month Forecast Available Acc Div
B apr.10 15 000 9800 -5 200
B mai.10 5 000 19900 9 700
B jun.10 6 000 3 700
B jul.10 8 500 9850 5 050
B aug.10 6 000 -6 000
B sep.10 3 000
B okt.10 4 500
B nov.10 4 000
B des.10 6 000


 
Reply With Quote
 
 
 
 
ozgrid.com
Guest
Posts: n/a
 
      10th Apr 2010
Try a PivotTable based off dynamic named ranges.
http://www.ozgrid.com/Excel/excel-pivot-tables.htm
http://www.ozgrid.com/Excel/DynamicRanges.htm



--
Regards
Dave Hawley
www.ozgrid.com
"Excelfan" <(E-Mail Removed)> wrote in message
news:E00E0E55-7481-4549-AA47-(E-Mail Removed)...
> How can I automatically consolidate two new lists from three tables and
> also
> dynamically expand the lists when new items are added. How can I convert
> the
> dates directly from days in table 3 to months in Result A and B?
>
> Table 1
> Item Month Forecast
> A apr.10 30 000
> A mai.10 15 000
> A jun.10 12 000
> A jul.10 20 000
> A aug.10 10 000
> A sep.10 8 000
> A okt.10 9 000
> A nov.10 10 000
> A des.10 12 000
>
>
> Table 2
> Item Month Forecast
> B apr.10 15 000
> B mai.10 5 000
> B jun.10 6 000
> B jul.10 8 500
> B aug.10 6 000
> B sep.10 3 000
> B okt.10 4 500
> B nov.10 4 000
> B des.10 6 000
>
>
> Table 3
> Item Date Available
> A 01.04.2010 10 000
> A 01.04.2010 10 200
> B 01.04.2010 9 800
> A 15.04.2010 10 500
> B 01.05.2010 9 750
> B 01.05.2010 10 150
> A 01.06.2010 10 200
> B 01.07.2010 9 850
>
>
>
> Result A
> Item Month Forecast Available Acc Div
> A apr.10 30 000 30 700 700
> A mai.10 15 000 -14 300
> A jun.10 12 000 10 200 -16 100
> A jul.10 20 000 -36 100
> A aug.10 10 000
> A sep.10 8 000
> A okt.10 9 000
> A nov.10 10 000
> A des.10 12 000
>
>
> Result B
> Item Month Forecast Available Acc Div
> B apr.10 15 000 9800 -5 200
> B mai.10 5 000 19900 9 700
> B jun.10 6 000 3 700
> B jul.10 8 500 9850 5 050
> B aug.10 6 000 -6 000
> B sep.10 3 000
> B okt.10 4 500
> B nov.10 4 000
> B des.10 6 000
>
>


 
Reply With Quote
 
Excelfan
Guest
Posts: n/a
 
      10th Apr 2010
OK, I know about the multiple consolidation possibility and the named range
trick to get a pivot table updated, but I cannot figure out how to
incorporate table 3 with table 1 and 2.




"ozgrid.com" wrote:

> Try a PivotTable based off dynamic named ranges.
> http://www.ozgrid.com/Excel/excel-pivot-tables.htm
> http://www.ozgrid.com/Excel/DynamicRanges.htm
>
>
>
> --
> Regards
> Dave Hawley
> www.ozgrid.com
> "Excelfan" <(E-Mail Removed)> wrote in message
> news:E00E0E55-7481-4549-AA47-(E-Mail Removed)...
> > How can I automatically consolidate two new lists from three tables and
> > also
> > dynamically expand the lists when new items are added. How can I convert
> > the
> > dates directly from days in table 3 to months in Result A and B?
> >
> > Table 1
> > Item Month Forecast
> > A apr.10 30 000
> > A mai.10 15 000
> > A jun.10 12 000
> > A jul.10 20 000
> > A aug.10 10 000
> > A sep.10 8 000
> > A okt.10 9 000
> > A nov.10 10 000
> > A des.10 12 000
> >
> >
> > Table 2
> > Item Month Forecast
> > B apr.10 15 000
> > B mai.10 5 000
> > B jun.10 6 000
> > B jul.10 8 500
> > B aug.10 6 000
> > B sep.10 3 000
> > B okt.10 4 500
> > B nov.10 4 000
> > B des.10 6 000
> >
> >
> > Table 3
> > Item Date Available
> > A 01.04.2010 10 000
> > A 01.04.2010 10 200
> > B 01.04.2010 9 800
> > A 15.04.2010 10 500
> > B 01.05.2010 9 750
> > B 01.05.2010 10 150
> > A 01.06.2010 10 200
> > B 01.07.2010 9 850
> >
> >
> >
> > Result A
> > Item Month Forecast Available Acc Div
> > A apr.10 30 000 30 700 700
> > A mai.10 15 000 -14 300
> > A jun.10 12 000 10 200 -16 100
> > A jul.10 20 000 -36 100
> > A aug.10 10 000
> > A sep.10 8 000
> > A okt.10 9 000
> > A nov.10 10 000
> > A des.10 12 000
> >
> >
> > Result B
> > Item Month Forecast Available Acc Div
> > B apr.10 15 000 9800 -5 200
> > B mai.10 5 000 19900 9 700
> > B jun.10 6 000 3 700
> > B jul.10 8 500 9850 5 050
> > B aug.10 6 000 -6 000
> > B sep.10 3 000
> > B okt.10 4 500
> > B nov.10 4 000
> > B des.10 6 000
> >
> >

>

 
Reply With Quote
 
Herbert Seidenberg
Guest
Posts: n/a
 
      11th Apr 2010
Excel 2007 PivotTable, Tables
Consolidate Tables with macro.
Using real dates, not text.
http://c0718892.cdn.cloudfiles.racks.../04_11_10.xlsm

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Consolidate Item, months and volume Tommy Microsoft Excel Programming 2 11th Apr 2010 12:56 PM
Consolidate and Lookup ciara_daniels@yahoo.com Microsoft Excel Discussion 1 12th Sep 2006 03:52 PM
Adding months to dates should account for 28-30-31 day months =?Utf-8?B?R3JhaGFt?= Microsoft Excel Worksheet Functions 3 1st Feb 2006 12:06 PM
Calculating dates - Need to calculate years and months between source dates. jmw748 Microsoft Access Queries 2 7th Jan 2004 12:31 PM
Dates to months and calculating values for their months jigsaw2 Microsoft Excel Programming 1 5th Sep 2003 01:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:36 AM.