+ Reply to Thread
Results 1 to 6 of 6

Help with changing column references in sumproduct

  1. #1
    Registered User
    Join Date
    02-27-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    5

    Help with changing column references in sumproduct

    Hi,

    I'm trying to fill down the following formula:
    =$B2*SUMPRODUCT($B$2:$B$477;'COV matrix'!B$2:B$477)
    While filling down, I want the formula to change from: $B2*SUMPRODUCT($B$2:$B$477;'COV matrix'!B$2:B$477) to $B3*SUMPRODUCT($B$2:$B$477;'COV matrix'!C$2:C$477) etc.
    Now, it just stays the same.

    Can somebody please help me.

    Gilles
    Last edited by Gdespont; 02-27-2013 at 12:56 PM.

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Help with changing column references in sumproduct

    maybe something like this would work for you:
    assuming you are starting in row 2 :
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    as you drag the formula down, you should be referencing the next column in 'COV matrix' sheet

    Hope this helps
    Last edited by dredwolf; 02-27-2013 at 12:30 PM. Reason: spelling corrections
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Registered User
    Join Date
    02-27-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Help with changing column references in sumproduct

    I don't think it is working.
    Maybe it's more easy if i upload a part of the document.
    The formula is pasted in sheet "Portfolio maandelijks MAD" from BK2:BK477.
    COV.xlsx

    Thanks for the help and i'm sorry for my very poor excel skills.

  4. #4
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Help with changing column references in sumproduct

    Okay..for some reason, the sumproduct wanted to calculate the column offset calculation as an array...not sure why, but this seems to work..hard to tell with no data in b2 though
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope this helps
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-27-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Help with changing column references in sumproduct

    Thank you very much!

  6. #6
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Help with changing column references in sumproduct

    You are welcome

+ 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