Vlookup

davidmor

New Member
Joined
Nov 20, 2020
Messages
30
Office Version
  1. 365
Platform
  1. Windows
hi all

wonder if anyone could help, i'm trying to do a vlookup on a spreadsheet, but i need it to add all the numbers of an item it finds and report all them together is this possible

im using column A as my lookup data and need it to report the totals in column I, but when the number in A is repeated i need the totals reporting

so on the below i would need it to add all the yellow together and report the total

thanks in advance for any help

1625491998576.png
 

Attachments

  • 1625491941302.png
    1625491941302.png
    84.8 KB · Views: 5

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
What is your current formula?
 
Upvote 0
=VLOOKUP(M2,orders!A:J,9,FALSE)

would a countif formula work,
 
Upvote 0
Thanks for that, you would need sumifs, rather than countifs
Excel Formula:
=SUMIFS(orders!I:I,orders!A:A,M2)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,584
Messages
6,125,677
Members
449,248
Latest member
wayneho98

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