+ Reply to Thread
Results 1 to 5 of 5

Make AGGREGATE function Google-friendly

  1. #1
    Registered User
    Join Date
    11-19-2019
    Location
    Europe
    MS-Off Ver
    Office 365 ProPlus
    Posts
    32

    Make AGGREGATE function Google-friendly

    Hi all,

    Fluff13 helped me create a formula that looks up today's date and then compares text in the adjacent cell for when a destination changes in my travel plan to calculate days. This is the formula that is added below "Time until next destination:"

    =AGGREGATE(15,6,C2:C25/(B2:B25<>INDEX(B2:B25,MATCH(TODAY(),C2:C25,0)))/(C2:C25>TODAY()),1)-TODAY()

    Here's the original thread.

    lEsg0Un.png

    Does anyone know how to convert the formula above to something Google-friendly? Edit: Please note that destinations can appear multiple times in the list.

    Alternately I came up with a different solution, see the helper formula column (E). If one can make a formula that countsdown when a range of text changes to something else, then I can use INDEX/MATCH to pull the number of days.

    Here's a sample sheet: https://docs.google.com/spreadsheets...it?usp=sharing. I also attached the original Excel sheet to the thread.
    Attached Files Attached Files
    Last edited by Enounce; 05-17-2021 at 03:37 AM.

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Make AGGREGATE function Google-friendly

    Does it need to work in Sheets and Excel, or just Sheets?
    Rory

  3. #3
    Registered User
    Join Date
    11-19-2019
    Location
    Europe
    MS-Off Ver
    Office 365 ProPlus
    Posts
    32

    Re: Make AGGREGATE function Google-friendly

    I think my buddy and I will migrate our travel plan to Google Sheets, so a Google Sheets only version will do.

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Make AGGREGATE function Google-friendly

    I think you could use:


    =min(filter(C3:C26,(C3:C26>today())*(B3:B26<>INDEX(B3:B26,MATCH(TODAY(),C3:C26,0)))))-today()

  5. #5
    Registered User
    Join Date
    11-19-2019
    Location
    Europe
    MS-Off Ver
    Office 365 ProPlus
    Posts
    32

    Re: Make AGGREGATE function Google-friendly

    Works perfectly. Thanks, rorya!
    Thanks for all the amazing help I receive!

+ 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. Replies: 5
    Last Post: 08-05-2020, 02:49 PM
  2. IFS which returns all true values
    By derj0ni in forum Excel General
    Replies: 1
    Last Post: 03-12-2020, 12:33 AM
  3. [SOLVED] INDEX MATCH and AGGREGATE to make cells appear when Month is select
    By wherdzik in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-10-2020, 04:58 PM
  4. Replies: 2
    Last Post: 12-05-2016, 05:09 AM
  5. Error Handling - make macro more user friendly
    By jtn260 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-09-2014, 01:35 PM
  6. Replies: 3
    Last Post: 01-07-2013, 06:40 PM
  7. Tracking OT, trying to make it user friendly..
    By impala096 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-27-2008, 10:55 AM

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