+ Reply to Thread
Results 1 to 4 of 4

copy formula

  1. #1
    Registered User
    Join Date
    11-30-2007
    Posts
    4

    copy formula

    hi
    Can anybody help me to figure out how to handle the following problem:
    I wanna copy this formula along a column:
    =SUMPRODUCT(M$3:M$4500,'Raw Data'!$F$4:$F$4501)
    I thougt that Excel change the M to N,O,P,.. by itself wenn I pull the formula down, but this is not the case.
    Thanks for your time and help.
    Chris

  2. #2
    Forum Contributor Lotus123's Avatar
    Join Date
    11-07-2005
    Location
    Texas
    MS-Off Ver
    2007
    Posts
    153
    Excel would only update the M,N,O,P by copying the formula to the right (you changed columns). When you copy up and down Excel would normally change the row numbers; however, you have $'s in front of them so they won't change.
    Ecce Potestas Casei
    Nathan Head

  3. #3
    Forum Contributor Lotus123's Avatar
    Join Date
    11-07-2005
    Location
    Texas
    MS-Off Ver
    2007
    Posts
    153
    Ooops...hit send a little early. That all being said, you could use this formula:

    =SUMPRODUCT(INDIRECT(CHAR(76+CELL("row",A1))&"3:"&CHAR(76+CELL("row",A1))&"4500"),'Raw Data'!$F$4:$F$4501)

    When you copy that formula down it will update from M to N, O, P, etc.

    I actually had an interesting time making the above formula...for some reason row() doesn't work inside INDIRECT() in the way I was trying to use it. Maybe someone else can explain that one (it looks like Excel kept converting everything to an array before passing to INDIRECT() and it would subsequently return a #VALUE! error).

  4. #4
    Registered User
    Join Date
    11-30-2007
    Posts
    4
    Thanks for your formula,
    but I'm new with Excel stuff. Can you explain me the function you make with "row" and char(67+Cell), please.

    Your formula starts at A1 and goes down the column. I need something that goes with a the column itself for instance K3:K4500.

    I try to change the the formula but like I say. I start just right now to get confirm with Excel.Thanks for your help

+ 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