+ Reply to Thread
Results 1 to 7 of 7

GoogleSheets: Minifs with ABS?

  1. #1
    Registered User
    Join Date
    10-19-2022
    Location
    Canada
    MS-Off Ver
    Google Sheets
    Posts
    4

    GoogleSheets: Minifs with ABS?

    I have this formula which has been serving me well for a while now.. but I need to change it so that it captures the minimum absolute value, rather than the minimum value.

    =Minifs($AE$1:AE53,$C$1:C53,C54)

    This does not work:

    =Minifs(ABS($AE$1:AE53),$C$1:C53,C54)

    I tried using Filter function:

    =Min(Filter(ABS($AE$1:AE53),$C$1:C53=C54))

    But this gives me a circular dependency error, even though the formula is not on a row in the filter range.


    Any ideas?

    Thanks in advance for any tips.

    Maria

  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. 2501 (Windows 11 24H2 64-bit)
    Posts
    89,063

    Re: Minifs with ABS?

    Welcome to the forum.

    YOu posted in the wrong section if this is for GoogleSheets - I am moving the thread for you.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,839

    Re: GoogleSheets: Minifs with ABS?

    Quote Originally Posted by googlesheet View Post
    I tried using Filter function:

    =Min(Filter(ABS($AE$1:AE53),$C$1:C53=C54))

    But this gives me a circular dependency error, even though the formula is not on a row in the filter range.
    That works fine for me. Can you post a link to a sheet where it doesn't work?
    Everyone who confuses correlation and causation ends up dead.

  4. #4
    Registered User
    Join Date
    10-19-2022
    Location
    Canada
    MS-Off Ver
    Google Sheets
    Posts
    4
    Thanks so much, AliGW!! I'm still trying to find my way around here! 😊

  5. #5
    Registered User
    Join Date
    10-19-2022
    Location
    Canada
    MS-Off Ver
    Google Sheets
    Posts
    4
    Quote Originally Posted by rorya View Post
    That works fine for me. Can you post a link to a sheet where it doesn't work?
    I turned on the setting to allow iterative calculations, and now it works!

    Thanks so much 🙃

  6. #6
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,839

    Re: GoogleSheets: Minifs with ABS?

    You shouldn’t need that unless the formula is in one of those ranges, or you’ve set up a circular reference somehow.

  7. #7
    Registered User
    Join Date
    10-19-2022
    Location
    Canada
    MS-Off Ver
    Google Sheets
    Posts
    4

    Re: GoogleSheets: Minifs with ABS?

    Thanks Rorya, found the circular reference, which I somehow missed as it only occurs on the first row! All fixed :-)

+ 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. Using INDIRECT within MINIFS and MAXIFS
    By Thomas Blume in forum Excel General
    Replies: 3
    Last Post: 06-02-2022, 06:00 AM
  2. MINIFS to find the second lowest value
    By Badvgood in forum Excel General
    Replies: 1
    Last Post: 06-09-2021, 04:37 AM
  3. MINIFS formula works only sometimes
    By phrankndonna in forum Excel General
    Replies: 2
    Last Post: 03-01-2021, 08:51 AM
  4. Problem with MINIFS and MAXIFS
    By mimich in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-21-2019, 01:29 PM
  5. Min dmin minif minifs min+if
    By Pawnar in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 07-06-2019, 06:51 AM
  6. [SOLVED] MAXIFS and MINIFS not available
    By TFiske in forum Excel General
    Replies: 7
    Last Post: 05-08-2019, 11:27 PM
  7. Excel Help MINIFS
    By wolf767 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2015, 06:55 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