Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin
 
Posts: n/a
Default Question about copy/paste functions

I'm trying to copy and paste contents of a cell to another cell in order to
complete an entire column (about 300 rows).

The contents of the cell is a function which acts on data on two separate
worksheets.

I want the copy/paste to update some of the arguments of the function
(arguments that change with each row) but not other parts (arguments from the
second worksheet that don't change)

The problem is that everytime I paste the function, it wants to
automatically update ALL the arguments of the function.

What I'm trying to copy/paste:

=SUM(PRODUCT(E1,AH!B2),PRODUCT(F1,AH!B3),PRODUCT(G 1,AH!B4),PRODUCT(H1,AH!B5))

to then make rows like this:

=SUM(PRODUCT(E1,AH!B2),PRODUCT(F1,AH!B3),PRODUCT(G 1,AH!B4),PRODUCT(H1,AH!B5))
=SUM(PRODUCT(E2,AH!B2),PRODUCT(F2,AH!B3),PRODUCT(G 2,AH!B4),PRODUCT(H2,AH!B5))
=SUM(PRODUCT(E3,AH!B2),PRODUCT(F3,AH!B3),PRODUCT(G 3,AH!B4),PRODUCT(H3,AH!B5))
=SUM(PRODUCT(E4,AH!B2),PRODUCT(F4,AH!B3),PRODUCT(G 4,AH!B4),PRODUCT(H4,AH!B5))
=SUM(PRODUCT(E5,AH!B2),PRODUCT(F5,AH!B3),PRODUCT(G 5,AH!B4),PRODUCT(H5,AH!B5))
.... etc ...

What I'm getting is:

=SUM(PRODUCT(E1,AH!B2),PRODUCT(F1,AH!B3),PRODUCT(G 1,AH!B4),PRODUCT(H1,AH!B5))
=SUM(PRODUCT(E2,AH!B2),PRODUCT(F2,AH!B3),PRODUCT(G 2,AH!B4),PRODUCT(H2,AH!B5))
=SUM(PRODUCT(E3,AH!B3),PRODUCT(F3,AH!B4),PRODUCT(G 3,AH!B5),PRODUCT(H3,AH!B6))
=SUM(PRODUCT(E4,AH!B4),PRODUCT(F4,AH!B5),PRODUCT(G 4,AH!B6),PRODUCT(H4,AH!B7))
=SUM(PRODUCT(E5,AH!B5),PRODUCT(F5,AH!B6),PRODUCT(G 5,AH!B7),PRODUCT(H5,AH!B8))
.... etc ...

As you can see in the first example; I only want to update the first
argument in each PRODUCT(X,Y)... but what I'm getting is both being updated
which doesn't work for what I'm doing.

I've tried copying and pasting cell by cell, copying and pasting multiple
sells, using Edit-Fill ..., and Paste Special - and I can't seem to figure
this out other than to manually enter this for every single cell (which is
prohibitively too labour intensive because what I'm actually trying to do is
much more complicated than this example)

If this makes any sense, I'd appreciate your help

- Thanks! Kevin
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
excelent
 
Posts: n/a
Default Question about copy/paste functions

if i got ur right try

=SUM(PRODUCT(E1,AH!B2),PRODUCT(F1,AH!$B$3),PRODUCT (G1,AH!$B$4),PRODUCT(H1,AH!$B$5))




"Kevin" skrev:

I'm trying to copy and paste contents of a cell to another cell in order to
complete an entire column (about 300 rows).

The contents of the cell is a function which acts on data on two separate
worksheets.

I want the copy/paste to update some of the arguments of the function
(arguments that change with each row) but not other parts (arguments from the
second worksheet that don't change)

The problem is that everytime I paste the function, it wants to
automatically update ALL the arguments of the function.

What I'm trying to copy/paste:

=SUM(PRODUCT(E1,AH!B2),PRODUCT(F1,AH!B3),PRODUCT(G 1,AH!B4),PRODUCT(H1,AH!B5))

to then make rows like this:

=SUM(PRODUCT(E1,AH!B2),PRODUCT(F1,AH!B3),PRODUCT(G 1,AH!B4),PRODUCT(H1,AH!B5))
=SUM(PRODUCT(E2,AH!B2),PRODUCT(F2,AH!B3),PRODUCT(G 2,AH!B4),PRODUCT(H2,AH!B5))
=SUM(PRODUCT(E3,AH!B2),PRODUCT(F3,AH!B3),PRODUCT(G 3,AH!B4),PRODUCT(H3,AH!B5))
=SUM(PRODUCT(E4,AH!B2),PRODUCT(F4,AH!B3),PRODUCT(G 4,AH!B4),PRODUCT(H4,AH!B5))
=SUM(PRODUCT(E5,AH!B2),PRODUCT(F5,AH!B3),PRODUCT(G 5,AH!B4),PRODUCT(H5,AH!B5))
... etc ...

What I'm getting is:

=SUM(PRODUCT(E1,AH!B2),PRODUCT(F1,AH!B3),PRODUCT(G 1,AH!B4),PRODUCT(H1,AH!B5))
=SUM(PRODUCT(E2,AH!B2),PRODUCT(F2,AH!B3),PRODUCT(G 2,AH!B4),PRODUCT(H2,AH!B5))
=SUM(PRODUCT(E3,AH!B3),PRODUCT(F3,AH!B4),PRODUCT(G 3,AH!B5),PRODUCT(H3,AH!B6))
=SUM(PRODUCT(E4,AH!B4),PRODUCT(F4,AH!B5),PRODUCT(G 4,AH!B6),PRODUCT(H4,AH!B7))
=SUM(PRODUCT(E5,AH!B5),PRODUCT(F5,AH!B6),PRODUCT(G 5,AH!B7),PRODUCT(H5,AH!B8))
... etc ...

As you can see in the first example; I only want to update the first
argument in each PRODUCT(X,Y)... but what I'm getting is both being updated
which doesn't work for what I'm doing.

I've tried copying and pasting cell by cell, copying and pasting multiple
sells, using Edit-Fill ..., and Paste Special - and I can't seem to figure
this out other than to manually enter this for every single cell (which is
prohibitively too labour intensive because what I'm actually trying to do is
much more complicated than this example)

If this makes any sense, I'd appreciate your help

- Thanks! Kevin

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bgeier
 
Posts: n/a
Default Question about copy/paste functions


If I am reading your post correctly, you want all "B2", "B3", "B4", "B5"
references to remain "B2", "B3", "B4", and "B5"

the easiest way I can think of is to open your "source" sheet, select
the columns where the formulae are located, then
search for "B2"
replace with "$B$2"

then repeat for "B3", "B4", "B5".

As an alternative, you cound do a search on "B" and replace with "$B$",
but personally, I would "feel" safer doing it a step at a time, just to
verify I am not changing anything I do not want changed.


--
bgeier
------------------------------------------------------------------------
bgeier's Profile: http://www.excelforum.com/member.php...o&userid=12822
View this thread: http://www.excelforum.com/showthread...hreadid=546184

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin
 
Posts: n/a
Default Question about copy/paste functions

Thanks - just what I need :)
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the range of several averaging functions Hellion Excel Discussion (Misc queries) 1 September 17th 05 02:12 PM
Are there functions that perform robust statistics in Excel? froot_broot Excel Worksheet Functions 0 August 30th 05 10:18 PM
Visible rows and functions that work tracy Excel Worksheet Functions 2 August 19th 05 05:25 AM
Database Functions - question using formulas as criteria msnews.microsoft.com Excel Worksheet Functions 0 June 9th 05 12:10 PM
PASTE DOWN FUNCTIONS jackle Excel Worksheet Functions 0 May 25th 05 02:10 PM


All times are GMT +1. The time now is 05:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"