+ Reply to Thread
Results 1 to 3 of 3

If formula to return blank if reference cell blank

  1. #1
    Registered User
    Join Date
    01-24-2011
    Location
    Sydney Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

    If formula to return blank if reference cell blank

    I have set an IF formula to return a value of 1 to 5 based in the % range of the reference cell however, if the reference cell is blank I need the formula to return blank

    This the the formula i'm using =IF(N3<=0.0075,"1",IF(N3<=0.0099,"2",IF(N3<=0.0124,"3",IF(N3<=0.0149,"4","5"))))

    Any help would be great

    Thanks
    Donna

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: If formula to return blank if reference cell blank

    =IF(n3="","",if(N3<=0.0075,"1",IF(N3<=0.0099,"2",IF(N3<=0.0124,"3",IF(N3<=0.0149,"4","5")))))

    May be the solution.


    BTW, you don't require quotes around numbers example ,if(N3<=0.0075,"1" should be ,if(N3<=0.0075,1

  3. #3
    Registered User
    Join Date
    01-24-2011
    Location
    Sydney Australia
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: If formula to return blank if reference cell blank

    Thanks so much davesexcel works perfectly

+ 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