+ Reply to Thread
Results 1 to 12 of 12

double > unique numbers!

  1. #1
    stewart08
    Guest

    double > unique numbers!

    should be simple, need help on a formula that turns doubles into unique numbers example:

    7788873 = 783

    PS each number is in a cell each....

  2. #2
    stewart08
    Guest
    any takers
    Last edited by stewart08; 04-17-2008 at 06:35 AM.

  3. #3
    stewart08
    Guest
    let me know if you need any more help...

  4. #4
    stewart08
    Guest
    at the moment I am trying to use the match function...any ideas

  5. #5
    stewart08
    Guest

    Convent repeats formula!

    this maybe be a simple task...but I'm finding it very hard to do
    I need a formula that convents repeated digits into unique digits example:

    787 = 78

    or

    7788735 = 7835

    each value has its only cell.
    being at it for days now....any ideas

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Threads merged.

    Stewart, please don't open a second thread on the same topic.

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,721
    Are you saying that 7788735 is in a single cell....or that each digit is in its own cell? What's the maximum length of the number? You want the result in a single cell?

  8. #8
    stewart08
    Guest
    daddylonglegs, yes.....each digit is in a cell each, with 6 numbers to search from...and also each digit result in a each cell.

  9. #9
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,721
    Here's one way....but it's a bit of a complex formula.....

    Assume you have up to 10 digits in A1:J1 and then K1 is blank. Use this formula in L1

    =IF(SUM(($A1:$J1<>"")/COUNTIF($A1:$J1,$A1:$J1&""))<COLUMNS($K1:K1),"", INDEX($A1:$J1,MIN(IF(ISNA(MATCH($A1:$J1,$K1:K1,0)),COLUMN($A1:$J1)-COLUMN($A1)+1))))

    confirmed with CTRL+SHIFT+ENTER and copied across to Q1

  10. #10
    stewart08
    Guest
    ok daddylonglegs, I followed your steps with CTRL+SHIFT+ENTER.

    sort of works i.e.

    1122334334 = 1232

    should return = 1234


    could you post a attach file please....

  11. #11
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    following daddylonglegs' instructions I got the desired result of 1234..
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  12. #12
    stewart08
    Guest
    get it working now

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1