+ Reply to Thread
Results 1 to 14 of 14

Formula to Organize Combined Values [11111/111]

  1. #1
    Forum Contributor
    Join Date
    10-05-2010
    Location
    CA
    MS-Off Ver
    Excel 365
    Posts
    539

    Question Formula to Organize Combined Values [11111/111]

    Hello,
    I have a formula that scans one column searching for different numbers and it list them in order without listing the same value twice. Unfortunately the formula doesn’t work with number combos I have in certain cells, so I need a new formula that works with numbers that are formatted like this [11111/111].

    I have an example of what I’m looking for below and a spreadsheet with an example is attached for a better understanding.

    Example:
    Column B: Numbers
    12323/212
    12323/211
    12532/321
    12532/322
    12532/321
    12532/121
    31222/111
    31222/121
    31222/111
    31222/113
    11222/211
    11222/221
    11222/111
    11522/321
    11522/321

    Column D: Formula Should Equal (Listed in order without repeats)
    11222/111
    11222/211
    11222/221
    11522/321
    12323/211
    12323/212
    12532/121
    12532/321
    12532/322
    31222/111
    31222/113
    31222/121



    Thank you in advance for any and all help.
    Attached Files Attached Files
    Last edited by artiststevens; 02-12-2014 at 01:21 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula to Organize Combined Values [11111/111]

    Copy col B to a convenient column, select the column, Data > Remove Duplicates, then sort:

    D
    1
    Combo of Combos (5 lines)
    2
    11135/223
    3
    11222/111
    4
    11222/211
    5
    11222/221
    6
    11225/223
    7
    11253/232
    8
    11351/232
    9
    11455/232
    10
    11522/321
    11
    11533/222
    12
    12323/211
    13
    12323/212
    14
    12345/223
    15
    12532/121
    16
    12532/321
    17
    12532/322
    18
    16555/113
    19
    27444/133
    20
    31222/111
    21
    31222/113
    22
    31222/121
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to Organize Combined Values [11111/111]

    Or you can use this formula in C2 and copy down

    =INDEX($B$2:$B$41,MATCH(0,INDEX(COUNTIF($C$1:C1,$B$2:$B$41),,),))
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Forum Contributor
    Join Date
    10-05-2010
    Location
    CA
    MS-Off Ver
    Excel 365
    Posts
    539

    Re: Formula to Organize Combined Values [11111/111]

    That's exactly what I was looking for. Thank you.

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to Organize Combined Values [11111/111]

    You're welcome and thank you for your feedback!

    Please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools-> Mark thread as Solved).

  6. #6
    Forum Contributor
    Join Date
    10-05-2010
    Location
    CA
    MS-Off Ver
    Excel 365
    Posts
    539

    Re: Formula to Organize Combined Values [11111/111]

    I prematurely marked this as [Solved] and it's not quite working the way I need it to. I attached another spreadsheet to further explain. Any help would be greatly appreciated.
    Attached Files Attached Files

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to Organize Combined Values [11111/111]

    The formula I provided is to extract unique values. I am not sure how it can be organized since these vales are text and not numbers.

  8. #8
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,371

    Re: Formula to Organize Combined Values [11111/111]

    Try this....

    =IFERROR(INDEX($B$2:$B$4818,MATCH(0,COUNTIF($B$2:$B$4818,"<"&$B$2:$B$4818)-SUM(COUNTIF($B$2:$B$4818,C$1:C1)),0)),"")

    Array Formula, will slow down your computer......

    Cheers
    Azumi

  9. #9
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,371

    Re: Formula to Organize Combined Values [11111/111]

    Put in C2 and dragged down

  10. #10
    Forum Contributor
    Join Date
    10-05-2010
    Location
    CA
    MS-Off Ver
    Excel 365
    Posts
    539

    Re: Formula to Organize Combined Values [11111/111]

    Thank you Azumi I appreciate the help but you are right this array is extremely slow. Is there a faster way to calculate this?

  11. #11
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,371

    Re: Formula to Organize Combined Values [11111/111]

    The key is the data, too much to calculate.... maybe other member have better solution....

    Cheers

  12. #12
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Formula to Organize Combined Values [11111/111]

    hi there. did you try shg's method? that would work fast. you can even record into a macro if you want to save the steps. go to View -> Macros -> Record Macro. give it a name & save in ThisWorkbook.
    1. Select the entire Column B.
    2. Copy
    3. Select the entire Column D
    4. Paste
    5. go to Data -> Remove Duplicates -> OK
    6. go to Data -> Sort -> OK
    7. go to View -> Macros -> Stop Recording. you are done

    to play it, go to View -> Macros (selecting the upper portion of the icon brings you to view macros straight. selecting lower part with the arrow would need you to select View Macros). select your macro & play

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  13. #13
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to Organize Combined Values [11111/111]

    Please find attached vba macro solution that works extremely fast. Just press a button and it's done!
    Attached Files Attached Files

  14. #14
    Forum Contributor
    Join Date
    10-05-2010
    Location
    CA
    MS-Off Ver
    Excel 365
    Posts
    539

    Re: Formula to Organize Combined Values [11111/111]

    I wanted to say thank you very much for all of the help with solving this problem. It is greatly appreciated. I've given rep to all of you and thank you once again and big thanks to AlKey, that VBA macro is amazing!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Find and Organize Values After a Specific Sequence
    By BJaniston777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-25-2013, 10:16 PM
  2. [SOLVED] Formula to Organize Values In Order No Repeats
    By artiststevens in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-22-2013, 08:08 PM
  3. Organize data based on Certain Values then smallest to largest
    By thelegazy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-23-2013, 12:29 PM
  4. Pick values from one column and organize in another
    By jediguran in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-02-2009, 07:56 AM
  5. How can I organize values from one table to another.
    By Felipe Leon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-22-2005, 03:10 AM

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