+ Reply to Thread
Results 1 to 8 of 8

3 conditions coming from one cell.. Nested If Statement??

  1. #1
    Registered User
    Join Date
    04-23-2012
    Location
    Davie, FL
    MS-Off Ver
    Excel 2013
    Posts
    83

    3 conditions coming from one cell.. Nested If Statement??

    Can someone please help me out with this formula? In English I’m trying to say:
    If the words “CANCEL”, “Cancel – Non-Pay”, or “Cancel-Pend Rel/NOC” are in column A, then count as 1, if not 0..

    This is what I thought was right…Apparently not..

    =IF(or(A:A=”CANCEL”,”Cancel – Non-Pay”,”Cancel-Pend Rel/NOC”,1,0))

    What did I do wrong?
    Last edited by trosasco; 05-10-2013 at 02:42 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: 3 conditions coming from one cell.. Nested If Statement??

    Change it to =IF(OR(A1="Cancel",A1="CANCEL",A1="Cancel-Pend Rel/NOC",A1="Cancel – Non-Pay"),1,0) and paste it down a parallel column.

    There was something wrong with the quotation marks but I'm not sure what
    Last edited by AndyLitch; 05-07-2013 at 01:08 PM.
    Elegant Simplicity............. Not Always

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

    Re: 3 conditions coming from one cell.. Nested If Statement??

    so, in english, you are trying to count how many times "CANCEL", "Cancel...","Cancel..." occur...is that correct?
    Ernest

    Please consider adding a * if I helped

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

  4. #4
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: 3 conditions coming from one cell.. Nested If Statement??

    No .. if cell A1 has any one of the text values it will score a 1 ... if not a zero

  5. #5
    Registered User
    Join Date
    04-23-2012
    Location
    Davie, FL
    MS-Off Ver
    Excel 2013
    Posts
    83

    Re: 3 conditions coming from one cell.. Nested If Statement??

    Thank you Andy.. It worked.

  6. #6
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: 3 conditions coming from one cell.. Nested If Statement??

    You're welcome

  7. #7
    Registered User
    Join Date
    04-23-2012
    Location
    Davie, FL
    MS-Off Ver
    Excel 2013
    Posts
    83

    Re: 3 conditions coming from one cell.. Nested If Statement??

    Same report - different formula and a little tougher..

    I have a column where i have to track all the Active files in Illinois only. The problem is that there are a lot of different types of "Active" files - All these files are considered "Active":

    Column F = Active
    Column G = Pending
    Column K = Welcome Call
    Column L = 90-Day Savings Hold
    Column M = Temp-Active
    Column P = Active-No Funds
    Column Q = Pending-No Funds

    I created a column for each of them with their own totals. How do I create a formula that will count all these columns and only for the state of IL? The IL column is column S.

  8. #8
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: 3 conditions coming from one cell.. Nested If Statement??

    Dude...
    You need to copy paste the above into a new thread.... It's forum rules but also more likely to get you a quicker (and probably better) response..

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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