how to calculate time?
Ex:
6:30am-3:30=??????
how to calculate time?
Ex:
6:30am-3:30=??????
I think everything normal calculation...
v A B C 1 Time Difference Result 2 6:30:00 AM 3:30:00 AM 3:00:00 AM 3 Formula --> =A2-B2
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
I tried but it's not working.
I need 6:30am - 3 hours and 30 minute.
It looks like yours 6:30am is text
Try this
in B1
Formula:
Please Login or Register to view this content.
v A B 1 6:30am 03:00 AM
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
it is ok,
but i have pm also
6:30am -3:30 =??
12:00pm-3:30 =??
3:00pm-3:30=??
6:00pm-3:30=???
7:30pm-3:30=???
8:05pm-3:30=??
9:30pm-3:30=???
then use this
Formula:
Please Login or Register to view this content.
v A B 1 6:30am 03:00 AM 2 12:00pm 08:30 AM 3 3:00pm 11:30 AM 4 7:30pm 04:00 PM
Last edited by AlKey; 12-01-2016 at 11:07 AM.
Yes it is OK. Thank you again.
multiple cells
Let's assume this is your data:
Data Range
A 1 6:30am 2 12:00pm 3 3:00pm 4 6:00pm 5 7:30pm 6 8:05pm 7 9:30pm
As is, Excel evaluates that as TEXT entries.
To convert them into true time values...
Select the range A1:A7
CTRL + H (that will open the Find/Replace userform)
Find what: am
Replace with: (press the spacebar)am
Replace All
Repeat the process for pm
The results should now appear as true time values like this:
Data Range
A 1 6:30 AM 2 12:00 PM 3 3:00 PM 4 6:00 PM 5 7:30 PM 6 8:05 PM 7 9:30 PM
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks