+ Reply to Thread
Results 1 to 11 of 11

Dragging SUMPRODUCT formulas downward is not working properly

  1. #1
    Forum Contributor
    Join Date
    11-01-2013
    Location
    Atlanta, GA USA
    MS-Off Ver
    Excel 2010
    Posts
    115

    Dragging SUMPRODUCT formulas downward is not working properly

    Hello once again!

    We still need help on a solution on how to drag a few of our formulas down ... I've attached a worksheet that has only the tables with the problem. We manually filled in the 2013 formulas. When they are dragged down to fill 2014-2020, the references within the formula change. The only part of the formula that we wan t to change is the "DATE".

    We thought we had this problem solved by using a suggestion that involved the INDIRECT command. It caused problems once files were opened and closed ...

    I hope someone can come up with a solution. Thank you for helping once again!!
    Attached Files Attached Files

  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,471

    Re: Dragging SUMPRODUCT formulas downward is not working properly

    Only looked at your workbook on an iPad, so only a cursory look. However, I'd suggest you ditch the merged cells and repeat the year on each row. Doesn't look as pretty but it's likely to work better.

    Then you can refer to the year on the same row as the rest of the data.


    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
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,294

    Re: Dragging SUMPRODUCT formulas downward is not working properly

    I'd suggest you ditch the merged cells and repeat the year on each row
    Or month and year in the same cell
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  4. #4
    Registered User
    Join Date
    01-04-2014
    Location
    Wisconsin, USA
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: Dragging SUMPRODUCT formulas downward is not working properly

    I believe this is what most are thinking of.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    11-01-2013
    Location
    Atlanta, GA USA
    MS-Off Ver
    Excel 2010
    Posts
    115

    Re: Dragging SUMPRODUCT formulas downward is not working properly

    So you guys are saying that I should use COLUMN H to represent mmyyyy ....

    So if cell H11 had 092013 stored in it as mmyyyy, then I could write the formula as:

    =SUMPRODUCT((TEXT($KW$2:$KW27,"mmyyyy")="H11")*$KX$2:$KX27)


    I'll try it out! Thanks!!

  6. #6
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,294

    Re: Dragging SUMPRODUCT formulas downward is not working properly

    Without the quotes and depending on column KW
    =SUMPRODUCT((TEXT($KW$2:$KW27,"mmyyyy")="H11")*$KX$2:$KX27)
    =SUMPRODUCT((TEXT($KW$2:$KW27,"mmyyyy")=H11)*$KX$2:$KX27)
    Attached Files Attached Files
    Last edited by popipipo; 01-11-2014 at 05:01 PM. Reason: update a file

  7. #7
    Forum Contributor
    Join Date
    11-01-2013
    Location
    Atlanta, GA USA
    MS-Off Ver
    Excel 2010
    Posts
    115

    Re: Dragging SUMPRODUCT formulas downward is not working properly

    Guys, I tried both and neither seem to work. I formatted the new date column with mmyyyy, so that's not the problem.

    I tried it in a cell that pulled a value in from the $KX$2:$KX27 range .... when I used the H11 in place of the 092013 it didn't pull the value that it did previously.

  8. #8
    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,471

    Re: Dragging SUMPRODUCT formulas downward is not working properly

    Personally, I'd put 01/09/2013 in cell H11, 01/10/2013 in cell H12, both formatted as mmm yyy ... and Auto fill down. You'd need to tweak your formatting but that gets real dates (first of each month) in each cell.

    Then you can use:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Not sure if you intended the W27 to be absolute too?


    Edit: see attachment


    Regards, TMS
    Attached Files Attached Files
    Last edited by TMS; 01-11-2014 at 05:09 PM. Reason: Added attachment

  9. #9
    Forum Contributor
    Join Date
    11-01-2013
    Location
    Atlanta, GA USA
    MS-Off Ver
    Excel 2010
    Posts
    115

    Re: Dragging SUMPRODUCT formulas downward is not working properly

    OK, we got it to work if the reference date cells were typed in as TEXT and not mmyyyy. Is that weird?? But hey, it's working!

    Thank you for the help!! If there are any other suggestions, please offer them!!

    Cheers!!

  10. #10
    Forum Contributor
    Join Date
    11-01-2013
    Location
    Atlanta, GA USA
    MS-Off Ver
    Excel 2010
    Posts
    115

    Re: Dragging SUMPRODUCT formulas downward is not working properly

    TMS, that's a neat way to get it done! Thank you!!

    I really appreciate the help that you all offer. This Forum is the best I've ever used. I wish I could add some value. All I do is ask questions!

  11. #11
    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,471

    Re: Dragging SUMPRODUCT formulas downward is not working properly

    You're welcome. Thanks for the rep.


    I wish I could add some value. All I do is ask questions!
    Probably the way we all start out. Ask questions, learn, ask more questions, ..., learn, answer questions.

    Regards, TMS

+ 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] Dragging formulas - not working
    By InterstateRentals in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-14-2013, 09:50 AM
  2. sumproduct function not working properly
    By jls141 in forum Excel General
    Replies: 1
    Last Post: 04-27-2012, 03:15 PM
  3. Copy formulas downward within a range using VBA
    By PY_ in forum Excel General
    Replies: 3
    Last Post: 12-15-2010, 11:24 AM
  4. Excel 2007 : Formulas not working properly
    By azalner in forum Excel General
    Replies: 4
    Last Post: 07-30-2010, 06:22 PM
  5. [SOLVED] Duplicate formulas downward?
    By Rick C. in forum Excel General
    Replies: 14
    Last Post: 02-19-2005, 08:06 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