+ Reply to Thread
Results 1 to 6 of 6

Conditional Sorting Formula

  1. #1
    Registered User
    Join Date
    09-26-2016
    Location
    Islamabad, Pakistan
    MS-Off Ver
    2013
    Posts
    14

    Conditional Sorting Formula

    Hi everyone, I have explained my problem in the picture and file attached. Please help me out in driving the formula for the values in last column. I would really appreciate the help.QQuestion.png
    Attached Files Attached Files

  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,946

    Re: Conditional Sorting Formula

    Is this what you want?
    =INDEX($D$2:$D$14,MATCH(A2&" "&B2&" "&"X",INDEX($A$2:$A$14&" "&$B$2:$B$14&" "&$C$2:$C$14,0),0))
    copied down
    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
    Registered User
    Join Date
    09-26-2016
    Location
    Islamabad, Pakistan
    MS-Off Ver
    2013
    Posts
    14

    Re: Conditional Sorting Formula

    Thanks
    Works Perfectly Fine for me

  4. #4
    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,946

    Re: Conditional Sorting Formula

    Good stuff, happy to help

  5. #5
    Registered User
    Join Date
    09-26-2016
    Location
    Islamabad, Pakistan
    MS-Off Ver
    2013
    Posts
    14

    Re: Conditional Sorting Formula

    Hey, this formula works perfectly fine with me but my data is humongous so I had to remove the $ signs and insert complete columns in it. Like D:D. Now this formula is working completely fine for me until I reach a random cell say 2023 where the formula starts returning values which aren't what was dictated in the formula. Why is that the formula works fine halfway through the spreadsheet and then starts behaving incorrectly?

  6. #6
    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,946

    Re: Conditional Sorting Formula

    Can you show me what your revised formula looks like?

+ 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] I require sorting formula in excel sheet with complex sorting.
    By kaminanirav in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-24-2015, 08:16 AM
  2. [SOLVED] Conditional Sorting
    By djh30 in forum Excel General
    Replies: 2
    Last Post: 07-08-2013, 01:23 PM
  3. conditional sorting
    By Ahmad1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-24-2011, 07:04 AM
  4. Formula to enable sorting of conditional formatting
    By jpruffle in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-23-2008, 09:37 AM
  5. Conditional sorting
    By Psyke45 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-24-2007, 10:51 AM
  6. formula. :Conditional Sorting
    By Remotruker in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-03-2006, 07:50 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