+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Two conditions for a single cell

  1. #1
    Registered User
    Join Date
    01-05-2012
    Location
    Indianapolis, IN
    MS-Off Ver
    Excel 2007
    Posts
    1

    Exclamation Two conditions for a single cell

    Requesting Help!

    I have a spreadsheet where I am tracking ontime and late delivery of shipments. I have built a formula to populate "Ontime" and "Late" depending on expected delivery date (Column F) and actual delivery date (Column H). There are shipments on the spreadsheet that have not delivered and therefore do not display values in column H. I would like these shipments to display "n/a" in the conditional format I have established, but I'm not sure how to combine two conditions for a single cell.

    Current Formula: =IF(H14<=F14,"Ontime","Late")

    Spreadsheet Example Attached

    Any assistance is greatly appreciated!!

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,502

    Re: Two conditions for a single cell

    Is this what you're looking for:

    Cell K2: =IF(H2="","n/a",IF(H2<=F2,"Ontime","Late"))


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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