+ Reply to Thread
Results 1 to 2 of 2

TImeIn-TimeOut-TimeIn-TimeOut-HoursWorked

  1. #1
    ChefBoiRD
    Guest

    TImeIn-TimeOut-TimeIn-TimeOut-HoursWorked


    Bob Phillips Wrote:
    > Shorter and simpler at the very least vbg
    >
    > =((J7-G7)-IF(AND(H7"",I7""),I7-H7,0))*24
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > snip


    I tried it but excel would only accept it without the quotations after
    (H7"",I7""). Then, I would get "#NAME?" error...may need the HOUR
    MINUTE in there somewhere??? Will experiment some more... Thanks!


    --
    ChefBoiRD

  2. #2
    Bob Phillips
    Guest

    Re: TImeIn-TimeOut-TimeIn-TimeOut-HoursWorked

    Something happened in the posting, what is in your message is not what I
    posted. I used

    =((J7-G7)-IF(AND(H7<>"",I7<>""),I7-H7,0))*24

    note the <> between H7 and "" and I7 and ""

    Please re-try with this formula.

    --
    HTH

    Bob Phillips

    "ChefBoiRD" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Bob Phillips Wrote:
    > > Shorter and simpler at the very least vbg
    > >
    > > =((J7-G7)-IF(AND(H7"",I7""),I7-H7,0))*24
    > >
    > > --
    > > HTH
    > >
    > > Bob Phillips
    > >
    > > snip

    >
    > I tried it but excel would only accept it without the quotations after
    > (H7"",I7""). Then, I would get "#NAME?" error...may need the HOUR
    > MINUTE in there somewhere??? Will experiment some more... Thanks!
    >
    >
    > --
    > ChefBoiRD




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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