Preceding zeros, search

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,860
Office Version
  1. 365
Platform
  1. Windows
Hello,

<TABLE style="WIDTH: 112pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=149 border=0 x:str><COLGROUP><COL style="WIDTH: 112pt; mso-width-source: userset; mso-width-alt: 4768" width=149><TBODY><TR style="HEIGHT: 14.25pt" height=19><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; WIDTH: 112pt; BORDER-BOTTOM: #ece9d8; HEIGHT: 14.25pt; BACKGROUND-COLOR: transparent" align=left width=149 height=19>I have numbers like this in column A,

0WND60061F62
</TD></TR><TR style="HEIGHT: 14.25pt" height=19><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 14.25pt; BACKGROUND-COLOR: transparent" align=left height=19>0WS00WFPML08</TD></TR><TR style="HEIGHT: 14.25pt" height=19><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 14.25pt; BACKGROUND-COLOR: transparent" align=left height=19>0WS00WFPML08</TD></TR><TR style="HEIGHT: 14.25pt" height=19><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 14.25pt; BACKGROUND-COLOR: transparent" align=left height=19>0WS00WFPML08</TD></TR><TR style="HEIGHT: 14.25pt" height=19><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 14.25pt; BACKGROUND-COLOR: transparent" align=left height=19>0WS00WFPML08</TD></TR><TR style="HEIGHT: 14.25pt" height=19><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 14.25pt; BACKGROUND-COLOR: transparent" align=left height=19>0WS00WFPML08</TD></TR><TR style="HEIGHT: 14.25pt" height=19><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 14.25pt; BACKGROUND-COLOR: transparent" align=left height=19>0WS00WFPML08</TD></TR><TR style="HEIGHT: 14.25pt" height=19><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 14.25pt; BACKGROUND-COLOR: transparent" align=left height=19>T7OLIVERGBX</TD></TR><TR style="HEIGHT: 14.25pt" height=19><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 14.25pt; BACKGROUND-COLOR: transparent" align=left height=19>T7OLIVERGBX</TD></TR><TR style="HEIGHT: 14.25pt" height=19><TD style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 14.25pt; BACKGROUND-COLOR: transparent" align=left height=19>T7OLIVERGBX

I want to compare (match) it to column B, but column B, does not have the Zeros, before the numbers, I need a formula that ignore zero and match the number. I used conditional formatting using, =SUMPRODUCT(--ISNUMBER(SEARCH($B$1:$B:B$1000,A1))), But does not working correctly.
</TD></TR></TBODY></TABLE>


Thanks
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Thanks Alynn, but your formula gives the same result as mine.
 
Upvote 0
Excel Workbook
ABC
10WND60061F62WND60061F62TRUE
20WS00WFPML08WS00WFPML08TRUE
30WS00WFPML08WS00WFPML07FALSE
40WS00WFPML08WS00WFPML09FALSE
50WS00WFPML08WS00WFPML08TRUE
60WS00WFPML08WS00WFPML08TRUE
70WS00WFPML08WS00WFPML08TRUE
8T7OLIVERGBXT7OLIVERG1FALSE
9T7OLIVERGBXT7OLIVERGBXTRUE
10T7OLIVERGBXT7OLIVERGBXTRUE
Sheet2
Excel 2003
Cell Formulas
RangeFormula
C1=ISNUMBER(SEARCH(B1,$A$1:$A$1000))
C2=ISNUMBER(SEARCH(B2,$A$1:$A$1000))
C3=ISNUMBER(SEARCH(B3,$A$1:$A$1000))
C4=ISNUMBER(SEARCH(B4,$A$1:$A$1000))
C5=ISNUMBER(SEARCH(B5,$A$1:$A$1000))
C6=ISNUMBER(SEARCH(B6,$A$1:$A$1000))
C7=ISNUMBER(SEARCH(B7,$A$1:$A$1000))
C8=ISNUMBER(SEARCH(B8,$A$1:$A$1000))
C9=ISNUMBER(SEARCH(B9,$A$1:$A$1000))
C10=ISNUMBER(SEARCH(B10,$A$1:$A$1000))
 
Upvote 0

Forum statistics

Threads
1,224,537
Messages
6,179,408
Members
452,912
Latest member
alicemil

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