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

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
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,216,373
Messages
6,130,239
Members
449,568
Latest member
mwl_y

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