Forum Discussion
Excellent
Nov 09, 2026Copper Contributor
How to change the columns a formula will get its data from
Here is a dummy example of what my spreadsheet looks like, the end date/time can be in different columns based on external factors. a b c d 1 Start date/time Other date/time End date...
Terio
Nov 10, 2026Brass Contributor
Seems to be sufficient:
=MAX(B2:C2)-A2to drag.
Or in latest version:
=BYROW(B2:C5,MAX)-A2:A5that expands by itself.
Bye