+ Reply to Thread
Results 1 to 3 of 3

Rank cells with commas

  1. #1
    Registered User
    Join Date
    11-30-2009
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    30

    Rank cells with commas

    I have a list of numbers that looks like:

    1,2,3,2,0
    3,1,2,4,1
    4,5,6,7,8

    etc

    and i've tried using the SMALL formula to rank them but it keeps coming up with an error message like #VALUE. Is there a modification i can make to the formula that will allow me to rank them even with commas in?


    OR



    is there a formula that will REMOVE commas?



    Thanks a bunch guys.
    W

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Formula that ranks cells with commas in?

    If those values were in column A, then in B1 enter this:

    =SUBSTITUTE(A1, ",", "") + 0

    Copy that down. Now run a RANK() on the new values in column B.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Formula that ranks cells with commas in?

    If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].

+ 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