date detected as text

zoharb

Board Regular
Joined
Nov 24, 2011
Messages
73
Office Version
  1. 2021
  2. 2013
Respected ,
date/timw entered using ctrl+: and ctrl+shift+: is detected as text if space is not kept between two(this creates many problem in further calculations. Do you have the solution PLEASE
Zohar Batterywala
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Just do a custom format of your time as h:mmAM/PM and leave the value in the cell as is
Not sure what you mean as a space in the date??
 
Upvote 1
Just do a custom format of your time as h:mmAM/PM and leave the value in the cell as is
Not sure what you mean as a space in the date??
Respected sir
if I simply do ctrl+:ctrl+shift+:
this is detected as text and formulas of date do not work

if I do ctrl+:<make one space>ctrl+shift+:
then it is considered as date and further formulas work
Zohar BAtterywala
 

Attachments

  • date issue@4dec24.png
    date issue@4dec24.png
    12.3 KB · Views: 3
Upvote 0
Sounds like you're moving cell data formatted as date to cell with format as text when you add a cell with Ctl+
 
Upvote 0
If you're just trying to save keystrokes, make a quick macro like this, and I assign the shortcut key you want.

VBA Code:
Sub DateTime()
ActiveCell = Now()
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,862
Messages
6,181,467
Members
453,045
Latest member
Abraxas_X

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top