Hi All,
In a bit of a fix. I have a sheet of data that looks like so...
<table border="0" cellpadding="0" cellspacing="0" width="256"><col style="width: 48pt;" span="4" width="64"> <tbody><tr style="height: 12.75pt;" height="17"> <td class="xl68" style="height: 12.75pt; width: 48pt;" height="17" width="64">Week</td> <td class="xl67" style="border-left: medium none; width: 48pt;" width="64">Month</td> <td class="xl67" style="border-left: medium none; width: 48pt;" width="64">Fruit</td> <td class="xl67" style="border-left: medium none; width: 48pt;" width="64">total</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">Banana</td> <td align="right">1161</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">apple</td> <td align="right">193</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">oranges</td> <td align="right">396</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">pear</td> <td align="right">369</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">Banana</td> <td align="right">1534</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">oranges</td> <td align="right">540</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">pear</td> <td align="right">451</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">apple</td> <td align="right">221</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">oranges</td> <td align="right">513</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">Banana</td> <td align="right">1580</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">pear</td> <td align="right">475</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">apple</td> <td align="right">251</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">oranges</td> <td align="right">559</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">Banana</td> <td align="right">1874</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">pear</td> <td align="right">657</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">apple</td> <td align="right">390</td> </tr> </tbody></table>
In B1 I have WEEKNUM which is linked to A1 with =today() function.
I would like to automatically tabulate the total of the fruit according to week.
SUMIF works great for either week or fruit but im trying to get a function that will include both. So when it is week 2 my function will look for week 2 and add oranges together.
I get this data on a daily basis with the fruits in no particular order.
Any assistance will be greatly appreciated.
In a bit of a fix. I have a sheet of data that looks like so...
<table border="0" cellpadding="0" cellspacing="0" width="256"><col style="width: 48pt;" span="4" width="64"> <tbody><tr style="height: 12.75pt;" height="17"> <td class="xl68" style="height: 12.75pt; width: 48pt;" height="17" width="64">Week</td> <td class="xl67" style="border-left: medium none; width: 48pt;" width="64">Month</td> <td class="xl67" style="border-left: medium none; width: 48pt;" width="64">Fruit</td> <td class="xl67" style="border-left: medium none; width: 48pt;" width="64">total</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">Banana</td> <td align="right">1161</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">apple</td> <td align="right">193</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">oranges</td> <td align="right">396</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">pear</td> <td align="right">369</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">Banana</td> <td align="right">1534</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">oranges</td> <td align="right">540</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">pear</td> <td align="right">451</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">1</td> <td class="xl65">Jan</td> <td class="xl66">apple</td> <td align="right">221</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">oranges</td> <td align="right">513</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">Banana</td> <td align="right">1580</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">pear</td> <td align="right">475</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">apple</td> <td align="right">251</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">oranges</td> <td align="right">559</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">Banana</td> <td align="right">1874</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">pear</td> <td align="right">657</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl69" style="height: 12.75pt;" height="17">2</td> <td class="xl70">Feb</td> <td class="xl66">apple</td> <td align="right">390</td> </tr> </tbody></table>
In B1 I have WEEKNUM which is linked to A1 with =today() function.
I would like to automatically tabulate the total of the fruit according to week.
SUMIF works great for either week or fruit but im trying to get a function that will include both. So when it is week 2 my function will look for week 2 and add oranges together.
I get this data on a daily basis with the fruits in no particular order.
Any assistance will be greatly appreciated.