+ Reply to Thread
Results 1 to 6 of 6

If(and formula assistance

  1. #1
    Registered User
    Join Date
    07-09-2014
    Location
    Springfield, missouri
    MS-Off Ver
    2013
    Posts
    25

    If(and formula assistance

    I need assistance with the second part of am IF/AND formula. Normally I wouldn't get stumped but I am working with a date calculation and
    trying to get it into the formula has me at a loss.

    Here are the rules for the formula I am writing. I will include a sample spreadsheet as well.

    RULE 1 - IF PLANNER DATE IS LESS THAN OR EQUAL TO TODAY'S DATE AND CONTRACT PAID AMT IS
    LESS THAN OR EQUAL TO ZERO, THEN HALF CONTRACT TIME DIAPLAYS "CAUTION"
    =IF(AND($B5<=$B$2,$C5<0),"CAUTION" (FIRST HALF OF FORMULA)

    RULE 2 - IF THE CURRENT DATE IS WITHIN 5 DAYS OF THE DROP DEAD DATE, AND THE CONTRACT PAID
    AMOUNT IS LESS THAN OR EQUAL TO ZERO, THE HALF CONTRACT TIME DISPLAYS "CRITICAL",
    OTHERWISE THE HALF CONTRACT TIME DISPLAYS "OK",
    Attached Files Attached Files

  2. #2
    Spammer
    Join Date
    01-08-2015
    Location
    Cali, Colombia
    MS-Off Ver
    365
    Posts
    302

    Re: If(and formula assistance

    Hi, dprobst!

    You could try:
    [A5] : =IF(C5<=0,IF(B5<=B$2,"CAUTION",IF(AND(E5-B$2>=0,E5-B$2<=5),"CRITICAL","OK")),"OK")

    Blessings!

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: If(and formula assistance

    Try this in A5:

    =IF(AND(E5-B$2<=5,C5<=0),"CRITICAL",IF(AND(B5<=B$2,C5<=0),"CAUTION","OK"))

  4. #4
    Forum Contributor
    Join Date
    07-06-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: If(and formula assistance

    try this
    =IF(AND($B5<=$B$2,$C5<=0),"CAUTION",IF(AND(E5-$B$2<=5,C5<=0),"CRITICAL","OK"))
    Last edited by finalazy; 03-02-2018 at 01:51 PM.

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

    Re: If(and formula assistance

    Try

    =IF(AND($E5<=TODAY()+5,$C5<=0),"CRITICAL",IF(AND($B5<=$B$2,$C5<=0),"CAUTION","OK"))

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: If(and formula assistance

    Thanks for the rep and for marking this thread as SOLVED.

+ 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. [SOLVED] assistance to merge 2 formula trim, substitute, len as one formula
    By JEAN1972 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-06-2017, 05:37 AM
  2. Excel formula - need assistance with challenging formula or table
    By m masi in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-05-2017, 08:19 AM
  3. Assistance with CountIF formula and additional formula conditions
    By solios in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-18-2016, 01:46 PM
  4. [SOLVED] IF formula assistance
    By Pi* in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-02-2016, 12:34 PM
  5. Need assistance with IF formula
    By Rosco88 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-17-2014, 09:31 AM
  6. Assistance with formula
    By Telehouse in forum Excel General
    Replies: 1
    Last Post: 05-04-2009, 01:04 PM
  7. Formula Assistance (
    By MarthaMartha in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-15-2006, 01:55 PM

Tags for this Thread

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