+ Reply to Thread
Results 1 to 4 of 4

Nested IF Statements for Blank Cell

  1. #1
    Registered User
    Join Date
    01-07-2015
    Location
    Alberta, Canada
    MS-Off Ver
    2007
    Posts
    3

    Nested IF Statements for Blank Cell

    Hi All,

    I don't use excel all the time and need help with creating an IF Statement for our gift program. The condition is years of service less than 15 I want the cell to read "no tray". I can get that part to work but not when there is a blank cell. I need the cell to stay blank.

    This formula works and no tray appears when the service is less than 15, but it is saying no tray when the cell is blank which I don't want.

    Thanks for helping me!

    =IF(Table7[[#This Row],[Years of Service]]<15, "No Tray", "")

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,409

    Re: Nested IF Statements for Blank Cell

    Try:
    =IF(Or(Table7[[#This Row],[Years of Service]]>=15,Table7[[#This Row],[Years of Service]]=""),"","No Tray")
    Quang PT

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Nested IF Statements for Blank Cell

    =IF(that Cell is blank,"",yourformula
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Registered User
    Join Date
    01-07-2015
    Location
    Alberta, Canada
    MS-Off Ver
    2007
    Posts
    3

    Re: Nested IF Statements for Blank Cell

    That worked thank you so much!!

+ 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. Nested If statements. I wanted blank/empty cells to not show 0
    By fleetwood417 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-19-2013, 11:09 AM
  2. Combining 3 Nested If Statements Into One Cell?
    By UBSmokie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-17-2009, 05:34 PM
  3. Replies: 12
    Last Post: 05-15-2009, 08:38 AM
  4. max value of a cell nested if statements
    By atonk in forum Excel General
    Replies: 7
    Last Post: 08-29-2008, 02:56 PM
  5. multilple nested if statements in one cell
    By Rick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-02-2006, 03:25 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