convert 3n bro

as show  here

asaaaaaa111111.PNG
here the file
29088846a__3n_bro_from_pair_to.xlsb
ADRIANA PACCOUNTING ASSISTANTAsked:
Who is Participating?
 
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Please give this a try...

Sub BRO()
Dim lr As Long, i As Long, j As Long
Dim x, y()
Dim NumStr As String
Application.ScreenUpdating = False

lr = Cells(Rows.Count, "CD").End(xlUp).Row
x = Range("CD7:CD" & lr).Value
ReDim y(1 To UBound(x, 1), 1 To 1)

On Error Resume Next
For i = 1 To UBound(x, 1)
    If x(i, 1) <> "" Then
        If IsNumeric(x(i, 1)) Then
            NumStr = Right(Mid(x(i, 1), 1, 1) + 5, 1) & Right(Mid(x(i, 1), 2, 1) + 5, 1)
            y(i, 1) = NumStr
        End If
    End If
Next i
Range("CC7:CC" & lr).NumberFormat = "@"
Range("CC7").Resize(lr, 1).Value = y
Application.ScreenUpdating = True
End Sub

Open in new window

29088846a__3n_bro_from_pair_to.xlsb
1
 
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
No file.
1
 
ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
now is .
0
 
ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
Great Job

Best Expert !!
1
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.