Thresh1642
New Member
- Joined
- Mar 14, 2017
- Messages
- 11
Hi,
I have a series of dates that include the day and the date:[TABLE="width: 500"]
<tbody>[TR]
[TD]Mon, 3/4/2020
[/TD]
[/TR]
[TR]
[TD]Tue, 3/12/2020[/TD]
[/TR]
[TR]
[TD]Wed, 3/20/2020[/TD]
[/TR]
[TR]
[TD]Thu, 3/28/2020[/TD]
[/TR]
</tbody>[/TABLE]
I need to calculate the number of says between the dates, but to do that need to get the date out of the cell and keep it as a date.
I tried RIGHT(A1,9), and that returns 3/4/2020 with a space in front of the 3.
Doing the same to the next value returns 3/12/2020 with a space in front of the 3.
Doing A2-A1 returns the #VALUE ! error, because the forula is seeing the result of the RIGHT as text and not a date? I tried formatting the result to a date format, and either it didn't work or I am missing something, and given the number of PBKAC moments I've had today, I suspect the latter.
Thanks for the help,
Todd
I have a series of dates that include the day and the date:[TABLE="width: 500"]
<tbody>[TR]
[TD]Mon, 3/4/2020
[/TD]
[/TR]
[TR]
[TD]Tue, 3/12/2020[/TD]
[/TR]
[TR]
[TD]Wed, 3/20/2020[/TD]
[/TR]
[TR]
[TD]Thu, 3/28/2020[/TD]
[/TR]
</tbody>[/TABLE]
I need to calculate the number of says between the dates, but to do that need to get the date out of the cell and keep it as a date.
I tried RIGHT(A1,9), and that returns 3/4/2020 with a space in front of the 3.
Doing the same to the next value returns 3/12/2020 with a space in front of the 3.
Doing A2-A1 returns the #VALUE ! error, because the forula is seeing the result of the RIGHT as text and not a date? I tried formatting the result to a date format, and either it didn't work or I am missing something, and given the number of PBKAC moments I've had today, I suspect the latter.
Thanks for the help,
Todd