+ Reply to Thread
Results 1 to 5 of 5

what data type do i use when i multiply time by money? excel 2007

  1. #1
    Registered User
    Join Date
    02-20-2014
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    20

    Smile what data type do i use when i multiply time by money? excel 2007

    [h]:mm X accounting (2 d.p) = ????

    The two data types i'm using are shown above but i don't know what data type to use as the result.
    If you don't understand, i'll attach an exmple

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: what data type do i use when i multiply time by money? excel 2007

    If your accounting type represents a rate of so much an hour, then your result will be a monetary value, so use accounting or currency for the result. You will also need to multiply by 24 to get the result you expect, as times are stored as fractions of a 24-hour day.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    02-20-2014
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: what data type do i use when i multiply time by money? excel 2007

    Quote Originally Posted by Pete_UK View Post
    If your accounting type represents a rate of so much an hour, then your result will be a monetary value, so use accounting or currency for the result.
    Sorry, my mistake. The total kept appearing as "#VALUE!" but i just figured out it's because i used "£-" as a place holder on the hourly rate.

    Would you happen to know why the previous spreadsheets i'm copying use a custom data type for the total? (shown below)
    _-£#,##0.00_-;-£#,##0.00_-;_-£"-"??_-;_-@_-

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: what data type do i use when i multiply time by money? excel 2007

    Formatting should not affect calculation.

    Can you upload an example workbook?

    Click on GO ADVANCED and use the paperclip icon to open the upload window.
    If posting code please use code tags, see here.

  5. #5
    Registered User
    Join Date
    02-20-2014
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: what data type do i use when i multiply time by money? excel 2007

    Quote Originally Posted by Norie View Post
    Formatting should not affect calculation.

    Can you upload an example workbook?
    Pete answered my original question, however:

    Column C is the original custom data type (for the total). I was wodering if you know why it was used over simply using the accounting data type (used for the total in column D)?

    example 2.xlsx

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to Create Chart type Length and time as attach in excel 2007
    By jamril in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-20-2013, 03:48 AM
  2. run-time error 13: type mismatch in VBA (Excel 2007)
    By zeno1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-20-2012, 04:38 PM
  3. Filtering by Data Type in Excel 2007
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 11-27-2007, 07:19 AM
  4. excel money addin should have time series data
    By Trevor-XL in forum Excel General
    Replies: 1
    Last Post: 12-25-2005, 09:50 AM
  5. how to multiply time by money
    By chriscadstud in forum Excel General
    Replies: 2
    Last Post: 10-30-2005, 12:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1