Matching Column Data

tindercd

New Member
Joined
Apr 19, 2013
Messages
1
I need to match up two exports from our system to create one spreadsheet. I'm having trouble matching two columns up and placing the end result into a new column. I'm trying to use IF AND functions but that approach may be the wrong one.

I'm currently using this formula in the B column:

=IF(AND($C$2:$C$17333=A2,$D$2:$D$17333=15),A2&"-"&15,"N/A")

This is an example of the spreadsheet. I'm using Excel 2007
A
B
C
D
4
4
1
6
4
12
16
4
15
17
6
1
19
6
15
20
16
1
21
16
15

<tbody>
</tbody>


My question is what formula could I use to get the end result in the B column that will read 4-15, 6-15, 17-15 etc.

Thanks!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

texasalynn

Well-known Member
Joined
May 19, 2002
Messages
8,458
try this


Excel 2010
ABCDE
1441N/A
26412N/A
3164154-15
41761N/A
5196156-15
620161N/A
721161516-15
Sheet1
Cell Formulas
RangeFormula
E1=IF(AND(SUMPRODUCT(--($A$1:A1=C1)),D1=15),C1&"-"&15,"N/A")
 
Upvote 0

Forum statistics

Threads
1,195,991
Messages
6,012,731
Members
441,724
Latest member
Aalbid

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