+ Reply to Thread
Results 1 to 8 of 8

IF and AND function

  1. #1
    Registered User
    Join Date
    11-04-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    26

    Red face IF and AND function

    Hi all,

    Seek the help from excel guru urgently.

    In the attached spreadsheet, I use it to track if deadline is over due or not.

    Column 1 will be today's date and column O3,P3 and Q3 will be my parameters.

    Scenario as per below:

    1). If A/C exited (O3) = Yes, then Status of Exit (Q3) = blank.

    2). If A/C exited (O3) = No, AND Expected date of exit (P3) smaller then today's date, then Status of Exit = "Follow up"

    3). If A/C exited (O3) = No, AND Expected date of exit (P3) bigger then today's date, then Status of Exit = "Pending"

    **4).IF If A/C exited (O3) = BLANK, then Status of Exit = "Follow up"

    Please assist with the query.

  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,350

    Re: IF and AND function

    Try

    =IF(O4="","Follow up",IF(O4="Yes","",IF(O4="No",IF(P4 < TODAY(),"Follow up","Pending"))))

    What if P4 = TODAY() ????

  3. #3
    Registered User
    Join Date
    11-04-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: IF and AND function

    Thanks John, work like a charm.

    if P4 = TODAY(), can I have a msg "due today"?

  4. #4
    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,350

    Re: IF and AND function

    Try


    =IF(O4="","Follow up",IF(O4="Yes","",IF(O4="No",IF(P4 < TODAY(),"Follow up",IF(P4=TODAY(),"Due Today","Pending")))))

  5. #5
    Registered User
    Join Date
    11-04-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: IF and AND function

    Sorry John,

    Why is it when I put N/A in Column O4, Q4 = "FALSE"?

    Can I have O4 = N/A, then Q4 = "A/C Retain"?

  6. #6
    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,350

    Re: IF and AND function

    Try

    =IF(O4="N/A","A/C Retain",IF(O4="","Follow up",IF(O4="Yes","",IF(O4="No",IF(P4 < TODAY(),"Follow up",IF(P4=TODAY(),"Due Today","Pending"))))))

  7. #7
    Registered User
    Join Date
    11-04-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: IF and AND function

    I've changed the spreadsheet format and requires following assistance

    Column 1 will be today's date and column D3, F3,G3, H3 and I3 will be my parameters.

    Scenario as per below:

    1). If A/C Strategy (D3) = "Exit" or "Retain", then Status (H3) = blank and "Date of 1st reminder" (G3) will be 10 business days after "Date of Form sent to Biz" (F3) and "Next Deadline" (I3) = 10 business days after F3.

    2). If A/C Strategy (D3) = "Pending", then Status (H3) = "Pending" if today's date is smaller than
    "Date of Form sent to Biz" (F3), and "Date of 1st reminder" (G3) will be 10 business days after "Date of Form sent to Biz" (F3) and "Next Deadline" (I3) = 10 business days after F3.
    nd if Date of Form sent to Biz" (F3) > 30 business day, "Report to manager"

    3). If A/C Strategy (D3) = "Pending", then Status (H3) = "Follow up " if today's date is bigger than
    "Date of Form sent to Biz" (F3), and "Date of 1st reminder" (G3) will be 10 business days after "Date of Form sent to Biz" (F3) and "Next Deadline" (I3) = 10 business days after F3.
    and if Date of Form sent to Biz" (F3) > 30 business day, "Report to manager"


    Please assist with the query.
    Attached Files Attached Files

  8. #8
    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,350

    Re: IF and AND function

    If I read your requirements correctly, the results for G3 and I3 are the same i.e independent of D3.

    Where does "Report to Manager" appear?

+ 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. Calling function inside function. (aka nested function)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 05:58 AM
  2. Replies: 13
    Last Post: 04-08-2014, 05:46 AM
  3. Replies: 2
    Last Post: 01-15-2014, 11:40 PM
  4. index function error using match function to get data from a cell in an array
    By mabildgaard in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2013, 02:21 AM
  5. [SOLVED] IF Function referencing IsNumber, Match, Left function on separate sheets
    By Touch9713 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-12-2013, 10:09 PM
  6. [SOLVED] Using Offset function as the array in the PercentRank function is giving wrong result
    By Bobneil in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-06-2013, 09:29 PM
  7. Replies: 1
    Last Post: 03-21-2012, 11:22 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