How do I copy formatted values and paste without formatting?!

Rancho_001

New Member
Joined
Feb 9, 2017
Messages
1
I have a date/time stamp column that is formatted as (ddmmyyyy hh:mm:ss AM/PM). The big picture is that I am trying to convert this data so that it can be counted and plotted. Where I am stuck is after reformatting this field into only the military hour, I cannot copy and paste that value into another cell without the formatting being pasted as well.

For example, after pasting, my formatted value might be 1700 but the actual value is "11/29/2013 5:29:29 PM"

I need the formatted 1700 to be actually "1700" so I can count the number that hour occurs in my string.

please help!!!
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hi,

Rather than copy and paste could you link back to the cell with the text function as below

Code:
=TEXT(a1,"hhmm")

This converts the value to text and allows you to choose the format.
 
Upvote 0

Forum statistics

Threads
1,216,069
Messages
6,128,599
Members
449,460
Latest member
jgharbawi

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