+ Reply to Thread
Results 1 to 7 of 7

Sum up status per row

  1. #1
    Registered User
    Join Date
    12-24-2009
    Location
    Bakersfield, CA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Sum up status per row

    HI, I'm new at Excel and just trying to get by with some online help and the Excel Bible book, but I still don't quite know if its possible to do what I want to do. I'm not quite familiar with how to write 'criterias' inside a formula.

    Please take a look at my sample Excel 2003 file to see if it make sense?

    Any response would be appreciated.

    Thanks !

    Tom
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    12-24-2009
    Location
    Bakersfield, CA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Attach Files in Help Forum ?

    OK so really 'Attach Files in Help Forum ?' shouldn't be the Title to my post but 'How do I write a proper Formula for this chart?'

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Attach Files in Help Forum ?

    Return to your first post and click on the EDIT button, then the GO ADVANCED button, change the title there.
    Last edited by JBeaucaire; 12-24-2009 at 12:44 PM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Attach Files in Help Forum ?

    Hi TomV,

    welcome to the forum. An appropriate title for your thread would be "Sum up status per row". I'll change the title for you this time, but for your next thread try to describe the isse in a few simple words.

    Looking at your spreadsheet, I see several hurdles that will make a solution difficult to achieve in XL 2003 without the use of VBA.

    - Your values in C4 to Q12 contain leading spaces, so a comparison with the values in C20 to C22, for example with COUNTIF() will always return FALSE. You need to remove the spaces or resort to a more complicated SUMPRODUCT construct.
    - you distinguish between two statuses by applying a cell color to the same symbol. Excel 2003 cannot evaluate cell color with formulae. To find a solution without VBA, you would need to come up with a different symbol for what currently is the white cell with the check mark, for example Q instead of P with Wingdings2

    With these corrections in place, you can use this formula in S4 and copy down

    Please Login or Register  to view this content.
    see attached with the above formula applied in column T for perusal.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-24-2009
    Location
    Bakersfield, CA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Red face Re: Sum up status per row

    Thanks for your reply, teylyn. Guess trying to count numerical cells is not easy for excel. I was hoping to be able to make excel count cells based on letters or symbols. Aha, so I can assign a value to letters 'P'=80

    ie: IF all Cells in one Row are all =80 then output 1, if not output 2 or 3 (depending on second or third or more sub-conditions)

    So Excel does count spaces, correct? (CODE returns a '32')
    Is there a way to say:
    If Cell contains 'P' (even if it has a number and space: like "Sep.25 P")
    then do this or that...

    Maybe I'll have to learn that other programming VBA then. I'll try to learn and understand your formula.

    Ha ha, talk about doing something totally over my head here. Its easier to come up with concepts for Excel than it is to actually make it work.

    Happy New Year !

    Tom


    And thanks for changing the title for me, I'll keep JBeaucaire's tip in mind for future posts.
    Last edited by TomV; 12-30-2009 at 09:02 AM. Reason: add more

  6. #6
    Registered User
    Join Date
    12-29-2009
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Attach Files in Help Forum ?

    Quote Originally Posted by teylyn View Post
    Hi TomV,
    Excel 2003 cannot evaluate cell color with formulae.
    Is this something that will change with Excel 2010? I would love to be able to evaluate cells by format.


    Thanks,
    Josh
    Last edited by DonkeyOte; 12-31-2009 at 03:59 AM. Reason: corrected tags

  7. #7
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Sum up status per row

    Humanist ...

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.

+ 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