Updating a value using match

RoccoM

New Member
Joined
Apr 22, 2019
Messages
19
Column X contains a list of all companies.
Column Y is used for a simple check (values would be yes, no, n/a)
In column Z I have a partial list of company names.

Here is what I need help with:
I need to start at Cell z2 see if that value matches ANY value in my column X Range (x1:x1000)
If yes I need to update value in column b with a yes

How can I do this?

Thank you in advance.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Maybe...

BWXYZ
1Update HereCompany ListSimple CheckPartial List
2yesWhite Sky Inc.yesACME Widgets
3yesEasy PartnersnoIvor Leake, Plumber
4ACME Widgetsn/a
5Hope & Sky Inc.yes
6Lawyers Soo, Grabbitt & Runnno
7Ivor Leake, Plumbern/a

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

Worksheet Formulas
CellFormula
B2
=IF(ISNA(MATCH(Z2,$X$2:$X$1000,0)),"","yes")

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

<tbody>
</tbody>
 
Upvote 0
Team:
I didn't explain my self correctly. But based on your answers to my question, I'm so close I could taste it. :)

It is important where the yes answer goes.

If a value in a cell in column Z matches a value in column X then I need the column Y to say yes for the corresponding value of X.
For example:

I find Acme Widgets in my full list of companies in column X, I then update the simple check column, column, Y next to Acme Widgets with Yes
XYZ
1Company ListSimple CheckPartial List
2White Sky Inc.ACME Widgets
3Easy PartnersIvor Leake, Plumber
4ACME WidgetsYes
5Hope & Sky Inc.
6Lawyers Soo, Grabbitt & Runn
7Ivor Leake, PlumberYes

<tbody>
</tbody>
I hope this makes more sense?
Rocco
 
Upvote 0
Is this it?

XYZ
1Company ListSimple CheckPartial List
2White Sky Inc.ACME Widgets
3Easy PartnersIvor Leake, Plumber
4ACME Widgetsyes
5Hope & Sky Inc.
6Lawyers Soo, Grabbitt & Runn
7Ivor Leake, Plumberyes

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

Worksheet Formulas
CellFormula
Y2 to
Y1000
=IF(ISNA(MATCH(X2,$Z$2:$Z$1000,0)),"","yes")

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

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,545
Messages
6,120,132
Members
448,947
Latest member
test111

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