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:

[TABLE="width: 500"]
<tbody>[TR]
[TD]Value[/TD]
[TD]709226000[/TD]
[TD][TABLE="width: 70"]
<tbody>[TR]
[TD="class: xl65, width: 70"]726002000[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 70"]
<tbody>[TR]
[TD="class: xl65, width: 70"]370235000[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 70"]
<tbody>[TR]
[TD="class: xl65, width: 70"]726005000[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]PCLO=709226000
PCLX=709223000
PCLX=709224000
PCLX=709225000


[/TD]
[TD]Yes[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]PCLO=370389000
PCLX=370230000
PCLX=370235000



[/TD]
[TD]No[/TD]
[TD]No[/TD]
[TD]Yes[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD]PCLX=713186000
PCLX=726002000
PCLX=726003000
PCLX=726004000
PCLX=726005000




[/TD]
[TD]No[/TD]
[TD]Yes[/TD]
[TD]No[/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

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,224,823
Messages
6,181,175
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