In page STATION2 column H5 I have the formula below giving a total weekly spend. =SUMIF(I7:I1000,">="&MAX(I7:I1000)-7,P7:P1000)
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com
ffice
ffice" /><o
> </o
>
In page TOTAL SPEND I have A link to the above formula =SUM('STATION 2'!H5)
From which I make a graph.
<o
> </o
>
I do this for several pages in a workbook.
<o
> </o
>
<o
> </o
>
I then have to break down Station2 into ST, R, LP, and M, and use the formula below to give the yearly spend for each area.
<o
> </o
>
<o
> </o
>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto 5.15pt; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-yfti-tbllook: 1184; mso-padding-alt: 0in 5.4pt 0in 5.4pt" cellSpacing=0 cellPadding=0 width=561 border=0><TBODY><TR style="HEIGHT: 12.75pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-row-margin-right: 137.55pt"><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: windowtext 1pt solid; WIDTH: 58.75pt; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt" vAlign=bottom noWrap width=78>
<o></o>
</TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 99pt; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent; mso-border-top-alt: solid windowtext .5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt" vAlign=bottom noWrap width=132>
<o></o>
</TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 0.5in; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent; mso-border-top-alt: solid windowtext .5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt" vAlign=bottom noWrap width=48>
Area<o></o>
</TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: yellow; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 89.65pt; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 12.75pt; mso-border-top-alt: solid windowtext .5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt" vAlign=bottom noWrap width=120>
YEARLY<o></o>
</TD><TD style="BORDER-RIGHT: #c7dfe2; PADDING-RIGHT: 0in; BORDER-TOP: #c7dfe2; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; PADDING-TOP: 0in; BORDER-BOTTOM: #c7dfe2; BACKGROUND-COLOR: transparent; mso-cell-special: placeholder" width=183 colSpan=2>
</TD></TR><TR style="HEIGHT: 45.75pt; mso-yfti-irow: 1"><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: windowtext 1pt solid; WIDTH: 58.75pt; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 45.75pt; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" noWrap width=78>
STATION 2<o></o>
</TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 99pt; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 45.75pt; BACKGROUND-COLOR: transparent; mso-border-top-alt: solid windowtext .5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt" noWrap width=132>
SMALL TOOLS<o></o>
</TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 0.5in; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 45.75pt; BACKGROUND-COLOR: transparent; mso-border-top-alt: solid windowtext .5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt" noWrap width=48>
ST<o></o>
</TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 89.65pt; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 45.75pt; BACKGROUND-COLOR: transparent; mso-border-top-alt: solid windowtext .5pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt" noWrap width=120>
£20,836.59<o></o>
</TD><TD style="BORDER-RIGHT: #c7dfe2; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 137.55pt; PADDING-TOP: 0in; BORDER-BOTTOM: #c7dfe2; HEIGHT: 45.75pt; BACKGROUND-COLOR: transparent" width=183 colSpan=2>
=SUMIF($B$7:$B$1000,"ST",$P$7:$P$1000)<o></o>
</TD></TR><TR style="HEIGHT: 38.25pt; mso-yfti-irow: 2; mso-row-margin-right: 137.2pt"><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: windowtext 1pt solid; WIDTH: 58.75pt; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 38.25pt; BACKGROUND-COLOR: transparent; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" noWrap width=78>
STATION 2<o></o>
</TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 99pt; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 38.25pt; BACKGROUND-COLOR: transparent; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt" noWrap width=132>
REPAIRS<o></o>
</TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 0.5in; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 38.25pt; BACKGROUND-COLOR: transparent; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt" noWrap width=48>
R<o></o>
</TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 1.25in; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 38.25pt; BACKGROUND-COLOR: transparent; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt" noWrap width=120 colSpan=2>
£3,343.58<o></o>
</TD><TD style="BORDER-RIGHT: #c7dfe2; PADDING-RIGHT: 0in; BORDER-TOP: #c7dfe2; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; PADDING-TOP: 0in; BORDER-BOTTOM: #c7dfe2; BACKGROUND-COLOR: transparent; mso-cell-special: placeholder" width=183>
</TD></TR><TR style="HEIGHT: 12.75pt; mso-yfti-irow: 3; mso-row-margin-right: 137.2pt"><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: windowtext 1pt solid; WIDTH: 58.75pt; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" noWrap width=78>
STATION 2<o></o>
</TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 99pt; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt" noWrap width=132>
LARGE PURCHASES<o></o>
</TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 0.5in; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt" noWrap width=48>
LP<o></o>
</TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 1.25in; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt" noWrap width=120 colSpan=2>
£12,820.22<o></o>
</TD><TD style="BORDER-RIGHT: #c7dfe2; PADDING-RIGHT: 0in; BORDER-TOP: #c7dfe2; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; PADDING-TOP: 0in; BORDER-BOTTOM: #c7dfe2; BACKGROUND-COLOR: transparent; mso-cell-special: placeholder" width=183>
</TD></TR><TR style="HEIGHT: 12.75pt; mso-yfti-irow: 4; mso-row-margin-right: 137.2pt; mso-yfti-lastrow: yes"><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: windowtext 1pt solid; WIDTH: 58.75pt; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" noWrap width=78>
STATION 2<o></o>
</TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 99pt; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt" noWrap width=132>
MAINTENANCE<o></o>
</TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 0.5in; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt" noWrap width=48>
M<o></o>
</TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #c7dfe2; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; WIDTH: 1.25in; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: transparent; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt" noWrap width=120 colSpan=2>
£0.00<o></o>
</TD><TD style="BORDER-RIGHT: #c7dfe2; PADDING-RIGHT: 0in; BORDER-TOP: #c7dfe2; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: #c7dfe2; PADDING-TOP: 0in; BORDER-BOTTOM: #c7dfe2; BACKGROUND-COLOR: transparent; mso-cell-special: placeholder" width=183>
</TD></TR><TR height=0><TD style="BORDER-RIGHT: #c7dfe2; BORDER-TOP: #c7dfe2; BORDER-LEFT: #c7dfe2; BORDER-BOTTOM: #c7dfe2; BACKGROUND-COLOR: transparent" width=78></TD><TD style="BORDER-RIGHT: #c7dfe2; BORDER-TOP: #c7dfe2; BORDER-LEFT: #c7dfe2; BORDER-BOTTOM: #c7dfe2; BACKGROUND-COLOR: transparent" width=132></TD><TD style="BORDER-RIGHT: #c7dfe2; BORDER-TOP: #c7dfe2; BORDER-LEFT: #c7dfe2; BORDER-BOTTOM: #c7dfe2; BACKGROUND-COLOR: transparent" width=48></TD><TD style="BORDER-RIGHT: #c7dfe2; BORDER-TOP: #c7dfe2; BORDER-LEFT: #c7dfe2; BORDER-BOTTOM: #c7dfe2; BACKGROUND-COLOR: transparent" width=120></TD><TD style="BORDER-RIGHT: #c7dfe2; BORDER-TOP: #c7dfe2; BORDER-LEFT: #c7dfe2; BORDER-BOTTOM: #c7dfe2; BACKGROUND-COLOR: transparent" width=1></TD><TD style="BORDER-RIGHT: #c7dfe2; BORDER-TOP: #c7dfe2; BORDER-LEFT: #c7dfe2; BORDER-BOTTOM: #c7dfe2; BACKGROUND-COLOR: transparent" width=282></TD></TR></TBODY></TABLE>
<o
> </o
>
What I need to do is break these area totals into weekly rather than yearly.
<o
> </o
>
Can anyone please help on this one.Hope I've explained ok.
<o
> </o
>
Many Thanks,
<o
> </o
>
Jim.