Skip to main content
Solved

How to get the last and previous date from a list?

  • September 29, 2023
  • 3 replies
  • 36 views

Eugenek
Forum|alt.badge.img+3

Hi, does anyone have any ideas on how to write a formula to mark a previous date for each person?

Best answer by Alexey_Gusev

Hi,
it depends on how do you mark first/last.
Working with totals and such kind of values (min/max, first/last) that dynamically changing with new records (like if you add Jony with 1 Ocftober, it became Last date, and 1st record with 30 Sep 14:00 became Previous) - requires linked table with Names. All totals etc (first last) calculated via rollups. for previous you just can add another rollup  MAX(values)' filtered by 'Status is not Last date'


3 replies

Alexey_Gusev
Forum|alt.badge.img+25
  • Brainy
  • Answer
  • October 1, 2023

Hi,
it depends on how do you mark first/last.
Working with totals and such kind of values (min/max, first/last) that dynamically changing with new records (like if you add Jony with 1 Ocftober, it became Last date, and 1st record with 30 Sep 14:00 became Previous) - requires linked table with Names. All totals etc (first last) calculated via rollups. for previous you just can add another rollup  MAX(values)' filtered by 'Status is not Last date'



Eugenek
Forum|alt.badge.img+3
  • Author
  • New Participant
  • October 2, 2023

There is no FILTER in the Airtable


Eugenek
Forum|alt.badge.img+3
  • Author
  • New Participant
  • October 2, 2023

Hi,
it depends on how do you mark first/last.
Working with totals and such kind of values (min/max, first/last) that dynamically changing with new records (like if you add Jony with 1 Ocftober, it became Last date, and 1st record with 30 Sep 14:00 became Previous) - requires linked table with Names. All totals etc (first last) calculated via rollups. for previous you just can add another rollup  MAX(values)' filtered by 'Status is not Last date'



Thanks Alexey!