
Originally Posted by
Mick_Marsh
So, for example, in cell B2 I type in a date 4/8/2014.
Mr sheerluck's function =TEXT(B2,"dd-mm-yy") is in B6.
My function =SUM($'11-08-14'.H62:V62) currently works for 11/8/2014 but I need to replace the text 11-08-14 with the result from cell B6 (being 04-08-14).
Well I don't understand. You have:-
In cell B2 a numeric data type - which you display formatted as a date, nevertheless the underlying data type remains numeric.
In cell B6 a string data type - the text representation of the formatted numeric from cell B2
And you want to sum the string data type (the contents of B6) with a what I assume to be numeric data types (the contents of H62:V62). That is =SUM(B6,H62:V62)
The sum of a 'string' and a 'numeric' does not make sense.
2024 RRS on the road
2011 D4 3.0 in the drive way
1999 D2 V8, in heaven
1984 RRC, in hell
Bookmarks