Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default How can I find repeated numbers that are transposed?

I have a row with numbers like this:
123
456
231
794
344
645
How can I find the numbers that are repeated though their digits are
transposed?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default How can I find repeated numbers that are transposed?

One possible way:

Use a helper column.
=LEFT(A1,1)+MID(A1,2,1)+RIGHT(A1,1)

Then in another column use:
=IF(AND(COUNTIF(B$1:B$6,B1)1,COUNTIF(A$1:A$6,A1)= 1),"Possibly
Transposed","OK")

HTH,
Paul


"brokerdee" wrote in message
...
I have a row with numbers like this:
123
456
231
794
344
645
How can I find the numbers that are repeated though their digits are
transposed?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default How can I find repeated numbers that are transposed?

Paul,
When I did the second formula, it only showed the word "OK" in the column.
Thank you!

"PCLIVE" wrote:

One possible way:

Use a helper column.
=LEFT(A1,1)+MID(A1,2,1)+RIGHT(A1,1)

Then in another column use:
=IF(AND(COUNTIF(B$1:B$6,B1)1,COUNTIF(A$1:A$6,A1)= 1),"Possibly
Transposed","OK")

HTH,
Paul


"brokerdee" wrote in message
...
I have a row with numbers like this:
123
456
231
794
344
645
How can I find the numbers that are repeated though their digits are
transposed?




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default How can I find repeated numbers that are transposed?

The way this works.
In Column A, you have your values:
123
456
231
794
344
645

In Column B, you have the first formula. This formula should be copied down
as necessary for the number of rows in use.
=LEFT(A1,1)+MID(A1,2,1)+RIGHT(A1,1)

Then in Column C, you have this formula copied down as necessary.:
=IF(AND(COUNTIF(B$1:B$6,B1)1,COUNTIF(A$1:A$6,A1)= 1),"Possible
Transposed","OK")

The results should be "OK" if no possible transposed duplicate is found.
The results I came up with were as follows.


123 6 Possible Transposed
456 15 Possible Transposed
231 6 Possible Transposed
794 20 OK
344 11 OK
645 15 Possible Transposed


If you're still having a problem, please post details.
Regards,
Paul


"brokerdee" wrote in message
...
Paul,
When I did the second formula, it only showed the word "OK" in the column.
Thank you!

"PCLIVE" wrote:

One possible way:

Use a helper column.
=LEFT(A1,1)+MID(A1,2,1)+RIGHT(A1,1)

Then in another column use:
=IF(AND(COUNTIF(B$1:B$6,B1)1,COUNTIF(A$1:A$6,A1)= 1),"Possibly
Transposed","OK")

HTH,
Paul


"brokerdee" wrote in message
...
I have a row with numbers like this:
123
456
231
794
344
645
How can I find the numbers that are repeated though their digits are
transposed?






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default How can I find repeated numbers that are transposed?

Thank you, I had transposed numbers when writing the formula.

"PCLIVE" wrote:

The way this works.
In Column A, you have your values:
123
456
231
794
344
645

In Column B, you have the first formula. This formula should be copied down
as necessary for the number of rows in use.
=LEFT(A1,1)+MID(A1,2,1)+RIGHT(A1,1)

Then in Column C, you have this formula copied down as necessary.:
=IF(AND(COUNTIF(B$1:B$6,B1)1,COUNTIF(A$1:A$6,A1)= 1),"Possible
Transposed","OK")

The results should be "OK" if no possible transposed duplicate is found.
The results I came up with were as follows.


123 6 Possible Transposed
456 15 Possible Transposed
231 6 Possible Transposed
794 20 OK
344 11 OK
645 15 Possible Transposed


If you're still having a problem, please post details.
Regards,
Paul


"brokerdee" wrote in message
...
Paul,
When I did the second formula, it only showed the word "OK" in the column.
Thank you!

"PCLIVE" wrote:

One possible way:

Use a helper column.
=LEFT(A1,1)+MID(A1,2,1)+RIGHT(A1,1)

Then in another column use:
=IF(AND(COUNTIF(B$1:B$6,B1)1,COUNTIF(A$1:A$6,A1)= 1),"Possibly
Transposed","OK")

HTH,
Paul


"brokerdee" wrote in message
...
I have a row with numbers like this:
123
456
231
794
344
645
How can I find the numbers that are repeated though their digits are
transposed?






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find all numbers in database that end in... eschaet Excel Worksheet Functions 3 April 28th 06 04:38 AM
Find missing sequential numbers DTTODGG New Users to Excel 13 March 10th 06 12:56 AM
find sum in list of of numbers Jim Thomlinson Excel Discussion (Misc queries) 3 January 4th 06 09:58 PM
find sum in list of of numbers Jim Thomlinson Excel Worksheet Functions 3 January 4th 06 09:58 PM
need to find which numbers (3+) in a column sum to a value Devin Excel Discussion (Misc queries) 1 February 11th 05 10:30 PM


All times are GMT +1. The time now is 01:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"