Cell Comparison and Display Value Yes Or NO

manoj18071965

Board Regular
Joined
Sep 16, 2011
Messages
65
I have multiple values in Rows and Columns in MS Excel 2010 as follow. I want to populate value Yes or No if any or multiple value appearing in Columns Headers are appearing in Row values Example shown below:

Value709226000
726002000

<tbody>
</tbody>
370235000

<tbody>
</tbody>
726005000

<tbody>
</tbody>
PCLO=709226000
PCLX=709223000
PCLX=709224000
PCLX=709225000


YesNoNoNo
PCLO=370389000
PCLX=370230000
PCLX=370235000



NoNoYesNo
PCLX=713186000
PCLX=726002000
PCLX=726003000
PCLX=726004000
PCLX=726005000




NoYesNoYes

<tbody>
</tbody>
 
Last edited:

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Book1
ABCDE
1Value709226000726002000370235000726005000
2
3PCLO=709226000 PCLX=709223000 PCLX=709224000 PCLX=709225000YesNoNoNo
4PCLO=370389000 PCLX=370230000 PCLX=370235000NoNoYesNo
5PCLX=713186000 PCLX=726002000 PCLX=726003000 PCLX=726005000 PCLX=726004000NoYesNoYes
Sheet1
Cell Formulas
RangeFormula
B3=IFERROR(IF(SEARCH(B$1,$A3)> 1,"Yes","No"),"No")


Copy the formula in B3 across to E3 then copy all down to B5:E5.
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,332
Members
449,077
Latest member
jmsotelo

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