+ Reply to Thread
Results 1 to 5 of 5

Add column based on three conditions

  1. #1
    Registered User
    Join Date
    04-21-2010
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    2

    Add column based on three conditions

    I need a formula in Excel 2003 to add a col based on three conditions

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

    Re: Add column based on three conditions

    Formulas cannot add columns, formulas can only display a "result", an answer in the cell they are entered into.

    To suggest a VBA solution, you will have to describe the entire process/logic to follow, and provide a sample workbook. Click GO ADVANCED and use the paperclip icon to post up your workbook.
    _________________
    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!)

  3. #3
    Registered User
    Join Date
    04-21-2010
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Add column based on three conditions

    No I did not mean add I ment to total a column

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

    Re: Add column based on three conditions

    OK, then based on the information you've provided so far...I have no idea.



    Joking aside, a sample workbook showing us what you're wanting to do should make this a quick solve. Click GO ADVANCED and use the paperclip icon to post up your workbook.

  5. #5
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Add column based on three conditions

    As a starting point, it sounds like a job for sumproduct, e.g., =Sumproduct((A1:A10="Bob")*(B1:B10=5)*(C1:C10="New York")*(D1:D10)), which would sum D1:D10 if columns A:C met all of those conditions.

+ 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