Solved

Converting time into Dollars

Posted on 2012-04-09
7
280 Views
Last Modified: 2012-04-09
EE Professionals,

I have a timesheet that has a Time-In and a Time-Out.  I am trying to calculate the amount of time that transpires between the In and Out record (Column E) and then simply multiply it times a Rate per Hour to give me a result.  I need the formula for calculating Column E.

Much thanks in advance,

B.
Calculating-Time-to-Money.xlsm
0
Comment
Question by:Bright01
  • 4
  • 3
7 Comments
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37823944
Try this formula

=D3-C3+IF(D3<C3,1)
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37824021
Or simply

=D3-C3+(D3<C3)
0
 

Author Comment

by:Bright01
ID: 37824325
ssaqibh,

Thanks for the formula.  Unfortunately it doesn't work.  4pm to 1am isn't .38 hrs. (Column E).

Can you take a look at the spreadsheet?

Thank you,

B.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37824338
Format the cell as [h]:mm
0
 

Author Comment

by:Bright01
ID: 37824426
Got it.  Now look at G.  What is the formula I use to calculate the Amount?

Right now I'm using   =(([@Hours]*Hourly_Rate)+[@Additional]), but that's not working.

Thank you!

B.
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 37824443
=E3*$B$1*24+I3
0
 

Author Closing Comment

by:Bright01
ID: 37824517
Seems so simple!  Much thanks.....works great.

B.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question