+ Reply to Thread
Results 1 to 7 of 7

Sort function with Indirect formula

  1. #1
    Forum Contributor
    Join Date
    02-14-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    128

    Sort function with Indirect formula

    Hi All,

    I would like to sort the range with two criteria from other sheets. I have created a formula for single sheet but I couldn't do that with Indirect function based on cell value.

    =sort('13-Dec-21'!B2:F100,match('13-Dec-21'!E2:E100,{"RED";"Amber";"Green"},0),true,match('13-Dec-21'!D2:D100,{"TR";"IR"},0),true)

    Any help would be appreciated. Thanks!
    Attached Files Attached Files
    Last edited by Manikandan Arumugam; 12-17-2021 at 01:51 AM. Reason: File attachement
    Manikandan Arumugam
    Excel Learner

  2. #2
    Forum Contributor
    Join Date
    02-14-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    128

    Re: Sort function with Indirect formula

    Anyone please help!

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: Sort function with Indirect formula

    Please see yellow banner at top of page on how to post a sample workbook.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    Forum Contributor
    Join Date
    02-14-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    128

    Re: Sort function with Indirect formula

    Thanks for your time, John. I have attached the file. Actually am looking help for Google Spreadsheet.

  5. #5
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Sort function with Indirect formula

    Try

    =sort(INDIRECT(TEXT(B1,"'dd-mmm-yy'!")&"B2:F100"),MATCH(INDIRECT(TEXT(B1,"'dd-mmm-yy'!")&"E2:E100"),{"RED";"Amber";"Green"},0),1,MATCH(INDIRECT(TEXT(B1,"'dd-mmm-yy'!")&"D2:D100"),{"TR";"IR"},0),1)

  6. #6
    Forum Contributor
    Join Date
    02-14-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    128

    Re: Sort function with Indirect formula

    Thanks Bo_Ry. You made my day! Its working fine!

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,871

    Re: Sort function with Indirect formula

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Formula is not working - need indirect function?
    By lexusap in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-23-2015, 06:36 PM
  2. [SOLVED] INDIRECT function on this formula
    By zanshin777 in forum Excel General
    Replies: 9
    Last Post: 02-12-2015, 11:04 PM
  3. [SOLVED] Need help! Using the INDIRECT function within a SUMIF formula
    By Kshari in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-02-2014, 07:27 PM
  4. Replies: 2
    Last Post: 04-26-2011, 09:01 AM
  5. INDIRECT Function formula help
    By PARTRIM in forum Excel General
    Replies: 1
    Last Post: 12-06-2010, 05:16 PM
  6. Function INDIRECT and SORT
    By Capone in forum Excel General
    Replies: 4
    Last Post: 01-08-2009, 09:24 AM
  7. [SOLVED] Sort cells populated with an Indirect function.
    By JonR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-20-2006, 11:20 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