Summing multiple rows with excel based on user id

MasterY0shi

New Member
Joined
May 2, 2022
Messages
1
Office Version
  1. 365
Good morning!
I was trying to get this thing to work and it won't. I am trying to sum multiple lines based on if it matches a user ID. These are on different sheets, the first page has the formula spot and ID numbers for reference. For example:


IDFunction
0001
0234
1234
5567

ID numberUser NameUseless information for youMoney they made
0001Bob500
0001bob(363)
0001bob900
0234sally245
1234Barbara695
1234Barbara(48)
5567Tony1256

But I have tried xlookup, vlookup, and index match with sum and sumif. Neither are returning the values correctly. Please assist.
You can use book1 and book2 as that will help differentiate the two.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
What do you get when you do a
=SUMIF(Book2's ID Number (full column), Book 1's ID Number (one cell only), Book 2's Money they made (full column))

That should be all you need. The other thing that I would offer would be to check if both ID Number columns and the Money they made column are the same formatted correctly as sometimes numbers can be text.
 
Upvote 0

Forum statistics

Threads
1,214,866
Messages
6,121,996
Members
449,060
Latest member
mtsheetz

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