+ Reply to Thread
Results 1 to 6 of 6

Sumproduct using column and row

  1. #1
    Registered User
    Join Date
    07-07-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    30

    Sumproduct using column and row

    Hi,

    I am trying to sum data if the date in column D is before 2014 and if the value in row 2 of that coulmn matches the value in E4 (Q1, Q2...). This is the sum product I am using but it is not picking up any values.

    =SUMPRODUCT(('FAC Open POs'!$D:$D<DATE(2014,1,1))*('FAC Open POs'!T2:AG2='Cash Waterfall'!E4)*('FAC Open POs'!T:AG))

    Thanks,
    Justin Picardi

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumproduct using column and row

    The sum range can't contain any text strings, which apparently it does because row 2 is expected to = "Q1" or "Q2" etc..

    So you should specify row #s in the formula.
    Try

    =SUMPRODUCT(('FAC Open POs'!$D$3:$D$100<DATE(2014,1,1))*('FAC Open POs'!$T$2:$AG$2='Cash Waterfall'!E4)*('FAC Open POs'!$T$3:$AG$100))

  3. #3
    Registered User
    Join Date
    07-07-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    30

    Re: Sumproduct using column and row

    My goal is to sum any value in which the date in column D is before 2014 and the Value in Row 2 of that column is equal to the Value in E4(E4 contains "2014_Q1"). That formula had the same result as the one I posted.

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumproduct using column and row

    Can you post a sample book?

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Registered User
    Join Date
    07-07-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    30

    Re: Sumproduct using column and row

    I built this template of what I want it to do and for some reason this formula worked in here but is not working on the file I am trying to use.

    =SUMPRODUCT(('FAC Open POs'!D8:D569<DATE(2014,1,1))*('FAC Open POs'!T2:AG2='Cash Waterfall'!E4)*('FAC Open POs'!T8:AG570))

    This formula is giving me an #N/A result
    Attached Files Attached Files

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumproduct using column and row

    The ranges have to be symetrical

    =SUMPRODUCT(('FAC Open POs'!D8:D569<DATE(2014,1,1))*('FAC Open POs'!T2:AG2='Cash Waterfall'!E4)*('FAC Open POs'!T8:AG570))


    That should be
    =SUMPRODUCT(('FAC Open POs'!D8:D569<DATE(2014,1,1))*('FAC Open POs'!T2:AG2='Cash Waterfall'!E4)*('FAC Open POs'!T8:AG569))

    or
    =SUMPRODUCT(('FAC Open POs'!D8:D570<DATE(2014,1,1))*('FAC Open POs'!T2:AG2='Cash Waterfall'!E4)*('FAC Open POs'!T8:AG570))

+ 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 & Column
    By penexcel in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-23-2014, 02:18 PM
  2. [SOLVED] SUMPRODUCT IF COLUMN B=x AND COLUMN E CONTAINED IN A LIST
    By AL1976 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-17-2014, 10:35 AM
  3. [SOLVED] using Sumproduct but looking up which column to sum
    By alexander.aberg in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-31-2014, 09:57 AM
  4. SUMPRODUCT - Every other column
    By Jabba in forum Excel General
    Replies: 6
    Last Post: 03-23-2009, 11:56 AM
  5. Sumproduct within the same column
    By Mr.Cellophane in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-11-2005, 05:07 PM

Tags for this Thread

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