+ Reply to Thread
Results 1 to 5 of 5

Adding a value of a column based on mutliple arguments

  1. #1
    Registered User
    Join Date
    05-08-2013
    Location
    Norwich
    MS-Off Ver
    Excel 2010
    Posts
    53

    Adding a value of a column based on mutliple arguments

    Hi

    I need to add the value of column C based upon a specific date range in coloumn B and a specific value in column A. Please see example below:


    _____A_________B_________C_________D
    1__Active_____2/1/14____£123.30____1/1/14
    2__ Won______2/1/14____£564.25____31/1/14
    3__Won______5/1/14_____£56.23_____Active
    4__Active_____6/1/14____£711.22
    5__Active_____8/1/14____£107.88
    6__Active_____3/2/14____£236.31
    7__Active_____8/2/14____£901.60


    I would like the foumula to add all the values in column C based upon that column A matches the value in D1 and the date in column B falls between D1 and D2.

    So the formula would add cells C1,C4 & C5 from the above table.

    Thanks

    Jon
    Last edited by jono7gold; 07-15-2014 at 07:24 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,377

    Re: Adding a value of a column based on mutliple arguments

    Have a look a SUMIFS. Lots of examples around.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Adding a value of a column based on mutliple arguments

    hi,

    Find the attached workbook which is as per u r requirements .

    Punnam
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-08-2013
    Location
    Norwich
    MS-Off Ver
    Excel 2010
    Posts
    53

    Re: Adding a value of a column based on mutliple arguments

    Thank you so much, just what I needed.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Adding a value of a column based on mutliple arguments

    Try this...

    =SUMIFS(C1:C7,A1:A7,D3,B1;B7,">="&D1,B1:B7,"<="&D2)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 06-19-2014, 06:35 PM
  2. Replies: 8
    Last Post: 05-02-2014, 08:54 AM
  3. Adding Sequential Numbers in Column B Based on Column A Values
    By habsfan1433 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-14-2014, 04:17 PM
  4. Replies: 1
    Last Post: 05-29-2012, 04:53 PM
  5. To automate a list based of mutliple column criteria
    By money n da sank in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-24-2008, 11:16 AM

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