+ Reply to Thread
Results 1 to 5 of 5

Have a reporting cell display text "PENDING" if target cell's date meets criteria.

  1. #1
    Registered User
    Join Date
    02-10-2016
    Location
    USA
    MS-Off Ver
    2013
    Posts
    65

    Have a reporting cell display text "PENDING" if target cell's date meets criteria.

    Hello,

    I have columns A (referral date), B (last appointment), C (next appointment) and D (reporting cell, see below).

    What I need is for Column D to display "PENDING" if the referral date (ColmnA) A is less than/equal-to a month after last appointment date (ColmnB) *OR* if ColmnA is less than/equal-to 14 days before next appointment (ColmnC). If date in ColmnA is more than 30 days after ColmnB *AND* more than 14 days prior to date in ColmnC, then I want ColmnD to display "READY."

    So I know I need multiple IF functions. My best guess was the following, but I don't think it is correct. I was hoping someone could help me figure it out.

    =IF(A1-B1<=30, "PENDING", IF(A1-C1<=14, "PENDING", "READY"))

    I also want ColmnE to display the soonest date at which the criteria (> 30 days after B, > 14 days before C) will be met.

    Thank you all in advance!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Have a reporting cell display text "PENDING" if target cell's date meets criteria.

    Hi,

    Maybe

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and for column E

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    02-10-2016
    Location
    USA
    MS-Off Ver
    2013
    Posts
    65

    Re: Have a reporting cell display text "PENDING" if target cell's date meets criteria.

    Thanks Richard - so obviously this formula works in that it performs a similar function, but it isn't quite right... let me give a more clear explanation:


    \1

    There are some comments in the image.

  4. #4
    Registered User
    Join Date
    02-10-2016
    Location
    USA
    MS-Off Ver
    2013
    Posts
    65

    Re: Have a reporting cell display text "PENDING" if target cell's date meets criteria.

    The purpose is that a client cannot receive this service (1) if they've received it within the past month, or (2) are scheduled to receive it within 2 weeks.

    That logic isn't complicated, but I am having a hard time translating it into Excel. Any help would be wonderful. Thank you!

  5. #5
    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,206

    Re: Have a reporting cell display text "PENDING" if target cell's date meets criteria.

    Much better if you posted a file rather than an image so respondents have data to test any formula against.

+ 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. "Worksheet change" not changing cell on other sheet to match target cell "fill".
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-02-2015, 12:02 PM
  2. How to "Copy Values" or have cell display text?
    By ckowalc in forum Excel General
    Replies: 4
    Last Post: 01-13-2015, 06:07 PM
  3. Display data in cell "N" times based off of multiple criteria
    By ronalgreen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-05-2013, 10:02 AM
  4. [SOLVED] If range meets criteria then display text in another cell
    By NSimp216 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-05-2013, 05:25 PM
  5. Replies: 1
    Last Post: 09-15-2010, 01:55 AM
  6. Replies: 5
    Last Post: 08-02-2010, 07:25 PM
  7. Replies: 2
    Last Post: 11-15-2007, 01:23 PM

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