some numbers don't show up

looking for V_OUT sheet

for example im looking for 65 it appear 8 times

but when hit find 2 it only show 3 times
65434677665.xlsm
ADRIANA PACCOUNTING ASSISTANTAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rgonzo1971Commented:
Hi,

I only see 3 time 65

Could you tell in which cells the 8 are?

Regards
1
ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
Rgonzo1971

Thanks ! for the fast response

well   each column have to be analyze

the 65 an be in any position of the 3 numbers

for example  56X  6x5 65  ect..

787878777878878.PNG
0
ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
787878777878878.PNG
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
65x  6x5 5x6 56x x65 x56  

any combination with the 3 digit   if 5 and 6 are then  need to be count
0
Rgonzo1971Commented:
pls try
Sub Find2V()

Dim strFind As String
Dim lngRow As Long
Dim lngCol As Long
Dim intTot As Integer
Dim intCount As Integer
Dim intSets As Integer

Sheets("V_OUT").Range("A6").EntireRow.Clear

strFind = InputBox("Enter 2-digit number to find")
If Len(strFind) <> 2 Then
    MsgBox "You must enter 2 numbers"
    Exit Sub
End If

For lngCol = 3 To ActiveSheet.UsedRange.Columns.Count Step 2
    For lngRow = 14 To 200
        If Cells(lngRow, lngCol) <> Empty Then
            If Cells(lngRow, lngCol) Like "*" & Left(strFind, 1) & "*" & Right(strFind, 1) & "*" Then
                intCount = intCount + 1
                intTot = intTot + 1
            End If
        End If
    Next
    If intCount > 0 Then
        Cells(6, lngCol) = intCount
        Cells(6, lngCol).Interior.Color = 13561798
        intSets = intSets + 1
    End If
    intCount = 0
Next
Range("A4") = strFind
Range("A6") = intSets
Range("B1") = ColumnsWithData
Range("B6") = intTot
Range(Cells(6, "A"), Cells(6, ActiveSheet.UsedRange.Columns.Count)).HorizontalAlignment = xlCenter
'UpdateHistory
End Sub

Open in new window

65434677665v1.xlsm
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
Rgonzo1971

Working As needed !

Great Expert !!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Applications

From novice to tech pro — start learning today.