jamesnimmo
New Member
- Joined
- Dec 3, 2010
- Messages
- 7
Hi I am trying to create an ongoing update-able spreadsheet based of an sql data table, my data looks like the below,
<tbody>
</tbody>
I am trying to create a sheet that then looks at this table, (it has a vast number of rows that will expand as refreshed), see example. I need the formula to look at the table and return the sum of the sales during the given month to the corresponding cell.
<tbody>
</tbody>
I dont think i need a pivot table but any suggestions would be helpful, i have tried a sumproduct but can't get it to work with date ranges.
Any Help would be great,thanks in anticipation.
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> | |||
<tbody> </tbody> |
<tbody> </tbody> | 394 | |||
<tbody> </tbody> |
<tbody> </tbody> | 200 | |||
<tbody> </tbody> |
<tbody> </tbody> | 500 | |||
<tbody> </tbody> |
<tbody> </tbody> | 5000 | |||
<tbody> </tbody> |
<tbody> </tbody> | 250 | |||
<tbody> </tbody> |
<tbody> </tbody> | 650 | |||
<tbody> </tbody> |
<tbody> </tbody> | 900 | |||
<tbody> </tbody> |
<tbody> </tbody> | 403 | |||
<tbody> </tbody> |
<tbody> </tbody> | 260 | |||
<tbody> </tbody> |
<tbody> </tbody> | 970 | |||
<tbody> </tbody> |
<tbody> </tbody> | 54 | |||
<tbody> </tbody> |
<tbody> </tbody> | 69 | |||
<tbody> </tbody> |
<tbody> </tbody> | 78 | |||
<tbody> </tbody> |
<tbody> </tbody> | 365 | |||
<tbody> </tbody> |
<tbody> </tbody> | 996 |
<tbody>
</tbody>
I am trying to create a sheet that then looks at this table, (it has a vast number of rows that will expand as refreshed), see example. I need the formula to look at the table and return the sum of the sales during the given month to the corresponding cell.
Customer No | December 2012 sales | January 2013 Sales | February 2013 Sales | March 2013 Sales | April 2013 Sales |
Customer 1 | |||||
Customer 2 | |||||
Customer 3 |
<tbody>
</tbody>
I dont think i need a pivot table but any suggestions would be helpful, i have tried a sumproduct but can't get it to work with date ranges.
Any Help would be great,thanks in anticipation.