Regarding date format

Allwinv

New Member
Joined
May 19, 2019
Messages
32
Hi Excel experts,

In one of the Cell i have a data like 13/6/2018 2:38 PM. I want to change the data to 13-June-2018 and ignoring other data. Can you please help on this.

And in one column the data 2 is there. I want add letter P in the front. ie) P2. Please suggest.

Thanks.
 
Last edited:

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
R Click the cell>>format cells>>Number>>Custom and then type in the description dd-mmm-yyyy
 
Upvote 0
Thank you so much. It is working now.

Regarding the 2nd question can you please help.

one column the data 2 is there. I want add letter P in the front. ie) P2. Please suggest.

Thanks.
 
Upvote 0
VBA or formula ??
If you want a formula, in an adjacent column, say Col C, put
Code:
="P" & B1
Drag down as required
 
Upvote 0

Forum statistics

Threads
1,214,385
Messages
6,119,210
Members
448,874
Latest member
b1step2far

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