+ Reply to Thread
Results 1 to 3 of 3

Adding together a range of values but omiting certain values

  1. #1
    Registered User
    Join Date
    10-24-2012
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    2

    Adding together a range of values but omiting certain values

    Hi everyone,

    This is my first post here as I need a hand with a formula for work and I majorly struggle with formulas if I don't have an example to work from.

    The problem I have is that I'm trying to add a range of values together for a cell in a table, although I want excel to select the values to add based on the value of the cell next to it.

    For instance,

    I want to add up the value of deals won in November and I want this to appear in table A on a different tab.
    In table B on the original tab I have one column for the date and one for the value.
    The problem is that I want it to omit any values in the range that don't have November in the date column.

    And I can't get past that.

    Any help would be much appreciated! Thanks.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Adding together a range of values but omiting certain values

    Try this.

    =SUMPRODUCT(--(Month(A2:A100) = 11), B2:B100)

  3. #3
    Registered User
    Join Date
    10-24-2012
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Adding together a range of values but omiting certain values

    Thank you so much, that works like a dream!

+ 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