Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Controlling which parameteres change in fill functions

If I have a function I want to fill down a column, and I want certain
parameters to change and others to stay the same, how do I control which
values go +1 and which ones stay the same?
For example,

Function:
=SUM(A1:A2)/(B2-B1)

Fill as:
=SUM(A1:A3)/(B3-B1)
=SUM(A1:A4)/(B4-B1)
=SUM(A1:A5)/(B5-B1)
etc.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Controlling which parameteres change in fill functions

Hi,

try this and note the $ signs which make those references absolute

=SUM($A$1:A2)/(B2-$B$1)
Mike

"koahzvika" wrote:

If I have a function I want to fill down a column, and I want certain
parameters to change and others to stay the same, how do I control which
values go +1 and which ones stay the same?
For example,

Function:
=SUM(A1:A2)/(B2-B1)

Fill as:
=SUM(A1:A3)/(B3-B1)
=SUM(A1:A4)/(B4-B1)
=SUM(A1:A5)/(B5-B1)
etc.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Controlling which parameteres change in fill functions

=SUM($A$1:A2)/(B2-$B$1)

More on this can be found in help under absolute and relative references


Gord Dibben MS Excel MVP

On Fri, 26 Sep 2008 02:25:01 -0700, koahzvika
wrote:

If I have a function I want to fill down a column, and I want certain
parameters to change and others to stay the same, how do I control which
values go +1 and which ones stay the same?
For example,

Function:
=SUM(A1:A2)/(B2-B1)

Fill as:
=SUM(A1:A3)/(B3-B1)
=SUM(A1:A4)/(B4-B1)
=SUM(A1:A5)/(B5-B1)
etc.


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
How to Automatically Change Fill Colors Daniel Bunt Excel Discussion (Misc queries) 4 October 28th 08 12:51 PM
Change default fill color Harm Ozinga Excel Discussion (Misc queries) 1 February 27th 07 03:00 PM
change all of the same fill colors in a worksheet bobt Excel Worksheet Functions 2 February 25th 07 01:44 PM
Using logic to change the fill in a cell JohnHaslam Excel Discussion (Misc queries) 3 December 19th 05 12:33 PM
Can I make if functions based on fill color? nickclingan Excel Discussion (Misc queries) 2 November 7th 05 10:44 PM


All times are GMT +1. The time now is 12:13 AM.

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

About Us

"It's about Microsoft Excel"