How to calculate (cell reference - DD/MM/YYYY) inside formula?
I want to calculate a duration in years by entering a time duration formula in which the start date is a cell reference (the easy part) and the end date is a date I enter manually eg 17/7/2023 (I'm in Europe). I think I need the DATEDIF function, but it always converts 17/7/2023 into 17÷7÷2023 when I want to enter that as a date rather than having a separate column and then using the cell reference.
I thought to use the DATE function inside the DATEDIF function but either I am not getting the syntax right, or that isn't something that is possible.
How can I fix this please?
iMac2 (2)