Hi all, how are you?. Happy new 2026!
Well, look, I have an app where I want to restrict the available time schedules to the ones not occupied in a specific day. the problem is like follows":
I want to use the formula in the valid if field in order to restrict the date values that can be used in the respective column as follows: if exists any appointment on the same day in what I want the new appointment and the time period of the appointment matches the time period of the existing appointments then appsheet doesn’t allow to use that time period, the formula is the following:
ISBLANK(
FILTER(
"Gestión de Consultorios",
AND(
DATE([Start]) = DATE([_THISROW].[Start]),
[_THISROW].[Start] < ([Start] + (Configuración[Duracion_Cita (Minutos)] * 0.00069444)),
([_THISROW].[Start] + (Configuración[Duracion_Cita (Minutos)] * 0.00069444)) > [Start]
)
) - LIST([_THISROW])
)
but just in those lines which has formulas like
[_THISROW].[Start] < ([Start] + (Configuración[Duracion_Cita (Minutos)] * 0.00069444))
two things happens, one is that the multiply of the [Duracion_Cita (Minutos)] (a number stored as text) field by the factor 0.00069444 gives almost zero and appsheet rounds it to zero then the time in minutes never gets added, the other is that if I do the addition by the following form
[_THISROW].[Start] < ([Start] + "000:" & (Configuración[Duracion_Cita (Minutos)] & ":00")
then appsheet thinks that the part
"000:" & (Configuración[Duracion_Cita (Minutos)] & ":00"
or is zero or says the + operator doesn’t support date or time or something similar, the other lines is almost the same
so, how can this be solved?
Thanks in advance for the help
