Comparing columns & returning values

nickkoehler

New Member
Joined
Apr 7, 2014
Messages
1
Im going crazy trying to figure this out, help please!

I have data that looks like this:

_A__|_B__|_C__|_D__
123…………….234….$12
234 …………..236….$56
236 …………..123….$11
654 …………..764….$87
001 …………..654….$98
002…………………………..
764 …$87………………….
670…………………………..

Columns A & C are sku's. Column D is the $ value for sku's in column C. I need to compare column A & C, if there is a match, then I need the $ amount of that sku to populate column B, in the same row as the matching sku in column A. (sku 764 in column A has the value I'm looking for in column B)
 
Last edited:

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
This is a simple matter of using VLOOKUP and I added ISNA to avoid seeing those pesty #N/A results when it doesn't match

Put this in B1 and copy down

=IF(ISNA(VLOOKUP(A1,$C$1:$D$5,2,0)),"",VLOOKUP(A1,$C$1:$D$5,2,0))

Just change the cell format to Currency US dollar and away ya go

and of course make sure column A and C is in the same format I used text for both !

Cheers
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,967
Members
452,371
Latest member
Frana

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