+ Reply to Thread
Results 1 to 4 of 4

Adding a condition to a working formula - need syntax help

  1. #1
    Registered User
    Join Date
    01-17-2014
    Location
    Fenton Missouri
    MS-Off Ver
    Excel 2007
    Posts
    54

    Adding a condition to a working formula - need syntax help

    The formula below works perfectly that is in cell U594
    But I want to add another condition to it

    =IF(S594="Pending",IF(O594="",TODAY()-P594,TODAY()-O594),"")

    I want to add the condition that if A594 is blank then cell U594 is blank
    This new condition needs to operate first before the remaining formula is performed.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Adding a condition to a working formula - need syntax help

    Like this...

    =IF(A594="","",IF(S594="Pending",IF(O594="",TODAY()-P594,TODAY()-O594),""))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    01-17-2014
    Location
    Fenton Missouri
    MS-Off Ver
    Excel 2007
    Posts
    54

    Re: Adding a condition to a working formula - need syntax help

    Thanks Tony, that did it

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Adding a condition to a working formula - need syntax help

    You're welcome. Thanks for the feedback!


    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark 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. Need help in adding the IF condition in existing Formula
    By Manish_Gupta in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-08-2013, 01:00 AM
  2. Need help adding another condition to IF formula
    By gibson2503 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-28-2013, 10:03 AM
  3. Adding an IF condition into an existing formula.
    By dmejia174 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-06-2013, 07:33 PM
  4. Adding a condition to a formula to filter data
    By MartinHK in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-16-2013, 03:53 PM
  5. [SOLVED] If-Then nested formula not working...must be a syntax error
    By sunny_island2002 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-16-2012, 02:37 PM
  6. Adding condition to existing formula
    By KINNEY0201 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-16-2010, 01:42 PM
  7. Replies: 2
    Last Post: 05-11-2010, 11:58 PM
  8. Index Formula - adding a range condition
    By Henry c in forum Excel General
    Replies: 2
    Last Post: 04-29-2010, 10:19 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