+ Reply to Thread
Results 1 to 3 of 3

A Negative problem

  1. #1
    Registered User
    Join Date
    04-13-2007
    Posts
    6

    A Negative problem

    Hi,

    I have fashioned a time sheet to measure my working day/week


    The problem I'm having is when i seperate my overtime i.e I work more than 7hrs:30m is fine I can minus one from the other i.e I work 9hrs:30 minus 7hrs:30 equal 2 hrs overtime or 2:00 in the cell.

    The problem is when I work less i get "#######" in the cell, how do i get round this? I just want it to show "00:00"

    Any help would be appreciated

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650
    Hi If Your Total time worked is in "A1" and your stardard day is in "B1" then this formula should give you your required result.
    Please Login or Register  to view this content.
    Regards mick

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    An alternative is this with the cell custom formatted as hh:mm

    =IF(A1<B1,0,A1-B1)
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

+ 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. Find negative value and apply to next positive value
    By jamphan in forum Excel General
    Replies: 5
    Last Post: 07-16-2008, 04:52 PM
  2. Change Positive to Negative
    By blitzburgh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-26-2007, 01:52 PM
  3. Excel 2007/ Outlook 2007 mail Problem
    By Bostock in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2007, 04:26 PM
  4. Countif funtions problem
    By mike4545 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-17-2007, 02:37 PM
  5. Cell function problem
    By itty in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-19-2007, 08:27 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