+ Reply to Thread
Results 1 to 5 of 5

Help with formula - if cell is blank not to perform calclation

  1. #1
    Registered User
    Join Date
    05-21-2018
    Location
    Princes Risborough, Bucks
    MS-Off Ver
    2010
    Posts
    3

    Lightbulb Help with formula - if cell is blank not to perform calclation

    Hi,

    Can anyone help me? I have a table which approves or declines a request once 5 managers have agreed or not agreed.
    If one manager disagrees the event is declined.


    Yes Yes Yes Yes No Declined
    Yes Yes Yes Yes Yes Approved
    Yes Yes Yes Yes Yes Approved
    Yes No No Yes Yes Declined
    Yes Yes Declined

    My coding is working well apart from where there are blank cells:
    =IF(AND(A3="Yes",B3="Yes",C3="Yes",E3="Yes"),"Approved", "Declined")

    If there are blank cells how can the repsonse be delayed until all 5 managers have responded?

    Thank you for any advice.

    Sue

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

    Re: Help with formula - if cell is blank not to perform calclation

    Try

    =IF(COUNTIF(A5:E5,""),"Awaiting Completion",IF(COUNTIF(A5:E5,"yes")=5,"Approved","Declined"))

  3. #3
    Registered User
    Join Date
    05-21-2018
    Location
    Princes Risborough, Bucks
    MS-Off Ver
    2010
    Posts
    3

    Re: Help with formula - if cell is blank not to perform calclation

    Thank you so very much and for being so fast to respond.

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,911

    Re: Help with formula - if cell is blank not to perform calclation

    Or try:

    =IF(COUNTIF(A5:E5,"No"),"Declined",IF(COUNTIF(A5:E5,"yes")=5,"Approved","Awaiting Completion"))

  5. #5
    Registered User
    Join Date
    05-21-2018
    Location
    Princes Risborough, Bucks
    MS-Off Ver
    2010
    Posts
    3

    Re: Help with formula - if cell is blank not to perform calclation

    Thank you very much.
    Sue

+ 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] If a cell is blank/empty return a value or perform a calculation
    By mel_lopez in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-28-2016, 05:27 AM
  2. Not perform sum if cell is blank
    By lauracvp in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-15-2015, 11:39 AM
  3. [SOLVED] Agein calclation for a cell
    By Jack40 in forum Excel General
    Replies: 7
    Last Post: 01-05-2013, 04:11 PM
  4. [SOLVED] Only perform formula if another cell is non-blank
    By stevejfice in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-02-2012, 10:47 AM
  5. Perform If function if the cell is blank
    By capnhud in forum Excel General
    Replies: 17
    Last Post: 01-20-2012, 11:40 AM
  6. calclation: automatic vs manual
    By bullwinkle55423 in forum Excel General
    Replies: 1
    Last Post: 08-16-2011, 05:06 PM
  7. Perform a vlookup on a cell containing a formula?
    By Rupea22 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-31-2010, 12:11 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