ADRIANA P
asked on
Button to show the TRI 4N WK
column BF is the source
it have an 13 rows (1set)
then need the TRI repeat (2 or more )
for each set
and show in column CJ and the count in column CK
29085562--1-_range_ok_4N.xlsm
it have an 13 rows (1set)
then need the TRI repeat (2 or more )
for each set
and show in column CJ and the count in column CK
29085562--1-_range_ok_4N.xlsm
You didn't attach a workbook.
ASKER
sorry !
upload now
upload now
If BF is the source, why do you call this "TRI", meaning three?
ASKER
Martin
Yes
because are three digit repeat
If BF is the source, why do you call this "TRI", meaning three?
Yes
because are three digit repeat
ASKER
Try this.
29085662.xlsm
29085662.xlsm
I thought you were looking for "215" rather than the 215 in 2615 (for example).
If the 4-digit number were 5162, does that contain "215"?
If the 4-digit number were 5162, does that contain "215"?
ASKER
MArtin
The source column BF
is and have to be always in the order
2,4,6,8,0 then 1 ,3 ,5,7,9
If i understasnd your question
that will be always the order
not other order can be for column BF
The source column BF
is and have to be always in the order
2,4,6,8,0 then 1 ,3 ,5,7,9
If i understasnd your question
that will be always the order
not other order can be for column BF
ASKER
If the 4-digit number were 5162, does that contain "215"
yes but the order is the law
According to the "law" does 2615 contain both 215 and 615?
Please attach a copy of the workbook that those results came from.
ASKER
I don't see those results anywhere in that workbook.
ASKER
OK, let me see if I can figure out how this works.
There's some very clever code there.
I'll be back tomorrow.
I'll be back tomorrow.
A complaint I have about some coders is that when they create complicated code, they sometimes don't document that code and that can make it difficult for others (or themselves a few months later) to understand. That was the case with the 4n_tri_V workbook you supplied. Perhaps a better coder than I could have figured it out but I gave up and created and documented my own code which I understand. If you are interested in what I'm talking about then see my A Guide to Writing Understandable and Maintainable VBA Code article.
Check the results carefully because what you wanted was difficult to do.
29085662a.xlsm
Check the results carefully because what you wanted was difficult to do.
29085662a.xlsm
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great JOB !!
Best Expert !
Best Expert !