+ Reply to Thread
Results 1 to 9 of 9

Nested IF formula that ignores blank cells

  1. #1
    Registered User
    Join Date
    05-22-2018
    Location
    London, Egland
    MS-Off Ver
    2016
    Posts
    5

    Nested IF formula that ignores blank cells

    Hello,

    I'm in need of some help with this one and am ready to give up!!

    I am trying to determine progress status of certain deliverables at a given date.

    If there is a date in cell M to T, I would like column AP to show the value of that progress dependent on the date entered in cell AP1 . So far, I get either 0 or 1!!

    Current best effort is:

    =IF(OR(T3="",S3="",R3="",Q3="",P3="",O3="",N3="",M3=""),"",IF($AP$1<T3,1,IF($AP$1<S3,0.925,IF($AP$1<R3,0.75,IF($AP$1<Q3,0.7,IF($AP$1<P3,0.6,IF($AP$1<O3,0.45,IF($AP$1<N3,0.25,IF($AP$1<M3,0.05,0)))))))))

    Help.JPG

    Thank you in advance for any help,

    Simon

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,199

    Re: Nested IF formula that ignores blank cells

    Attach a sample workbook (not image).so that we do not have to manually key in your data to do a testing.

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate.

    Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    05-22-2018
    Location
    London, Egland
    MS-Off Ver
    2016
    Posts
    5

    Re: Nested IF formula that ignores blank cells

    Thank you John, I have added a demo file.
    Attached Files Attached Files

  4. #4
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Nested IF formula that ignores blank cells

    Is the date in AP1 supposed to be in 2019 or 2018? Assuming 2018, I think this works
    =IFERROR(LOOKUP(2,1/($AP$1>=M3:T3)/(M3:T3<>""),{0.05,0.25,0.45,0.6,0.7,0.75,0.925,1}),0)
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  5. #5
    Registered User
    Join Date
    05-22-2018
    Location
    London, Egland
    MS-Off Ver
    2016
    Posts
    5

    Re: Nested IF formula that ignores blank cells

    thank you for your help xlnitwit. You are correct, the date should read 2018 and I have uploaded a revised sheet. The formula you proposed returns only 0 for me.

    Very much appreciate your time
    Attached Files Attached Files

  6. #6
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Nested IF formula that ignores blank cells

    I forgot to mention that the dates in M:T are actually text in your sample file (I converted them while testing). Is that the case in your real file?

  7. #7
    Registered User
    Join Date
    05-22-2018
    Location
    London, Egland
    MS-Off Ver
    2016
    Posts
    5

    Re: Nested IF formula that ignores blank cells

    Yes, I can confirm that M:T are date format in my file

  8. #8
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Nested IF formula that ignores blank cells

    Then the formula should work in your real file.

  9. #9
    Registered User
    Join Date
    05-22-2018
    Location
    London, Egland
    MS-Off Ver
    2016
    Posts
    5

    Re: Nested IF formula that ignores blank cells

    It works!! My mistake. Thank you so much for your help!!

+ 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. Dynamic Print Area that ignores blank cells containing formulas
    By ms.mount in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 07-03-2017, 05:46 PM
  2. [SOLVED] Using concatenate that ignores blank cells and also includes line breaks
    By JohnW12 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-02-2016, 05:09 AM
  3. [SOLVED] Dynamic Range in Column Chart That Ignores Blank and With-Formula Cells
    By ykobure in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-26-2015, 08:57 AM
  4. Replies: 1
    Last Post: 12-20-2013, 12:49 PM
  5. Replies: 2
    Last Post: 07-11-2012, 08:58 AM
  6. Data Validation List That Ignores The Blank Cells
    By nevi in forum Excel General
    Replies: 4
    Last Post: 06-12-2008, 03:54 PM
  7. Formula/macro that ignores cells nonblanks
    By pmarques in forum Excel General
    Replies: 6
    Last Post: 02-10-2006, 10:55 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