Showing that a relationship exists with another spreadsheet

bcavender

New Member
Joined
Jul 21, 2010
Messages
3
I am not sure if this can be done in Excel as it is a bit tricky, but let me ask.

Each cell in a column in spreadsheet "M" contains a unique number. If a cell in a column in a separate spreadsheet "D" holds a number that matches one of those unique numbers in spreadsheet "M", I want to set a True condition in an adjacent column in spreadsheet "M" to record that a relationship exists in the other spreadsheet.

I need to run this multiple times with different "D" spreadsheets that have different numbers of rows.

I appreciate any suggestions as to how I might accomplish this!!!

Bruce
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Hi & Welcome,



Try this, the below assumes in WB D that your data lookup is in A1:A100 and your lookup value is in WB M Column A1

Formula in WB M, cell B1 and copied down

If the result is True it will display Found, otherwise it will display Not Found

=IF(ISNUMBER(VLOOKUP(A1,[D.xls]Sheet1!$A$1:$A$100,1,FALSE)),"FOUND","NOT FOUND")
 
Upvote 0
Ah...that worked perfectly. That was great!

Thank you for assisting with the learning process!

I really appreciate it!

Bruce :biggrin:
 
Upvote 0

Forum statistics

Threads
1,216,116
Messages
6,128,933
Members
449,480
Latest member
yesitisasport

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