Consulting

Results 1 to 3 of 3

Thread: Solved: Calculating wage using time format & currency format?

  1. #1
    Moderator VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,003
    Location

    Solved: Calculating wage using time format & currency format?

    Hi all i have a column which shows time worked in this format 00:00:00 and a column which has values in currency format ? i.e ?6.00, what i need is a formula to work out what the wage would be in the next coulmn i.e
    Column A Column B Column C
    00:30:00 ?7.00 ?3.50
    My current formula is =IF(A1="","",A1*B1) however i have to format C1 as time in order to see the result almost correct the above would show 3:30, i have tried varying multiplications and divisions but cannot get it exact in currency format.

    Any ideas?

    Regards,
    Simon
    Regards,
    Simon
    Please read this before cross posting!
    In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
    If I have seen further it is by standing on the shoulders of giants.
    Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    =IF(A1="","",A1*24*B1)

  3. #3
    Moderator VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,003
    Location
    Thanks Bob, i did try *24 but at the end of the formula, but everything pointed to having to use something more like 25.589 to get close!

    You should see some of the wierd and wonderful calculations i was doing in the formula to achieve what i wanted!

    Regards,
    Simon
    Regards,
    Simon
    Please read this before cross posting!
    In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
    If I have seen further it is by standing on the shoulders of giants.
    Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)

Posting Permissions

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