Hi all,
This is my first post so please excuse any irregularities with the following.
I am working on a document with two worksheets. On the first worksheet the data looks as so (not real values):
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Invoice[/TD]
[TD]Net[/TD]
[TD]Category[/TD]
[/TR]
[TR]
[TD]24/07/2015[/TD]
[TD]JS PLC[/TD]
[TD]£3500[/TD]
[TD]11[/TD]
[/TR]
[TR]
[TD]21/04/2015[/TD]
[TD]MJ LTD[/TD]
[TD]£6700[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]01/11/2014[/TD]
[TD]JW & Co.[/TD]
[TD]£38575[/TD]
[TD]44[/TD]
[/TR]
[TR]
[TD]Etc.[/TD]
[TD]Etc.[/TD]
[TD]Etc.[/TD]
[TD]Etc.[/TD]
[/TR]
</tbody>[/TABLE]
On the second worksheet it looks as so:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]NOV[/TD]
[TD]DEC[/TD]
[TD]JAN[/TD]
[TD]FEB[/TD]
[TD]MARCH[/TD]
[TD]Etc...[/TD]
[/TR]
[TR]
[TD]Category[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Etc...[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Essentially, I am struggling on how to match the SUMIF function with the MATCH (I think) function where I need to SUMIF in the gaps where the X's are on the second worksheet, given that the invoices are from the correct month and the correct category. I hope this makes sense?
If anyone could help me here I would be truly truly grateful!
Kind regards,
SamJW
This is my first post so please excuse any irregularities with the following.
I am working on a document with two worksheets. On the first worksheet the data looks as so (not real values):
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Invoice[/TD]
[TD]Net[/TD]
[TD]Category[/TD]
[/TR]
[TR]
[TD]24/07/2015[/TD]
[TD]JS PLC[/TD]
[TD]£3500[/TD]
[TD]11[/TD]
[/TR]
[TR]
[TD]21/04/2015[/TD]
[TD]MJ LTD[/TD]
[TD]£6700[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]01/11/2014[/TD]
[TD]JW & Co.[/TD]
[TD]£38575[/TD]
[TD]44[/TD]
[/TR]
[TR]
[TD]Etc.[/TD]
[TD]Etc.[/TD]
[TD]Etc.[/TD]
[TD]Etc.[/TD]
[/TR]
</tbody>[/TABLE]
On the second worksheet it looks as so:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]NOV[/TD]
[TD]DEC[/TD]
[TD]JAN[/TD]
[TD]FEB[/TD]
[TD]MARCH[/TD]
[TD]Etc...[/TD]
[/TR]
[TR]
[TD]Category[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Etc...[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Essentially, I am struggling on how to match the SUMIF function with the MATCH (I think) function where I need to SUMIF in the gaps where the X's are on the second worksheet, given that the invoices are from the correct month and the correct category. I hope this makes sense?
If anyone could help me here I would be truly truly grateful!
Kind regards,
SamJW