+ Reply to Thread
Results 1 to 2 of 2

SumProduct Referencing Help

  1. #1
    Registered User
    Join Date
    07-07-2016
    Location
    Vancouver, Canada
    MS-Off Ver
    2010
    Posts
    68

    SumProduct Referencing Help

    I'm trying to reference a 7 digit code where I really only need the first 2 digits.

    Then sum all of the values with that figure - see attached.

    If the SubProject (column G) begins with 28 or 23 I'd like to total the spend
    If the SubProject begins with 22 or 21 I'd like to total the spend.

    I do have a value of 2853530 which is entirely separate.

    Apologies if this is a duplicate post from earlier today - what I thought I posted previously is not showing up under My Posts.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,523

    Re: SumProduct Referencing Help

    In B2

    =SUMPRODUCT(('Budget Entry 16 17'!$S$2:$S$12)*('Budget Entry 16 17'!$P$2:$P$12=MONTH(B$1&0))*(LEFT('Budget Entry 16 17'!$G$2:$G$12,3)={"230","280"}))

    Copy across

    in B3

    =SUMPRODUCT(('Budget Entry 16 17'!$S$2:$S$12)*('Budget Entry 16 17'!$P$2:$P$12=MONTH(B$1&0))*(LEFT('Budget Entry 16 17'!$G$2:$G$12,3)={"210","220"}))

    in B4

    =SUMPRODUCT(('Budget Entry 16 17'!$S$2:$S$12)*('Budget Entry 16 17'!$P$2:$P$12=MONTH(B$1&0))*('Budget Entry 16 17'!$G$2:$G$12=2853530))


    Remove spaces from codes OR change last formula to...

    Please Login or Register  to view this content.
    Last edited by JohnTopley; 03-09-2017 at 04:43 PM.

+ 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. [SOLVED] SumProduct Referencing Help
    By 1Stacy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-09-2017, 05:32 PM
  2. [SOLVED] Sumproduct not working when referencing a column of formulas
    By sskgintl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-07-2015, 07:25 PM
  3. [SOLVED] SUMPRODUCT #DIV/0! Error When Referencing Different Worksheet
    By NoMotion in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-02-2015, 07:48 AM
  4. Replies: 0
    Last Post: 01-09-2013, 06:58 AM
  5. Sumproduct Help - Referencing Text String
    By mrsogmax76 in forum Excel General
    Replies: 6
    Last Post: 04-08-2010, 01:06 PM
  6. Lookup referencing cell referencing range
    By cmcconnehey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-15-2008, 06:19 PM
  7. Replies: 3
    Last Post: 02-18-2006, 07:07 PM

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