Hi,
I have a data table as below. I wish to devise a formula to subtotal by Month (e.g. Jan 19) and Cost Type (e.g. Core) combined. For example Core Total for Jan 19 should be £4,742.
Can anyone please advise a SumIf / And formula to automate this in the 2nd table below.
Thanks, Neil
<colgroup><col width="107" style="width: 80pt; mso-width-source: userset; mso-width-alt: 3913;">
<col width="64" style="width: 48pt;" span="2">
<col width="79" style="width: 59pt; mso-width-source: userset; mso-width-alt: 2889;">
<col width="64" style="width: 48pt;">
<col width="72" style="width: 54pt; mso-width-source: userset; mso-width-alt: 2633;" span="2">
<tbody>
</tbody>
<colgroup><col width="107" style="width: 80pt; mso-width-source: userset; mso-width-alt: 3913;">
<col width="64" style="width: 48pt;" span="2">
<col width="79" style="width: 59pt; mso-width-source: userset; mso-width-alt: 2889;">
<col width="64" style="width: 48pt;">
<col width="72" style="width: 54pt; mso-width-source: userset; mso-width-alt: 2633;" span="2">
<tbody>
</tbody>
I have a data table as below. I wish to devise a formula to subtotal by Month (e.g. Jan 19) and Cost Type (e.g. Core) combined. For example Core Total for Jan 19 should be £4,742.
Can anyone please advise a SumIf / And formula to automate this in the 2nd table below.
Thanks, Neil
Core | Core | Core | Core | Additional | Additional | |
Month | Offshore | Onshore | Warehouse | Office | Ad Hoc | Yard Rentals |
Jan-19 | £2,371 | £4,485 | £990 | £2,215 | £660 | £30,000 |
Jan-19 | £2,371 | £5,256 | £990 | £2,000 | £660 | |
Feb-19 | £300 | £4,485 | £990 | £3,000 | £660 | £30,000 |
Feb-19 | £3,000 | £6,382 | £990 | £3,552 | £660 | |
Feb-19 | £2,371 | £500 | £990 | £3,961 | £660 | |
Mar-19 | £2,235 | £7,154 | £990 | £2,215 | £660 | |
Apr-19 | £2,371 | £4,485 | £990 | £2,215 | £660 | |
May-19 | £2,371 | £4,485 | £990 | £3,961 | £660 | |
May-19 | £2,371 | £5,552 | £990 | £2,215 | £660 | |
May-19 | £2,371 | £4,485 | £990 | £2,215 | £660 | |
Jun-19 | £3,001 | £5,552 | £990 | £3,961 | £660 | £30,000 |
Total | £25,133 | £52,821 | £10,890 | £31,510 | £7,260 | £90,000 |
Jan-19 | Feb-19 | Mar-19 | Apr-19 | May-19 | Jun-19 | |
Core Total | x | x | x | x | x | x |
Additional Total | x | x | x | x | x | x |