Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
brodiemac
 
Posts: n/a
Default Selecetive replication of forumlas

I have a forumla I need to replicate to adjoining cells but it's a little
more complicated that dragging the corner down or accross to the next cells.
This is the forumula:

=SUMIF(September!B4:B500,C61,September!D4:D500)

When I drag it down to the next cell, it copies it thus:

=SUMIF(September!B5:B501,C62,September!D5:D501)
=SUMIF(September!B6:B502,C63,September!D6:D502)
and so on

What I want to do is have it copy like this:

=SUMIF(September!B4:B500,C62,September!D4:D500)
=SUMIF(September!B4:B500,C63,September!D4:D500)
and so on

I have A LOT of cells that this forumla need to be copied to and if I have
to manually change them all, it's going to take weeks. Any ideas?
  #2   Report Post  
Dave O
 
Posts: n/a
Default

In your original formula, apply "anchors" to the cell references, comme
ca:
=3DSUMIF(September!$B$4:$B$500,C61,S=ADeptember!$D $4:$D$500)

This prevents Excel from shifting the columnar cell references as you
copy the formula to other cells.

  #3   Report Post  
Roy Wagner
 
Posts: n/a
Default

The magical $ sign does the trick. Put it in front a row number to keep it
the same during a fill up or down, or the column number for a lateral fill,
or both.

=SUMIF(September!$B$5:$B$501,C62,September!$D$5:$D $501)

Roy





"brodiemac" wrote:

I have a forumla I need to replicate to adjoining cells but it's a little
more complicated that dragging the corner down or accross to the next cells.
This is the forumula:

=SUMIF(September!B4:B500,C61,September!D4:D500)

When I drag it down to the next cell, it copies it thus:

=SUMIF(September!B5:B501,C62,September!D5:D501)
=SUMIF(September!B6:B502,C63,September!D6:D502)
and so on

What I want to do is have it copy like this:

=SUMIF(September!B4:B500,C62,September!D4:D500)
=SUMIF(September!B4:B500,C63,September!D4:D500)
and so on

I have A LOT of cells that this forumla need to be copied to and if I have
to manually change them all, it's going to take weeks. Any ideas?

  #4   Report Post  
Roy Wagner
 
Posts: n/a
Default

I modified the wrong part of your post, use the correct row refernces of 4
and 500, not mine of 5 and 501... ;)



"Roy Wagner" wrote:

The magical $ sign does the trick. Put it in front a row number to keep it
the same during a fill up or down, or the column number for a lateral fill,
or both.

=SUMIF(September!$B$5:$B$501,C62,September!$D$5:$D $501)

Roy





"brodiemac" wrote:

I have a forumla I need to replicate to adjoining cells but it's a little
more complicated that dragging the corner down or accross to the next cells.
This is the forumula:

=SUMIF(September!B4:B500,C61,September!D4:D500)

When I drag it down to the next cell, it copies it thus:

=SUMIF(September!B5:B501,C62,September!D5:D501)
=SUMIF(September!B6:B502,C63,September!D6:D502)
and so on

What I want to do is have it copy like this:

=SUMIF(September!B4:B500,C62,September!D4:D500)
=SUMIF(September!B4:B500,C63,September!D4:D500)
and so on

I have A LOT of cells that this forumla need to be copied to and if I have
to manually change them all, it's going to take weeks. Any ideas?

  #5   Report Post  
brodiemac
 
Posts: n/a
Default

Man, everyone here who has given me answers is makeing me look really good at
work. Thanks all, your the best and this forum ROCKS!!!!

"Dave O" wrote:

In your original formula, apply "anchors" to the cell references, comme
ca:
=SUMIF(September!$B$4:$B$500,C61,SĀ*eptember!$D$4: $D$500)

This prevents Excel from shifting the columnar cell references as you
copy the formula to other cells.


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
The best method for forumlas and charts??? Sharon Excel Discussion (Misc queries) 0 May 9th 05 11:56 PM
Help with Commission forumlas asdfasdf Excel Worksheet Functions 6 November 15th 04 05:28 PM


All times are GMT +1. The time now is 09:32 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"