Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On 22 out, 16:52, "Bernie Deitrick" <deitbe @ consumer dot org wrote:
Luciano, Why not GQG and AGGA also? Can each individual character only be used once? HTH, Bernie MS Excel MVP "Luciano Paulino da Silva" wrote in ... Dear all, Some time ago (http://groups.google.com.br/group/ microsoft.public.excel.worksheet.functions/browse_thread/thread/ 6b068321053a5c90/c6dcff10540e4bc2?q=palindromes+excel+bernie&lnk=ol &) Bernie Deitrick helped me to solve a problem related to palindromes and repeats detection on a string of letters. At present, I need perform some change on that macros in order to detect non-redundant palindromes and repeats. In this way, for the sequence bellow my solution it would be: QGAGAAAAAAAAGGAGQGG 13 Palindromes detected GAG AGA GAAAAAAAAG AA AAA AAAA AAAAA AAAAAA AAAAAAA AAAAAAAA AGGA GG GQG 1 3 Now the solution it would be: QGAGAAAAAAAAGGAGQGG 13 Non-redundant Palindromes detected GAG GAAAAAAAAG GG The big palindromes should be preferred in the occurrences. Thanks in advance, Luciano Dear Bernie, In this case, the palindromes GQG and AGGA should not be detected because they are part of the other palindromes previously detected or bigger than them. Yes, each palindrome should be used once. Thank you for your attention, Luciano |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro for detect palindromes and repeats in letters/numbers string | Excel Worksheet Functions | |||
Macro for detect palindromes and repeats in letters/numbers string | New Users to Excel | |||
how do i find palindromes using excel? | Excel Worksheet Functions | |||
how do i calculate palindromes in Excel? | Excel Discussion (Misc queries) |