Jyggalag

Active Member
Joined
Mar 8, 2021
Messages
445
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi all,

I currently have a large data set, it looks like this:

1661762479048.png


I want to vlookup my data from column A-C into column J-L. However, as the names reappear and sometimes even share the same date (example in A4:B5) a vlookup won't be feasible.

The dates are correct in my other table, as well as the names, but I would like to find some nice way to get "Wealth" filled out.

Does anybody have any good formulas the might help with this? Would be greatly appreciated!

Thanks! :)

Jyggalag
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Don't you just want SumIfs ?

Book4
ABCDIJKL
1NameDateWealthNameDateWealth
2George03-01-20201400Kelly03-01-2020196
3Kelly03-01-2020196George03-01-20201400
4George04-01-20201300George04-01-20202900
5George04-01-20201600Bob04-01-20202400
6Bob04-01-20202400
7
Sheet1
Cell Formulas
RangeFormula
L2:L5L2=SUMIFS($C$2:$C$6,$A$2:$A$6,J2,$B$2:$B$6,K2)
 
Upvote 0
@Jyggalag
It is always a good idea to include your expected results with your sample data. In particular in this case it is unclear what results you want for the two rows that have George with 04-01-2020
 
Upvote 0
Don't you just want SumIfs ?

Book4
ABCDIJKL
1NameDateWealthNameDateWealth
2George03-01-20201400Kelly03-01-2020196
3Kelly03-01-2020196George03-01-20201400
4George04-01-20201300George04-01-20202900
5George04-01-20201600Bob04-01-20202400
6Bob04-01-20202400
7
Sheet1
Cell Formulas
RangeFormula
L2:L5L2=SUMIFS($C$2:$C$6,$A$2:$A$6,J2,$B$2:$B$6,K2)
Hi Alex,

SumIf is a nice formula, but I need to keep the values distinct unfortunately
 
Upvote 0
@Jyggalag
It is always a good idea to include your expected results with your sample data. In particular in this case it is unclear what results you want for the two rows that have George with 04-01-2020
Hi Peter,

Apologies if I was not coherent enough! I simply want to replicate the data in column A:C with a formula that pulls in wealth based on the values in column A and B, if that makes sense?

Naturally, since the name "George" appears twice with the same date, the formula should be able to ignore this and just insert the value at random, but make sure that both values for wealth are inserted (so both 1300 and 1600)
 
Upvote 0
Could you please fill in your expected results manually and post the sample data again with the results you want?
 
Upvote 0

Forum statistics

Threads
1,223,099
Messages
6,170,114
Members
452,302
Latest member
TaMere

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