+ Reply to Thread
Results 1 to 3 of 3

Formula to add prices if YES or if NO - help

  1. #1
    Forum Contributor
    Join Date
    09-02-2010
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    103

    Formula to add prices if YES or if NO - help

    Hello everyone,

    I was just wondering if someone can help me out.

    I have a spreadsheet with a few columns, Column E and F are the ones I need to work with.

    Column E contains prices
    Column F contains YES or NO

    I would like to know what formula I should use in order for Excel to calculate all the prices for Column E, if Column F is a YES and also if it is a NO.

    Please help me out guys.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Formula to add prices if YES or if NO - help

    =sumif(f1:f100,"yes",e1:e100)
    =sumif(f1:f100,"no",e1:e100)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Contributor
    Join Date
    09-02-2010
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    103

    Re: Formula to add prices if YES or if NO - help

    Wow, that was much easier than i thought it would be.

    I wish i knew excel a bit more LOL

    Thank you very much martindwilson

+ 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