cross reference two cells in one sheet against two cells in second sheet - return data from third cell

osaben

Board Regular
Joined
Mar 17, 2010
Messages
62
Office Version
  1. 365
Platform
  1. Windows
Hello,
Help please. I have myself all confused on how to accomplish the following.

Column H2/Sheet1 --- match data in last 4 characters in C2 & all of D2 against data in column B & C in Sheet2 and return the value in column D
Column I2/Sheet1 --- match data in I1 & D2 against data in column B & C in Sheet2 and return the value in Column D
Column J2/Sheet 1 --- match data in J1 & D2 against data in column B & C in Sheet2 and return value in column D

SO----when the formula is working right, the figures in Sheet1 with match those in Sheet2 (I color coded to help with explanation)

Thanks in advance for your help and expertise.

1730307233558.png
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Ok, how about
Excel Formula:
=FILTER(Sheet2!$D$2:$D$1000,(Sheet2!$B$2:$B$1000=trim(D2))*(Sheet2!$C$2:$C$1000=RIGHT(C2,4)),"No match")
 
Upvote 0
Ok, how about
Excel Formula:
=FILTER(Sheet2!$D$2:$D$1000,(Sheet2!$B$2:$B$1000=trim(D2))*(Sheet2!$C$2:$C$1000=RIGHT(C2,4)),"No match")
Yes! that worked!

Have a great day and thank you for your willingness to respond to my inquiries. I am thankful for you.
 
Upvote 0

Forum statistics

Threads
1,223,103
Messages
6,170,123
Members
452,303
Latest member
c4cstore

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