Johnny Thunder
Well-known Member
- Joined
- Apr 9, 2010
- Messages
- 693
- Office Version
- 2016
- Platform
- MacOS
Hello All,
Working on a weird issue here. Look on the interwebs and found nothing for my specific issue. The DateValue syntax doesn't seem to work in the event the data string makes no sense.
So here is how some of the dates come in;
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Date as it comes in[/TD]
[TD]Converted to General[/TD]
[/TR]
[TR]
[TD][TABLE="width: 191"]
<colgroup><col></colgroup><tbody>[TR]
[TD]10/31/2019 11:00 PM[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 149"]
<colgroup><col></colgroup><tbody>[TR]
[TD]43769.95833[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 191"]
<colgroup><col></colgroup><tbody>[TR]
[TD]01/01/2055 11:00 PM[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 149"]
<colgroup><col></colgroup><tbody>[TR]
[TD]56615.95833[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 191"]
<colgroup><col></colgroup><tbody>[TR]
[TD]10/14/2019 10:52 PM[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 149"]
<colgroup><col></colgroup><tbody>[TR]
[TD]43752.95278[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
So, it seems that the issue is coming from the system putting in the last two characters in the date incorrectly. I think the system actually puts in "20" and excel is converting that to "2055" for some reason. Does anyone know of a way to convert this automatically going forward so that when "21" shows up the formula can handle that without doing Find/Replace?
Working on a weird issue here. Look on the interwebs and found nothing for my specific issue. The DateValue syntax doesn't seem to work in the event the data string makes no sense.
So here is how some of the dates come in;
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Date as it comes in[/TD]
[TD]Converted to General[/TD]
[/TR]
[TR]
[TD][TABLE="width: 191"]
<colgroup><col></colgroup><tbody>[TR]
[TD]10/31/2019 11:00 PM[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 149"]
<colgroup><col></colgroup><tbody>[TR]
[TD]43769.95833[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 191"]
<colgroup><col></colgroup><tbody>[TR]
[TD]01/01/2055 11:00 PM[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 149"]
<colgroup><col></colgroup><tbody>[TR]
[TD]56615.95833[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 191"]
<colgroup><col></colgroup><tbody>[TR]
[TD]10/14/2019 10:52 PM[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 149"]
<colgroup><col></colgroup><tbody>[TR]
[TD]43752.95278[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
So, it seems that the issue is coming from the system putting in the last two characters in the date incorrectly. I think the system actually puts in "20" and excel is converting that to "2055" for some reason. Does anyone know of a way to convert this automatically going forward so that when "21" shows up the formula can handle that without doing Find/Replace?