+ Reply to Thread
Results 1 to 4 of 4

sum if cells have yes, ignore if no

  1. #1
    Registered User
    Join Date
    04-01-2010
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    8

    sum if cells have yes, ignore if no

    Hi.. sorry very newbie question.. I have a spreadsheet with a range of monetry values in column a, and yes/no in column b next to it...

    I need to work out how to sum just the yes values.

    thanks in anticipation

    Ryan

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: sum if cells have yes, ignore if no

    Hi,

    You could use the SUMIF function.

    =SUMIF(B1:B100,"Yes",A1:A100)


    Adjust ranges to suit your data.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    04-15-2010
    Location
    India
    MS-Off Ver
    Excel 2003, Excel 2007, Excel 2010 and Excel 2013
    Posts
    22

    Re: sum if cells have yes, ignore if no

    Hi Ryan,

    Please use the below formula -

    =SUMIF(B1:B100,"Yes",A1:A100).

    Hope it helps.

    Cheers !!
    Excel-o-ratoR

  4. #4
    Registered User
    Join Date
    04-01-2010
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: sum if cells have yes, ignore if no

    thanks very much.. perfect for what i need.

    Cheers +1 rep

+ 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