I think what you want here is a Rollup field using the MAX()
rollup function.
You’ll point the Rollup field at the linked record field (Ad Schedule) and the field from the linked record that you want to rollup (Ad Scheduled Post Date). Then use MAX(values)
as the function.
That will return the most recent date from the list of dates. Then you should be able to perform your TONOW()
function with reference to that Rollup field.
Post back if you continue to have issues with that.
I think what you want here is a Rollup field using the MAX()
rollup function.
You’ll point the Rollup field at the linked record field (Ad Schedule) and the field from the linked record that you want to rollup (Ad Scheduled Post Date). Then use MAX(values)
as the function.
That will return the most recent date from the list of dates. Then you should be able to perform your TONOW()
function with reference to that Rollup field.
Post back if you continue to have issues with that.
Excellent! That is what I needed. However, it leads to another question.
TONOW() shows the number of hours, but I really only need days. Anything less than 23.99hrs would be 0 days and so on. Do I need to wrap another function around the TONOW() in order to round to days?
Ideally I would be able to say something like this:
IF({Latest ad} = BLANK(),
‘
NEW’,
IF({Latest ad} < TODAY(),
IF({Latest ad} >= 46 days,
‘
READY! ’ & ’ ’ & TONOW({Latest ad},
IF({Latest ad} <= 45 days,
‘
HOLD’ & TONOW({Latest ad},)
), ‘
FUTURE’ & TONOW({Latest ad}) & ’ from today’
)
)
Excellent! That is what I needed. However, it leads to another question.
TONOW() shows the number of hours, but I really only need days. Anything less than 23.99hrs would be 0 days and so on. Do I need to wrap another function around the TONOW() in order to round to days?
Ideally I would be able to say something like this:
IF({Latest ad} = BLANK(),
‘
NEW’,
IF({Latest ad} < TODAY(),
IF({Latest ad} >= 46 days,
‘
READY! ’ & ’ ’ & TONOW({Latest ad},
IF({Latest ad} <= 45 days,
‘
HOLD’ & TONOW({Latest ad},)
), ‘
FUTURE’ & TONOW({Latest ad}) & ’ from today’
)
)
Simply divide the results of the TONOW()
function in your formula by 24 to have it return days, and then concatenate & " days"
after it (you need the space before the word “days” inside the quotes so that you get a space between the number and the word “days” in the return output).
Thank you. I think I have those sorted out.