Hi,
I am wondering if someone can help me with a formula for Total Comp Revenue 2007. Below is a sample of the data. I have no problem with the 2008 formula total. I used a sumif formula which adds up all the 2008 amounts and it works fine. I am stuck in coming up with a formula for the 2007 total. I only need to add the months which are comparable to 2008. Any help will be greatly appreciated!
<table width="806" border="0" cellpadding="0" cellspacing="0"><col style="width: 48pt;" width="64" span="2"> <col style="width: 6pt;" width="8"> <col style="width: 48pt;" width="64" span="2"> <col style="width: 5pt;" width="6"> <col style="width: 48pt;" width="64" span="2"> <col style="width: 5pt;" width="6"> <col style="width: 48pt;" width="64" span="2"> <col style="width: 9pt;" width="12"> <col style="width: 48pt;" width="64" span="2"> <col style="width: 5pt;" width="6"> <col style="width: 48pt;" width="64" span="2"> <tbody><tr style="height: 15pt;" height="20"> <td class="xl66" style="height: 15pt; width: 48pt;" width="64" align="center" height="20">Jan</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64">
</td> <td class="xl65" style="border-left: medium none; width: 6pt;" width="8">
</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64" align="center">Feb</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64">
</td> <td class="xl65" style="border-left: medium none; width: 5pt;" width="6">
</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64" align="center">Mar</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64">
</td> <td class="xl65" style="border-left: medium none; width: 5pt;" width="6">
</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64" align="center">Apr</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64">
</td> <td class="xl66" style="border-left: medium none; width: 9pt;" width="12">
</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64" align="center">May</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64">
</td> <td class="xl66" style="border-left: medium none; width: 5pt;" width="6">
</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64" align="center">Total Comp Revenue</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt; border-top: medium none;" align="right" height="20">2008</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2007</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2008</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2007</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2008</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2007</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2008</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2007</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2008</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2007</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2008</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2007</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt; border-top: medium none;" height="20">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt; border-top: medium none;" align="right" height="20">185</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">275</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">337</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">297</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">320</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">394</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">390</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">477</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">159</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">331</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">1391</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">1774</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt; border-top: medium none;" align="right" height="20">176</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">334</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">349</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">262</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">248</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">403</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">176</td> <td class="xl68" style="border-top: medium none; border-left: medium none;" align="right">334</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt; border-top: medium none;" align="right" height="20">252</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">173</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">322</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">143</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">482</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">310</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">146</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">274</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">1056</td> <td class="xl68" style="border-top: medium none; border-left: medium none;" align="right">626</td> </tr> </tbody></table>
I am wondering if someone can help me with a formula for Total Comp Revenue 2007. Below is a sample of the data. I have no problem with the 2008 formula total. I used a sumif formula which adds up all the 2008 amounts and it works fine. I am stuck in coming up with a formula for the 2007 total. I only need to add the months which are comparable to 2008. Any help will be greatly appreciated!
<table width="806" border="0" cellpadding="0" cellspacing="0"><col style="width: 48pt;" width="64" span="2"> <col style="width: 6pt;" width="8"> <col style="width: 48pt;" width="64" span="2"> <col style="width: 5pt;" width="6"> <col style="width: 48pt;" width="64" span="2"> <col style="width: 5pt;" width="6"> <col style="width: 48pt;" width="64" span="2"> <col style="width: 9pt;" width="12"> <col style="width: 48pt;" width="64" span="2"> <col style="width: 5pt;" width="6"> <col style="width: 48pt;" width="64" span="2"> <tbody><tr style="height: 15pt;" height="20"> <td class="xl66" style="height: 15pt; width: 48pt;" width="64" align="center" height="20">Jan</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64">
</td> <td class="xl65" style="border-left: medium none; width: 6pt;" width="8">
</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64" align="center">Feb</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64">
</td> <td class="xl65" style="border-left: medium none; width: 5pt;" width="6">
</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64" align="center">Mar</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64">
</td> <td class="xl65" style="border-left: medium none; width: 5pt;" width="6">
</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64" align="center">Apr</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64">
</td> <td class="xl66" style="border-left: medium none; width: 9pt;" width="12">
</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64" align="center">May</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64">
</td> <td class="xl66" style="border-left: medium none; width: 5pt;" width="6">
</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64" align="center">Total Comp Revenue</td> <td class="xl66" style="border-left: medium none; width: 48pt;" width="64">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt; border-top: medium none;" align="right" height="20">2008</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2007</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2008</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2007</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2008</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2007</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2008</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2007</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2008</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2007</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2008</td> <td class="xl65" style="border-top: medium none; border-left: medium none;" align="right">2007</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt; border-top: medium none;" height="20">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl65" style="border-top: medium none; border-left: medium none;">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt; border-top: medium none;" align="right" height="20">185</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">275</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">337</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">297</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">320</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">394</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">390</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">477</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">159</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">331</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">1391</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">1774</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt; border-top: medium none;" align="right" height="20">176</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">334</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">349</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">262</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">248</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">403</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">176</td> <td class="xl68" style="border-top: medium none; border-left: medium none;" align="right">334</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl67" style="height: 15pt; border-top: medium none;" align="right" height="20">252</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">173</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">322</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">143</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">482</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">310</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">146</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">274</td> <td class="xl67" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl67" style="border-top: medium none; border-left: medium none;" align="right">1056</td> <td class="xl68" style="border-top: medium none; border-left: medium none;" align="right">626</td> </tr> </tbody></table>