Salman1988
New Member
- Joined
- May 16, 2012
- Messages
- 20
Hey Guys,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com
ffice
ffice" /><o
></o
>
After a great help with the first post, I am back for some more
hope you can help me out like the first time.
I hope I have the correct term in English. I am looking for a Macro for making a "Pace List".. its a bit like this
"http://www.google.nl/imgres?um=1&hl=nl&sa=N&biw=1366&bih=611&tbm=isch&tbnid=gaBsxYfOArhpEM:&imgrefurl=http://recruitmentmatters.nl/2009/06/16/rectificatie-prijsstijging-nuwerk-is-maar-17/&docid=I3fAlVB1qHQa4M&imgurl=http://recruitmentmatters.nl/wp-content/uploads/2009/06/image76.png&w=640&h=358&ei=Wf60T-jMEIrB0QWD5IUM&zoom=1&iact=hc&vpx=791&vpy=329&dur=1477&hovh=168&hovw=300&tx=185&ty=162&sig=102195202017236966520&page=1&tbnh=93&tbnw=167&start=0&ndsp=20&ved=1t:429,r:18,s:0,i:109"<o
></o
>
It can also be used for taxes etc.<o
></o
>
What I want is the following <o
></o
>
- I have 4 quarters (3 months each ofcouse
)
- Every quarter I have X amount of electricity usage
- The electricity usage has to go through 4 zones each quarter separate , but having de last zone in mind.
- So if one zone is full, it will have to go though the other zone untill its full <o
></o
>
For example
zone 1 0-10000
zone 2 10000-50000
zone 3 50000-10 000 000
Zone 4 10 000 000 - no ending
<o
></o
>
B3 = 20 000 Volume of electricity quarter one
C3 = 15 000 Volume of electricity quarter two
D3 = 30 000 Volume of electricity quarter three
E3 = 60 000 Volume of electricity quarter four
<o
></o
>
Spreading of volume quarter one
F3 Zone 1 - 10 000 (zone 1 full)
G3 Zone 2 - 10 000
H3 Zone 3 -
I3 Zone 4 -
<o
></o
>
Spreading quarter two
j3 Zone 1 - Zone 1 already full
k3 Zone 2 - 15 000 ( but having a shadow volume of the fist quarter so total volume is actually 25000)
l3 Zone 3 -
m3 Zone 4 -
<o
></o
>
Spreading quarter three
n3 Zone 1 - Zone 1 already full
o3 Zone 2 - 25 000 (10 000 of quarter one and 15 000 quarter 2 = 25 000. So of the 30.000 only 25.000 can be filled, and 5000 has to go to zone 3)
p3 Zone 3 - 5 000 (because zone 2 is full, the rest goes to zone 3)
q3 Zone 4 -
<o
></o
>
Spreading quarter four
r3 Zone 1 - Zone 1 already full
s3 Zone 2 - Zone 2 already full
t3 Zone 3 - 60 000 (stays in zone three 60000+5000 = 65 000, no need of zone 4)
u3 Zone 4 -<o
></o
>
* This for every ID in Column A (till last row)
The stroy behind this is;
The electric tax goes over a year. Normally you have one year volume it is easy to go through the boxes. But now I want to have a yearly check with the difference that I have the volume quarterly and the volume has to close every quarter according to the zones.
So I have to check if one of the zones is already full in quarter 1, 2 or 3 before filling the next quarter.It is a lot of info, I have a document if needed. Hope you guys can help me out.<o
></o
>
Kind regards<o
></o
>




After a great help with the first post, I am back for some more

I hope I have the correct term in English. I am looking for a Macro for making a "Pace List".. its a bit like this
"http://www.google.nl/imgres?um=1&hl=nl&sa=N&biw=1366&bih=611&tbm=isch&tbnid=gaBsxYfOArhpEM:&imgrefurl=http://recruitmentmatters.nl/2009/06/16/rectificatie-prijsstijging-nuwerk-is-maar-17/&docid=I3fAlVB1qHQa4M&imgurl=http://recruitmentmatters.nl/wp-content/uploads/2009/06/image76.png&w=640&h=358&ei=Wf60T-jMEIrB0QWD5IUM&zoom=1&iact=hc&vpx=791&vpy=329&dur=1477&hovh=168&hovw=300&tx=185&ty=162&sig=102195202017236966520&page=1&tbnh=93&tbnw=167&start=0&ndsp=20&ved=1t:429,r:18,s:0,i:109"<o


It can also be used for taxes etc.<o


What I want is the following <o


- I have 4 quarters (3 months each ofcouse

- Every quarter I have X amount of electricity usage
- The electricity usage has to go through 4 zones each quarter separate , but having de last zone in mind.
- So if one zone is full, it will have to go though the other zone untill its full <o


For example
zone 1 0-10000
zone 2 10000-50000
zone 3 50000-10 000 000
Zone 4 10 000 000 - no ending
<o


B3 = 20 000 Volume of electricity quarter one
C3 = 15 000 Volume of electricity quarter two
D3 = 30 000 Volume of electricity quarter three
E3 = 60 000 Volume of electricity quarter four
<o


Spreading of volume quarter one
F3 Zone 1 - 10 000 (zone 1 full)
G3 Zone 2 - 10 000
H3 Zone 3 -
I3 Zone 4 -
<o


Spreading quarter two
j3 Zone 1 - Zone 1 already full
k3 Zone 2 - 15 000 ( but having a shadow volume of the fist quarter so total volume is actually 25000)
l3 Zone 3 -
m3 Zone 4 -
<o


Spreading quarter three
n3 Zone 1 - Zone 1 already full
o3 Zone 2 - 25 000 (10 000 of quarter one and 15 000 quarter 2 = 25 000. So of the 30.000 only 25.000 can be filled, and 5000 has to go to zone 3)
p3 Zone 3 - 5 000 (because zone 2 is full, the rest goes to zone 3)
q3 Zone 4 -
<o


Spreading quarter four
r3 Zone 1 - Zone 1 already full
s3 Zone 2 - Zone 2 already full
t3 Zone 3 - 60 000 (stays in zone three 60000+5000 = 65 000, no need of zone 4)
u3 Zone 4 -<o


* This for every ID in Column A (till last row)
The stroy behind this is;
The electric tax goes over a year. Normally you have one year volume it is easy to go through the boxes. But now I want to have a yearly check with the difference that I have the volume quarterly and the volume has to close every quarter according to the zones.
So I have to check if one of the zones is already full in quarter 1, 2 or 3 before filling the next quarter.It is a lot of info, I have a document if needed. Hope you guys can help me out.<o


Kind regards<o

