Time Question

jolson120499

New Member
Joined
Jul 15, 2016
Messages
1
I am using powerpivot and I want to do a calculation on time
So for example
I have an orginal time 5:00 am and an update time of 7:00 pm
I would like to compute the difference between the two in hours and minutes

Then I want to send it to a pivot table and compute average difference.

When I have been trying this it keeps giving me an error message related to text.

Any help
All I want is a table with my categorical variable and average time difference
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
it sounds like your source cells AREN'T really values or timevalues but merely text. Test that theory.
 
Upvote 0
it sounds like your source cells AREN'T really values or timevalues but merely text. Test that theory.

how?

To test to see if the cell contains real time or just text looking like time, use this...

=isnumber(a1)
where A1 is a cell with your time
TRUE indicates real time, FALSE indicates text
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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