+ Reply to Thread
Results 1 to 14 of 14

Need to sort tire sizes, need to sort by rim size and width.

  1. #1
    Registered User
    Join Date
    02-02-2015
    Location
    Los Angeles, CA
    MS-Off Ver
    2010
    Posts
    10

    Need to sort tire sizes, need to sort by rim size and width.

    Is it possible to sort by the reverse of a number? I need to sort a column of tire sizes but I want to group them by rim size.

    I need:

    215/45R17
    225/45R17
    225/50R17
    215/40R18
    215/45R18
    215/55R18
    225/40R18
    225/45R18
    245/45R19

    Is this possible?
    Last edited by frankunited; 02-03-2015 at 06:37 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Need to sort tire sizes, need to sort by reverse of number.

    Hi, welcome to the forum

    Probably the easiest way for this would be to use helper columns.

    Copy the entire range to the column next to it, select Data/Text2Columns/fixed width, then sort the entire range based on that
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Need to sort tire sizes, need to sort by reverse of number.

    Hi, welcome to the forum

    Probably the easiest way for this would be to use helper columns.

    Copy the entire range to the column next to it, select Data/Text2Columns/fixed width, then sort the entire range based on that

  4. #4
    Registered User
    Join Date
    02-02-2015
    Location
    Los Angeles, CA
    MS-Off Ver
    2010
    Posts
    10

    Re: Need to sort tire sizes, need to sort by reverse of number.

    Thank you, I was hoping there would be a way to sort by last number first, then second to last and so on (without having to create new columns), but that will do the trick.

  5. #5
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Need to sort tire sizes, need to sort by reverse of number.

    This is the closest I can get and that still requires two columns. This solution can however be improved upon by the right people...
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  6. #6
    Registered User
    Join Date
    02-02-2015
    Location
    Los Angeles, CA
    MS-Off Ver
    2010
    Posts
    10

    Re: Need to sort tire sizes, need to sort by reverse of number.

    Wow, I love the second column that automatically rearranges the number, but I'm lost at the third and fourth column. It looks great as far as the tires being correctly sorted in the fourth column, but I tried to copy down the formula and it didn't work. I entered '275/35R20' into column A, column B correctly rearranged the number but I got #NUM! errors in column C and D.

    I am probably doing something wrong, I am used to working with very simple formulas in Excel. The sheet you provided is a work of art.
    Last edited by frankunited; 02-03-2015 at 03:11 PM. Reason: Clarity

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Need to sort tire sizes, need to sort by reverse of number.

    I used T2C and got the same results lol...
    F
    G
    H
    I
    J
    K
    1
    Tire data
    1
    2
    3
    4
    5
    2
    215/45R17
    215
    /
    45
    R
    17
    3
    225/45R17
    225
    /
    45
    R
    17
    4
    225/50R17
    225
    /
    50
    R
    17
    5
    215/40R18
    215
    /
    40
    R
    18
    6
    225/40R18
    225
    /
    40
    R
    18
    7
    215/45R18
    215
    /
    45
    R
    18
    8
    225/45R18
    225
    /
    45
    R
    18
    9
    215/55R18
    215
    /
    55
    R
    18
    10
    245/45R19
    245
    /
    45
    R
    19


    Sorted by 5, 3, 1

  8. #8
    Registered User
    Join Date
    02-02-2015
    Location
    Los Angeles, CA
    MS-Off Ver
    2010
    Posts
    10

    Re: Need to sort tire sizes, need to sort by reverse of number.

    Is it too late for me to apply this to a chart I am creating?

    I have most of the sizes, but I couldn't figure a way to sort them before I started inputting the dimensions.
    Attached Files Attached Files

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Need to sort tire sizes, need to sort by reverse of number.

    Enter this formula in I2 and fill down. I also deleted the empty rows at the bottom and created a table out of the data so that you can sort on any of the columns.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  10. #10
    Registered User
    Join Date
    02-02-2015
    Location
    Los Angeles, CA
    MS-Off Ver
    2010
    Posts
    10

    Re: Need to sort tire sizes, need to sort by reverse of number.

    This is amazing, thank you. I like the formatting and it keeps my conditional formatting of shading the weight gray if it is greater than dimensional weight.

    I was going to copy and paste the formula, but it looks like everything is set perfectly on the sheet you attached. I can fill down if I want to add new sizes and re-sort. I also realized I can almost get what I wanted by Sorting by Column A then by Column B - since I got as far as creating a formula to pull the rim size out of Column B. However, I prefer your method since it takes tire sizes that are formatted differently (e.g. 35x12.50R15) and places them at the very bottom.

    A big thanks to everyone for all the help!

  11. #11
    Registered User
    Join Date
    02-02-2015
    Location
    Los Angeles, CA
    MS-Off Ver
    2010
    Posts
    10

    Re: Need to sort tire sizes, need to sort by reverse of number.

    OK, I may be asking for too much now, but is it possible to create a box on the side where inputting a tire size returns the dimensions that pertain to it? I can use ctrl+F just fine, but looking for a way to make this simple for someone else to use.

    I was thinking of creating a spot either on top, beside, or maybe a new sheet. A blank box where if I input a tire size (225/40R18) the weight, dimensions, and dimensional weight appear next to it. I suppose dimensional weight is not important since it is pulled from the actual dimensions.

    EDIT:

    I have two sheets full of inventory that I am formatting so I can upload them onto my site. I am creating this chart so that I can find dimensions for each size and copy/paste them beside the sizes, but I just thought of something. I am thinking it may be possible to use a VLOOKUP formula that I can paste into a column within my inventory list so that it automatically pulls the dimensions for each tire listing by using the data within this sheet. Please tell me this is possible this would save me so much time.

    EDIT2:

    I have marked this as solved since my original question has been answered. Again, I greatly appreciate the help I received and am impressed with the quality and quickness. I will finish filling out my sheet with data for all the tire sizes and will post my VLOOKUP question once it has been completed.
    Last edited by frankunited; 02-03-2015 at 06:13 PM.

  12. #12
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Need to sort tire sizes, need to sort by rim size and width.

    I'm not sure that I understand. If you are wanting to add your additional data to the table, just copy and paste the correct values directly under the table. The table will expand to accept the new data and any formulae that are in the present table will be automatically copied down the length of the expanded table.

    Maybe this is what you are after: (formula entered in K12 and filled across)

    K
    L
    M
    N
    O
    P
    10
    195/70R14
    =VLOOKUP($K$10,$B$2:$H$144,COLUMNS($A$1:B1),0)
    11
    Weight
    Length
    Width
    Height
    xx
    Dimensional Weight
    12
    17
    25
    25
    8
    0
    31

  13. #13
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Need to sort tire sizes, need to sort by rim size and width.

    Sorry, stumbled on this and had to correct it. My old solution was too mad, must have been really tired. Maybe someone will stumble on this in the future and make use of it. Sorting tire sizes.
    Attached Files Attached Files

  14. #14
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,292

    Re: Need to sort tire sizes, need to sort by rim size and width.

    If the type designation 215 / 45R17 can be sorted with a single array formula.
    Attached Files Attached Files

+ 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. Replies: 2
    Last Post: 01-15-2014, 09:31 AM
  2. Replies: 4
    Last Post: 11-20-2012, 06:00 PM
  3. Sort data table legend in reverse order of vertical axis
    By Robertjb1 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-01-2011, 11:13 AM
  4. How to sort a column in reverse (right-to-left)
    By retman in forum Excel General
    Replies: 5
    Last Post: 03-31-2005, 12:06 PM
  5. [SOLVED] sort in reverse order
    By sugarraisin in forum Excel General
    Replies: 1
    Last Post: 01-05-2005, 01:06 AM

Tags for this Thread

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