Combing 2 Lists into 1

Keyboardist

Board Regular
Joined
Mar 2, 2016
Messages
54
I know this is a simple task, but I'm having trouble.

I need to combine A & B with C & D into E & F without duplicates.

Below is what I'm trying to do

ABCDEF
AMN2.09APH16
AMN2.09
APH11.08DG14APH27.08
ENDO28.75GTC17ENDO28.75
FRAM20.05HSH7FRAM20.05
LDO6.10LDO23LDO29.10

<tbody>
</tbody>

I am continually changing A-D, so the formula in E & F needs to update with that.
 

Some videos you may like

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

DRSteele

Well-known Member
Joined
Mar 31, 2015
Messages
2,330
Office Version
  1. 365
Platform
  1. Windows
I'm not certain I understand your objective, but I think this is what you're after. Both formulas will work.

ABCDEFG
1AMN2.09APH16AMN2.092.09
2APH11.08DG14APH27.0827.08
3ENDO28.75GTC17ENDO28.7528.75
4FRAM20.05HSH7FRAM20.0520.05
5LDO6.1LDO23LDO29.129.1

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet15

Worksheet Formulas
CellFormula
F1=SUMPRODUCT((E1=$A$1:$A$5)*$B$1:$B$5)+SUMPRODUCT((E1=$C$1:$C$5)*$D$1:$D$5)
G1=SUMIFS($B$1:$B$5,$A$1:$A$5,E1)+SUMIFS($D$1:$D$5,$C$1:$C$5,E1)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Last edited:

Keyboardist

Board Regular
Joined
Mar 2, 2016
Messages
54
Worksheet Formulas
CellFormula
F1=SUMPRODUCT((E1=$A$1:$A$5)*$B$1:$B$5)+SUMPRODUCT((E1=$C$1:$C$5)*$D$1:$D$5)
G1=SUMIFS($B$1:$B$5,$A$1:$A$5,E1)+SUMIFS($D$1:$D$5,$C$1:$C$5,E1)

<tbody>
</tbody>

<tbody>
</tbody>

That is exactly what I was attempting to do. Thank you.
 

DRSteele

Well-known Member
Joined
Mar 31, 2015
Messages
2,330
Office Version
  1. 365
Platform
  1. Windows
You're welcome. I'm glad your project is moving forward.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,464
Messages
5,596,288
Members
414,052
Latest member
Dual Showman

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
Top