Calcualate Time

H

hitesh

Dear

In A1 Customer Name In B1 Complaint Date In c1 Complaint Time in D1
Complaint Attend Date In E1 Complaint Attend Time. I want the Result in F1
Total Time Taken To attend Complaint

Customer Name - Anil. Complaint Date- 8/4/2010.Complaint Time - 4:00 pm.
Complaint Attend Date -11/4/2010. Complaint Attend Time - 10.30 pm. Total
Time Taken To attend Complaint =

I want To Know That how much time taken to attend the complaint.

Pls Help.
 
O

OssieMac

Assuming the data is in row 2.

Select all of column F and Using Number format set the following Custom
format for column F

[hh]"Hrs":mm"Mins"

Enter the following formula in cell F2
=(D2+E2)-(B2+C2)
 
O

OssieMac

You could also format column F the following way if you want it in Days Hrs
and Mins

d" Days" h" Hrs":m" Mins"

Including the literal suffix avoids confusion as to how the answer is
formatted.
 
H

hitesh

Thanks For Replay

But Formula not working.

complaint attend after 3 days

so result may be 30.30 Hrs

Pls help
 
O

OssieMac

The formula works perfectly for me and both formats work perfectly. Are you
entering your dates and times correctly? Ensure that you have the date and
time columns formatted correctly; particularly time columns so that you will
be able to see if the times entered are correct. Suggest the following format
for time columns.

h:mm AM/PM

With above format you should be able to enter 4:10 pm as 4:10 p and it
should automatically change it to 4:10 PM. Note that a space is required
before the p when entering.

An after thought. In your regional area do you format times as I have shown.
Perhaps you need to adjust the format to reflect your regional area.
 
H

hitesh

Thanks
Dianne.
But its not working

I saw, u send file to me, u wrote 08/05/2010, in compalint attend column,
But Date is 11/4/2010, If i change 08/05/2010 to 11/04/2010 Result shows
2214.30.

Customer Complaint Date Complaint Time Complaint Attend Date Complaint
Attend Time Total Time Taken
Anil 08/04/10 4:00 PM 11/04/10 10:30 PM 2214:30

pls help
 
H

hitesh

Dear
Dianne.

Complaint date Is 08/04/2010 (dd,mm,yy) And Complaint Attend Date is
11/04/2010 (dd,mm,yy).

pls help
 
H

hitesh

Thanks
A lot.


Dianne said:
hitesh,

I do not have India installed on my system. Go to your control panel,
regional and language options. Whatever is there is what you need to
make sure Excel is setup for. In your spreadsheet, under format time
and format date, make sure the language matches your control panel
settings.

Are you wanting the time from 4 pm to 10:30pm each day or from 4 pm to
10:30 pm totally?

I am sure the reason you are having trouble is because the computer
clock is not matching your spreadsheet. Make sure everything matches.
I am sorry I can not be more help.

Good luck and let me know if and when you get it figured out.
Hopefully, someone with more experience with regional settings will see
this and help you better.

Dianne


--
Dianne
------------------------------------------------------------------------
Dianne's Profile: http://www.thecodecage.com/forumz/member.php?u=1755
View this thread: http://www.thecodecage.com/forumz/showthread.php?t=194663

http://www.thecodecage.com/forumz

.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top