I have about 3000 lines of data and need a high level formula to help me "find" a single value(word) in a cell. Then return that value in a corresponding cell. I am using this formula =IF(ISNUMBER(SEARCH("X", A2)),"X","NA")
IE:
<TABLE style="WIDTH: 328pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=436 border=0 x:str><COLGROUP><COL style="WIDTH: 164pt; mso-width-source: userset; mso-width-alt: 9301" span=2 width=218><TBODY><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl20 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 164pt; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" width=218 height=22><TABLE style="WIDTH: 328pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=436 border=0 x:str><COLGROUP><COL style="WIDTH: 164pt; mso-width-source: userset; mso-width-alt: 9301" span=2 width=218><TBODY><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl22 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 164pt; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" width=218 height=22>x t v w q s p</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 164pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=218 x:fmla='=IF(ISNUMBER(SEARCH("X", A1)),"X","NA")'>X</TD></TR><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl22 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" height=22>a l e</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" x:fmla='=IF(ISNUMBER(SEARCH("X", A2)),"X","NA")'>NA</TD></TR><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl22 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" height=22>x t w q</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" x:fmla='=IF(ISNUMBER(SEARCH("X", A3)),"X","NA")'>X</TD></TR><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl22 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" height=22>q a s o</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" x:fmla='=IF(ISNUMBER(SEARCH("X", A4)),"X","NA")'>NA
</TD></TR></TBODY></TABLE>My dilemma is I also need to pull out another value at the same time. So I need a formula that will search one data column for two values, lets say "X" and "A", and if not found return "NA". Any help is much appreciated!</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 164pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=218 x:fmla='=IF(ISNUMBER(SEARCH("X", A1)),"X","NA")'></TD></TR><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl20 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" height=22></TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" x:fmla='=IF(ISNUMBER(SEARCH("X", A2)),"X","NA")'></TD></TR><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl20 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" height=22></TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" x:fmla='=IF(ISNUMBER(SEARCH("X", A3)),"X","NA")'></TD></TR><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl20 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" height=22></TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" x:fmla='=IF(ISNUMBER(SEARCH("X", A4)),"X","NA")'></TD></TR></TBODY></TABLE>
IE:
<TABLE style="WIDTH: 328pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=436 border=0 x:str><COLGROUP><COL style="WIDTH: 164pt; mso-width-source: userset; mso-width-alt: 9301" span=2 width=218><TBODY><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl20 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 164pt; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" width=218 height=22><TABLE style="WIDTH: 328pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=436 border=0 x:str><COLGROUP><COL style="WIDTH: 164pt; mso-width-source: userset; mso-width-alt: 9301" span=2 width=218><TBODY><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl22 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 164pt; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" width=218 height=22>x t v w q s p</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 164pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=218 x:fmla='=IF(ISNUMBER(SEARCH("X", A1)),"X","NA")'>X</TD></TR><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl22 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" height=22>a l e</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" x:fmla='=IF(ISNUMBER(SEARCH("X", A2)),"X","NA")'>NA</TD></TR><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl22 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" height=22>x t w q</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" x:fmla='=IF(ISNUMBER(SEARCH("X", A3)),"X","NA")'>X</TD></TR><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl22 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" height=22>q a s o</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" x:fmla='=IF(ISNUMBER(SEARCH("X", A4)),"X","NA")'>NA
</TD></TR></TBODY></TABLE>My dilemma is I also need to pull out another value at the same time. So I need a formula that will search one data column for two values, lets say "X" and "A", and if not found return "NA". Any help is much appreciated!</TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; WIDTH: 164pt; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" width=218 x:fmla='=IF(ISNUMBER(SEARCH("X", A1)),"X","NA")'></TD></TR><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl20 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" height=22></TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" x:fmla='=IF(ISNUMBER(SEARCH("X", A2)),"X","NA")'></TD></TR><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl20 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" height=22></TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" x:fmla='=IF(ISNUMBER(SEARCH("X", A3)),"X","NA")'></TD></TR><TR style="HEIGHT: 16.5pt; mso-height-source: userset" height=22><TD class=xl20 style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent" height=22></TD><TD style="BORDER-RIGHT: #e0dfe3; BORDER-TOP: #e0dfe3; BORDER-LEFT: #e0dfe3; BORDER-BOTTOM: #e0dfe3; BACKGROUND-COLOR: transparent" x:fmla='=IF(ISNUMBER(SEARCH("X", A4)),"X","NA")'></TD></TR></TBODY></TABLE>