+ Reply to Thread
Results 1 to 4 of 4

Using INDIRECT within MINIFS and MAXIFS

  1. #1
    Registered User
    Join Date
    06-01-2022
    Location
    Esbjerg, Denmark
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (16.0.14326.20936) 64-bit
    Posts
    3

    Question Using INDIRECT within MINIFS and MAXIFS

    I use this formula to find a minimum value in a column of numbers: =MAXIFS(BG7:BG10000;BG7:BG10000;"<1.04") giving the correct answer in this case 1.03822

    So works fine - but I would like to be able to change the "<1.04" criteria using an external cell.....

    I have tried this: =MINIFS(BG7:BG10000;BG7:BG10000;INDIRECT("">"&A2&""")) but I just get a clean 0 as answer (A2 cell contains the 1.04 value).

    Could you pls advice?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Using INDIRECT within MINIFS and MAXIFS

    Just this:

    =MAXIFS(BG7:BG10000;BG7:BG10000;"<"&$A$2)

    or this (whichever you really mean):

    =MAXIFS(BG7:BG10000;BG7:BG10000;">"&$A$2)

    Administrative Note:

    Members will tailor the solutions they offer to the version (NOT release number) of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    06-01-2022
    Location
    Esbjerg, Denmark
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (16.0.14326.20936) 64-bit
    Posts
    3

    Re: Using INDIRECT within MINIFS and MAXIFS

    Thank you very much AliGW - works perfectly!
    EXCEL syntax is at times not super logical. Hope I acted correctly by following your first advice - namely to start a new thread on my issue.
    Cheers,
    Thomas

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Using INDIRECT within MINIFS and MAXIFS

    Yes, you did, and no, it's not, but you CAN learn it.

    Glad to have helped.

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

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) 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 all those who offered help.

+ 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] Using Subtotal to calculate AVERGEIF, MAXIFS and MINIFS on filtered dataset
    By SandraC in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-19-2022, 04:33 PM
  2. MINIFS formula works only sometimes
    By phrankndonna in forum Excel General
    Replies: 2
    Last Post: 03-01-2021, 08:51 AM
  3. Problem with MINIFS and MAXIFS
    By mimich in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-21-2019, 01:29 PM
  4. Replies: 3
    Last Post: 07-24-2019, 11:59 PM
  5. [SOLVED] MAXIFS and MINIFS not available
    By TFiske in forum Excel General
    Replies: 7
    Last Post: 05-08-2019, 11:27 PM
  6. Excel Help MINIFS
    By wolf767 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2015, 06:55 AM
  7. Minifs, maxifs, averageifs, medianifs, coeffvarifs
    By qwertyjjj in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-30-2014, 07:48 PM

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