IF, And, Or formula

Posted on 2011-05-02
Last Modified: 2012-06-27
I am working on a spreadsheet and need some help with cause I can't seem to get it right.  The column has 1 of 3 values. C for complete, P for Partially Complete, and N for Not Started.  What I am trying to do is have a box at the bottom to tell me when cells 1 through 10 are maked C and when a cell is marked as C in cells 11 or 12 and a cell is marked as C in cell 13, 14, or 15.  I am sure this can be done I just can't seem to get the formula right.  I keep getting #VALUE for an answer.
Question by:BMCISAdmin
    LVL 11

    Expert Comment

    by:David Kroll
    can you attach the spreadsheet?
    LVL 92

    Expert Comment

    by:Patrick Matthews
    Something like this should work:


    That returns TRUE if all three conditions are met, and FALSE if not.

    Author Comment

    Sheet 3 is what I am working off of. TEST.xlsx

    Author Comment

    Mathewspatrick that works.  How can I change it to say Complete for True and Not Complete for False?
    LVL 19

    Expert Comment

    that would be as simple as
    IF([formula], "Complete", "Not Complete")

    Open in new window

    LVL 92

    Accepted Solution


    Modify my formula thusly:

    =IF(AND(COUNTIF(A1:A10,"C"),COUNTIF(A11:A12,"C"),COUNTIF(A13:A15,"C")),"Complete","Not Complete")


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
    Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
    The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
    This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now