+ Reply to Thread
Results 1 to 2 of 2

CountIf functions

  1. #1
    Registered User
    Join Date
    05-22-2005
    Posts
    38

    CountIf functions

    Afternoon all..
    I wondered if you could maybe help me..
    I am trying to create a formula that will check the content off one colum and if this reads 'closed' then will add the value in a second colum.

    e.g
    A B
    7 closed
    1 open
    2 closed
    4 closed
    5 open


    So if colum B = closed it will add the vaule of colum A. so total is 7+2+4 = 13

    How can i do this?

    many thanks

    James

  2. #2
    Forum Contributor
    Join Date
    06-23-2004
    Location
    Houston, TX
    Posts
    571
    Quote Originally Posted by themax16
    Afternoon all..
    I wondered if you could maybe help me..
    I am trying to create a formula that will check the content off one colum and if this reads 'closed' then will add the value in a second colum.

    e.g
    A B
    7 closed
    1 open
    2 closed
    4 closed
    5 open


    So if colum B = closed it will add the vaule of colum A. so total is 7+2+4 = 13

    How can i do this?

    many thanks

    James
    This formula

    =sumif(B1:B5,"closed",A1:A5)

    will work for you.

    Regards.
    BenjieLop
    Houston, TX

+ 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