Consolidate invoice data

G

Gareth.Evans

Hi all,

I have a sheet which contains detials of invoices.

I wish to consolidate the infomation of the invoices and sum the
amounts per invoice.

Example:

Invoice Number | Inoive amount
2 100
2 50
2 10
3 20
3 60

Outcome after fundtion/macro:

Invoice Number | Inoive amount
2 160
3 80

Hope that makes sense, and hope someone out their can help.

Mnay Thanks.
 
S

smartin

Gareth.Evans said:
Hi all,

I have a sheet which contains detials of invoices.

I wish to consolidate the infomation of the invoices and sum the
amounts per invoice.

Example:

Invoice Number | Inoive amount
2 100
2 50
2 10
3 20
3 60

Outcome after fundtion/macro:

Invoice Number | Inoive amount
2 160
3 80

Hope that makes sense, and hope someone out their can help.

Mnay Thanks.

Use SUMIF.

Suppose the detail is in A1:B6 of a worksheet called Detail and you want
the summary in A1:B3 of a another worksheet (same workbook) called
Summary. Assuming you already filled in the invoice numbers in Summary,
the formula in Summary B2 is

=SUMIF(Detail!A:A,A2,Detail!B:B)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top