+ Reply to Thread
Results 1 to 8 of 8

Multiple outcome if and statement

Hybrid View

retroboy17 Multiple outcome if and... 03-07-2014, 05:36 PM
AliGW Re: Multiple outcome if and... 03-07-2014, 05:44 PM
judgeh59 Re: Multiple outcome if and... 03-07-2014, 05:47 PM
retroboy17 Re: Multiple outcome if and... 03-07-2014, 05:49 PM
AliGW Re: Multiple outcome if and... 03-07-2014, 05:54 PM
judgeh59 Re: Multiple outcome if and... 03-07-2014, 05:46 PM
popipipo Re: Multiple outcome if and... 03-07-2014, 05:47 PM
AliGW Re: Multiple outcome if and... 03-08-2014, 02:09 AM
  1. #1
    Registered User
    Join Date
    05-28-2010
    Location
    Redlands, CA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Multiple outcome if and statement

    Alright, looking for some help on this one:

    I have the following columns: Status (column C), New Status (Column D) and Date Sent (column M)
    Status column (C) contains multiple stages of progress status (Being Reviewed, Filed Not, etc)
    New Status (D) column is blank (this is where I will enter the formula)
    Date Sent (M) has mostly blank cells but some with dates in them

    I would like a formula in column D (New Status) which evaluates C (Status).
    If C = "Filed Not" AND M is blank, then output "Filed Not - Not Sent"
    If C = "Filed Not" AND M has a date in it, then output "Filed Not - Sent"
    If C <>"Filed Not" then output whatever data exists in C

    I hope this makes sense. I can get each of these to work individually, however, I can't, for the life of me, get them to work into one equation.
    I would appreciate, very much, any help I can get on this one...

    Thanks, in advance!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,404

    Re: Multiple outcome if and statement

    =if(and(c1="Filed Not",isblank(M1)),"Filed Not - Not Sent",if(and(c1="Filed Not", m1<>""),"Filed Not - Sent", c1))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Multiple outcome if and statement

    @Ali-----good job on the ISBLANK---lot of folks don't use that....
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  4. #4
    Registered User
    Join Date
    05-28-2010
    Location
    Redlands, CA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Multiple outcome if and statement

    You are amazing!
    Works perfectly.
    Thanks!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,404

    Re: Multiple outcome if and statement

    Quote Originally Posted by retroboy17 View Post
    You are amazing!
    Works perfectly.
    Thanks!
    Which one?

  6. #6
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Multiple outcome if and statement

    just another look

    =IF(AND(C1="Filed Not",ISBLANK(M1)),"Filed Not - Not Sent", IF(AND(C1="Filed Not",NOT(ISBLANK(M1))),"Filed Not - Sent", IF(C1<> "Filed Not", C1,"")))

  7. #7
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,651

    Re: Multiple outcome if and statement

    =IF(C1="Filed Not","Filed Not - Not Sent",C1)
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,404

    Re: Multiple outcome if and statement

    Quote Originally Posted by popipipo View Post
    =IF(C1="Filed Not","Filed Not - Not Sent",C1)
    This doesn't handle the "File Not - Sent" condition, does it?

+ 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. If statement outcome problem
    By devilchild99 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-18-2013, 09:25 PM
  2. [SOLVED] issue with outcome of if/then statement in VBA
    By Marijke in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-19-2013, 10:18 AM
  3. Incorrect Outcome with Dates and >= statement
    By stuart010 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-29-2011, 12:55 PM
  4. If Statement not recognising outcome
    By JoeSharp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-25-2008, 07:18 AM
  5. How to calculate a sum as one outcome of an IF statement
    By barb in NC in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-31-2005, 03:06 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