+ Reply to Thread
Results 1 to 2 of 2

Thread: Finding days between cells C and L where the cells may be empty

  1. #1
    Jack
    Guest

    Finding days between cells C and L where the cells may be empty

    Cells C8 and L8 represent entry and exit dates. I used the formula
    =(L8-G8)/7 to find the number of weeks between the dates. This works when
    there are dates in cells C8 ands L8. However, when the cells do not contain
    dates, I get the VALVE error reading in the cell designated to show rthe
    number of weeks. How can I modify the formula to address instances when the
    cells will be left empty?

    Thanks

  2. #2
    Bob Phillips
    Guest

    Re: Finding days between cells C and L where the cells may be empty

    Assuming you want some indication

    =IF(OR(C8="",L8=""),"Dates incomplete",(L8-C8)/7)

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "Jack" <Jack@discussions.microsoft.com> wrote in message
    news:BE59268E-7CE7-4250-8F4B-E60400336294@microsoft.com...
    > Cells C8 and L8 represent entry and exit dates. I used the formula
    > =(L8-G8)/7 to find the number of weeks between the dates. This works when
    > there are dates in cells C8 ands L8. However, when the cells do not

    contain
    > dates, I get the VALVE error reading in the cell designated to show rthe
    > number of weeks. How can I modify the formula to address instances when

    the
    > cells will be left empty?
    >
    > Thanks




+ 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.2.0