Skip to main content

Finding the Next Upcoming Date in a Rollup Field

  • September 14, 2022
  • 2 replies
  • 59 views

Hello all! I have a somewhat tricky formula question that I’ve been banging my head against the wall over. I have a rollup field that compiles a list of dates. I’d like to pull the next date from that rollup field; in other words, the upcoming date that’s closest in time to today. Here’s an example of the field:

And what I’m looking for is a formula field that will output the following:
Row 1: 3/11/2023
Row 2: 11/30/2022
Row 3:12/29/2022

Does anyone have any ideas?

2 replies

TheTimeSavingCo
Forum|alt.badge.img+31

Hi @maradas, since each date field is its own record, what if you used a formula field to calculate the number of days between TODAY() and the date value?

From there, you could use a rollup field to get the lowest number of days and use that value to get the closest date

Edit: Ha, please ignore my suggestion and use Kamille’s solution below, it’s much much better


Kamille_Parks11
Forum|alt.badge.img+27

Set your Rollup field to only pull records that meet a condition: Date is after Today

Then use the MIN(values) aggregation.