eSourceCity
New Member
- Joined
- Apr 28, 2014
- Messages
- 5
How can I show a date in the format YYYY-MM-DD referencing cells from a different sheet when the referenced cells are written as text using the following two formats:
1) 2014-04-23T16:38:06.000Z (currently formatted as "general")
2) 4/21/2014 9:09:52 PM (currently formatted as custom - m/d/yyyy h:mm
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Raw Date[/TD]
[TD]Formatted Date[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]
<tbody>
[TD="class: xl65"]4/21/2014 21:31[/TD]
</tbody>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2014-04-22T15:32:38.000Z[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]4/21/2014 22:24[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]2014-04-22T18:32:05.000Z[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]
<tbody>
[TD="class: xl66"]2014-04-22T20:00:25.000Z[/TD]
</tbody>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]4/21/2014 23:39[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
For example, the above table, what would be the single formula that would return the requested format YYYY-MM-DD for each row.
1) 2014-04-23T16:38:06.000Z (currently formatted as "general")
2) 4/21/2014 9:09:52 PM (currently formatted as custom - m/d/yyyy h:mm
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Raw Date[/TD]
[TD]Formatted Date[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]
<tbody>
[TD="class: xl65"]4/21/2014 21:31[/TD]
</tbody>
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2014-04-22T15:32:38.000Z[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]4/21/2014 22:24[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]2014-04-22T18:32:05.000Z[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]
<tbody>
[TD="class: xl66"]2014-04-22T20:00:25.000Z[/TD]
</tbody>
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]4/21/2014 23:39[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
For example, the above table, what would be the single formula that would return the requested format YYYY-MM-DD for each row.