formula

mort1703

Active Member
Joined
Sep 13, 2008
Messages
266
Hi

I have 500 rows of data, in column B is a Task and column C has a location or is empty
The information held in column C is located in column B.
Ideally I would like to check each cell in column C and compare to all cells in Column B, if their is a match I would like Column D to hold a value of "Y" or "N" on the row that matches.

EXAMPLE DATA

B C D

example A FRANCE N
NICE N
DUBAI N
FRANCE Y

Any ideas welcome.
 

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.
A quick guess based on your very limited data example.


Excel 2010
ABCDEF
1AFrance
2NiceFALSEFALSEF
3DubaiFALSEFALSEF
4FranceTRUETRUET
5USAFALSEF
6CanadaCanadaTRUET
7FranceTRUET
8
8a
Cell Formulas
RangeFormula
D2=(B2=$C$1)
E2=COUNTIF(C:C,B2)>0
F2=IF(COUNTIF(C:C,B2)>0,"T","F")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,180
Members
453,021
Latest member
Justyna P

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