+ Reply to Thread
Results 1 to 6 of 6

How do I sum cells that have values from a countif formula?

  1. #1
    Cheri
    Guest

    How do I sum cells that have values from a countif formula?

    I have columns that return the countif value but cannot for some reason then
    add up those values by using the sum function. How would I do this. I know
    it should be easy but I am at a loss!

    Thank you,
    Cheri

  2. #2
    Trevor Shuttleworth
    Guest

    Re: How do I sum cells that have values from a countif formula?

    Cheri

    Should work. What happens ? Or what doesn't happen ... OK, yeah, you
    don't get a sum. What do you get ?

    Regards

    Trevor


    "Cheri" <[email protected]> wrote in message
    news:[email protected]...
    >I have columns that return the countif value but cannot for some reason
    >then
    > add up those values by using the sum function. How would I do this. I
    > know
    > it should be easy but I am at a loss!
    >
    > Thank you,
    > Cheri




  3. #3
    Cheri
    Guest

    Re: How do I sum cells that have values from a countif formula?

    We are giving coupons for objectives met. They have to have 2 objectives met
    to earn 1 coupon, and all 3 objectives met to earn 2 coupons, otherwise, the
    cell of the row (countif calculation) would return a zero.

    In column "T", my formula for each row is:

    =IF(COUNTIF(B266:D266,"X")=3,"2",IF(COUNTIF(B266:D266,"x")=2,"1","0"))

    At the column end, I input =SUM(T3:T279) to add all the results of the above
    calculation. It returns a zero even though there are several cells with 1's
    and 2's.

    Thanks,
    Cheri




    "Trevor Shuttleworth" wrote:

    > Cheri
    >
    > Should work. What happens ? Or what doesn't happen ... OK, yeah, you
    > don't get a sum. What do you get ?
    >
    > Regards
    >
    > Trevor
    >
    >
    > "Cheri" <[email protected]> wrote in message
    > news:[email protected]...
    > >I have columns that return the countif value but cannot for some reason
    > >then
    > > add up those values by using the sum function. How would I do this. I
    > > know
    > > it should be easy but I am at a loss!
    > >
    > > Thank you,
    > > Cheri

    >
    >
    >


  4. #4
    RagDyer
    Guest

    Re: How do I sum cells that have values from a countif formula?

    Try *removing* the quotes from around your numbers.

    =IF(COUNTIF(B266:D266,"X")=3,2,IF(COUNTIF(B266:D266,"x")=2,1,0))

    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================


    "Cheri" <[email protected]> wrote in message
    news:[email protected]...
    > We are giving coupons for objectives met. They have to have 2 objectives

    met
    > to earn 1 coupon, and all 3 objectives met to earn 2 coupons, otherwise,

    the
    > cell of the row (countif calculation) would return a zero.
    >
    > In column "T", my formula for each row is:
    >
    > =IF(COUNTIF(B266:D266,"X")=3,"2",IF(COUNTIF(B266:D266,"x")=2,"1","0"))
    >
    > At the column end, I input =SUM(T3:T279) to add all the results of the

    above
    > calculation. It returns a zero even though there are several cells with

    1's
    > and 2's.
    >
    > Thanks,
    > Cheri
    >
    >
    >
    >
    > "Trevor Shuttleworth" wrote:
    >
    > > Cheri
    > >
    > > Should work. What happens ? Or what doesn't happen ... OK, yeah, you
    > > don't get a sum. What do you get ?
    > >
    > > Regards
    > >
    > > Trevor
    > >
    > >
    > > "Cheri" <[email protected]> wrote in message
    > > news:[email protected]...
    > > >I have columns that return the countif value but cannot for some reason
    > > >then
    > > > add up those values by using the sum function. How would I do this.

    I
    > > > know
    > > > it should be easy but I am at a loss!
    > > >
    > > > Thank you,
    > > > Cheri

    > >
    > >
    > >



  5. #5
    Cheri
    Guest

    Re: How do I sum cells that have values from a countif formula?

    Too funny! I JUST figured it out and was coming back to admit my error.
    Thanks!!!

    "RagDyer" wrote:

    > Try *removing* the quotes from around your numbers.
    >
    > =IF(COUNTIF(B266:D266,"X")=3,2,IF(COUNTIF(B266:D266,"x")=2,1,0))
    >
    > --
    > HTH,
    >
    > RD
    > ==============================================
    > Please keep all correspondence within the Group, so all may benefit!
    > ==============================================
    >
    >
    > "Cheri" <[email protected]> wrote in message
    > news:[email protected]...
    > > We are giving coupons for objectives met. They have to have 2 objectives

    > met
    > > to earn 1 coupon, and all 3 objectives met to earn 2 coupons, otherwise,

    > the
    > > cell of the row (countif calculation) would return a zero.
    > >
    > > In column "T", my formula for each row is:
    > >
    > > =IF(COUNTIF(B266:D266,"X")=3,"2",IF(COUNTIF(B266:D266,"x")=2,"1","0"))
    > >
    > > At the column end, I input =SUM(T3:T279) to add all the results of the

    > above
    > > calculation. It returns a zero even though there are several cells with

    > 1's
    > > and 2's.
    > >
    > > Thanks,
    > > Cheri
    > >
    > >
    > >
    > >
    > > "Trevor Shuttleworth" wrote:
    > >
    > > > Cheri
    > > >
    > > > Should work. What happens ? Or what doesn't happen ... OK, yeah, you
    > > > don't get a sum. What do you get ?
    > > >
    > > > Regards
    > > >
    > > > Trevor
    > > >
    > > >
    > > > "Cheri" <[email protected]> wrote in message
    > > > news:[email protected]...
    > > > >I have columns that return the countif value but cannot for some reason
    > > > >then
    > > > > add up those values by using the sum function. How would I do this.

    > I
    > > > > know
    > > > > it should be easy but I am at a loss!
    > > > >
    > > > > Thank you,
    > > > > Cheri
    > > >
    > > >
    > > >

    >
    >


  6. #6
    Trevor Shuttleworth
    Guest

    Re: How do I sum cells that have values from a countif formula?

    Cheri

    it's often the way that explaining something to someone else means you look
    more closely and see for yourself what the problem is.

    Thanks to RD for jumping in with the answer. I knew that ;-)

    Regards

    Trevor


    "Cheri" <[email protected]> wrote in message
    news:[email protected]...
    > Too funny! I JUST figured it out and was coming back to admit my error.
    > Thanks!!!
    >
    > "RagDyer" wrote:
    >
    >> Try *removing* the quotes from around your numbers.
    >>
    >> =IF(COUNTIF(B266:D266,"X")=3,2,IF(COUNTIF(B266:D266,"x")=2,1,0))
    >>
    >> --
    >> HTH,
    >>
    >> RD
    >> ==============================================
    >> Please keep all correspondence within the Group, so all may benefit!
    >> ==============================================
    >>
    >>
    >> "Cheri" <[email protected]> wrote in message
    >> news:[email protected]...
    >> > We are giving coupons for objectives met. They have to have 2
    >> > objectives

    >> met
    >> > to earn 1 coupon, and all 3 objectives met to earn 2 coupons,
    >> > otherwise,

    >> the
    >> > cell of the row (countif calculation) would return a zero.
    >> >
    >> > In column "T", my formula for each row is:
    >> >
    >> > =IF(COUNTIF(B266:D266,"X")=3,"2",IF(COUNTIF(B266:D266,"x")=2,"1","0"))
    >> >
    >> > At the column end, I input =SUM(T3:T279) to add all the results of the

    >> above
    >> > calculation. It returns a zero even though there are several cells
    >> > with

    >> 1's
    >> > and 2's.
    >> >
    >> > Thanks,
    >> > Cheri
    >> >
    >> >
    >> >
    >> >
    >> > "Trevor Shuttleworth" wrote:
    >> >
    >> > > Cheri
    >> > >
    >> > > Should work. What happens ? Or what doesn't happen ... OK, yeah,
    >> > > you
    >> > > don't get a sum. What do you get ?
    >> > >
    >> > > Regards
    >> > >
    >> > > Trevor
    >> > >
    >> > >
    >> > > "Cheri" <[email protected]> wrote in message
    >> > > news:[email protected]...
    >> > > >I have columns that return the countif value but cannot for some
    >> > > >reason
    >> > > >then
    >> > > > add up those values by using the sum function. How would I do
    >> > > > this.

    >> I
    >> > > > know
    >> > > > it should be easy but I am at a loss!
    >> > > >
    >> > > > Thank you,
    >> > > > Cheri
    >> > >
    >> > >
    >> > >

    >>
    >>




+ 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