I have two tables Experiments and Readings.
Each experiment is linked to two or more reading records. Each reading has a DateTime field, and some readings such as pH and temperature. The pH and temperature readings are number fields.
I want to use the first and last sets of readings in the Experiments table in some numeric formulas.
In Experiments table I use a rollup field with MIN(values) to find the earliest DateTime in the linked readings. In the Readings table I use a lookup field and copy the {First DateTime} reading back into the readings table. So that all the Readings for a specific Experiment contain a field which is set to {First DateTime}.
Then still in Readings, I have a field {First Temperature} with the formula:
IF(DateTime={First DateTime},Temperature, '')
IF(DateTime={First DateTime},Temperature, '')
Nothing I do can convert this back to a number.
So I feel slightly trapped. I've got the value from the Readings field that I want to manipulate in the Experiments field, but I can't use it.
Is there some other way I can get the value I want to work with that doesn't change it's type, or is there a formula to force it back to being a number?