Can array have to conditions to meet before summing the numbers?

Oberon70

Board Regular
Joined
Jan 21, 2022
Messages
160
Office Version
  1. 365
Platform
  1. Windows
I have a table with 8,000 transactions, The reference number can appear on several transactions. I am wanting to sum the amount and commission based on the claim number and the invoice number.

Example:

The below has the same claim number but there are different invoices numbers

1649837788798.png


The end result would be

1649838037447.png


I have arrays that I have been provided which works great with summing the reference number and then the amounts, but not the above.

thanks,
 
Sorry - i missed the XL2BB , looks different for some reason on my PC , and usually the copy icon at top, so didnt scroll down enough
So really sorry i missed that
 
Upvote 0

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
It is not a problem, I really appreciate the help you gave with the formulas. I was able manually complete the batch reports with it.
 
Upvote 0
so you are all sorted now
glad to hear
 
Upvote 0

Forum statistics

Threads
1,223,891
Messages
6,175,229
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top