+ Reply to Thread
Results 1 to 7 of 7

Sort numbers & drag across corresponding column text

  1. #1
    Registered User
    Join Date
    10-09-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    41

    Sort numbers & drag across corresponding column text

    Hi Guys,

    I've stumped myself and would really appreciate any help you could provide me.

    I'm trying to find a formula which will sort my numbers in descending order, but also bring across the appropriate text corresponding to that number. This needs to be a formula because I need to use it in multiple sheets so it updates when new data is dumped in.

    In the attachment I have my data in column C and D. And in column F and G it has the result i'm looking for.

    I have tried a formula which contains Index, Match and Count If but i can't seem to get it to work. Hopefully you can help!

    Cheers
    Rooboyz
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    07-09-2012
    Location
    India
    MS-Off Ver
    Excel 97/2003/2007/2010
    Posts
    67

    Re: Sort numbers & drag across corresponding column text

    hi rooboyz,

    have first row of that c and d column any heaters like (name, qty)

    then click at any where in the c and d clumn and go to the data tap and select the filter option, then you will get the filter option in the first column.
    go to the d colum filter option click sort largest to smallest, then you get the result.


    find the attached file...

    thanks and regards,

    sathya
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Sort numbers & drag across corresponding column text

    OK so there are 2 parts to this: Sorting and Matching, so first I did the Sort in a column, then the Match
    1. Sort this formula works: =IFERROR(LARGE($D$1:$D$15,ROW()),0)
    2. Match ... here I have a problem with the duplicates but I used; =INDEX($C$1:$C$15,MATCH(J1,$D$1:$D$15,0)) but the duplicate "0" gave me an issue that maybe you or someone else can solve...

    Cheers

  4. #4
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Sort numbers & drag across corresponding column text

    So I found away around it but it requires an extra formula in col C so have a look at this:

    LARGE AND SORT.xlsx


  5. #5
    Registered User
    Join Date
    10-09-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Sort numbers & drag across corresponding column text

    Quote Originally Posted by Ursul View Post
    So I found away around it but it requires an extra formula in col C so have a look at this:

    Attachment 271319

    That's perfect thank you!

    I was having a heap of issues trying to get it to work over two columns and also handle the duplicates. But that extra column makes a huge difference. Thanks again!


  6. #6
    Registered User
    Join Date
    10-09-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Sort numbers & drag across corresponding column text

    Quote Originally Posted by sathiyamoorthy View Post
    hi rooboyz,

    have first row of that c and d column any heaters like (name, qty)

    then click at any where in the c and d clumn and go to the data tap and select the filter option, then you will get the filter option in the first column.
    go to the d colum filter option click sort largest to smallest, then you get the result.


    find the attached file...

    thanks and regards,

    sathya

    Thanks for taking a look!

  7. #7
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Sort numbers & drag across corresponding column text

    Thanks Sathya, I appreciate the feedback and you are most welcome.

    Pleased to help a fellow Aussie!

    Please mark this Thread as "SOLVED" and if you don't mind click the little "add Reputation" at the bottom left of this post.

+ 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. [SOLVED] sort using vba want to sort text-as-numbers
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-26-2013, 11:46 AM
  2. Replies: 8
    Last Post: 06-03-2013, 05:34 PM
  3. [SOLVED] How to sort Numbers & Text in one column -- Pivot mixes them up
    By markDuffy in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 02-16-2013, 11:09 AM
  4. How to sort Numbers & Text in one column -- Pivot mixes them up
    By markDuffy in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-14-2013, 03:36 PM
  5. Replies: 5
    Last Post: 04-26-2006, 09:10 PM

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