lookup for large data

jking1

New Member
Joined
Sep 28, 2021
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi,

I've spent a few hours on this now, done some research but I cant seem to find an answer. Here's the problem I am facing;

I have extracted data from our ledger of all invoices raised during a specific period. Column A states the client name, Column B states the net value of the invoice. However, this list is of all invoices and therefore the same client will show multiple times. I am in need of formula that will look down Column A & B and will add up all values that relate to the client. I have attached a screenshot of what the data looks like. In this example I'd be looking for a formula to say all Apples add up to x.
 

Attachments

  • Capture.JPG
    Capture.JPG
    47.7 KB · Views: 10

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Try the SUMIF function or a Pivot Table
 
Upvote 0
Solution
How about
Excel Formula:
=LET(u,UNIQUE(FILTER(A2:A1000,A2:A1000<>"")),CHOOSE({1,2},u,SUMIFS(B:B,A:A,u)))
 
Upvote 0
Ah-many thanks! Cant believe I didn't think of that sooner.
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,547
Members
449,089
Latest member
davidcom

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