Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i am using a sum if in a formula and i want to copy and paste it down my
spread sheet. when i do excell changes all the cell references down 1 number. the only number in the sum if formula i want to have change is the critria, i want the range and sum range to be the same for all cells involved. i would just type it in each cell but i am looking at 300 pluss cells that i would have to change. is there a way to keep excell from changing all the cell references in a formulas |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The '$' makes formulas 'absolute.
Example: =SUMIF($A$1:$A$5,E1,$B$1:$B$5) only E1 (criteria) will change. The rest are LOCKED. $A$1 $A means column A will stay Column A no matter what $1 means row 1 will stay Row 1 no matter what You can combine these such as... A$1 A means column A will change as you copy across columns $1 means row 1 will stay Row 1 no matter what -- Hope this helps. If it does, please click the Yes button. Thanks in advance for your feedback. Gary Brown "Seth.Schwarzkopf" wrote: i am using a sum if in a formula and i want to copy and paste it down my spread sheet. when i do excell changes all the cell references down 1 number. the only number in the sum if formula i want to have change is the critria, i want the range and sum range to be the same for all cells involved. i would just type it in each cell but i am looking at 300 pluss cells that i would have to change. is there a way to keep excell from changing all the cell references in a formulas |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You are obviously using relative references, where you have to use
absolute references. =A1 is a relative refence =$A$1 is a absolute reference Your formula could look like this: =SUMIF($A$1:$A$500,"=" & A1) Hopes this helps. .... Per On 22 Mar., 21:37, Seth.Schwarzkopf wrote: i am using a sum if in a formula and i want to copy and paste it down my spread sheet. when i do excell changes all the cell references down 1 number. the only number in the sum if formula i want to have change is the critria, i want the range and sum range to be the same for all cells involved. i would just type it in each cell but i am looking at 300 pluss cells that i would have to change. is there a way to keep excell from changing all the cell references in a formulas |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" | Excel Worksheet Functions | |||
How can I do SUMIF AND OR | Excel Worksheet Functions | |||
Embedding a Sumif in a sumif | Excel Worksheet Functions | |||
nested sumif or sumif with two criteria | Excel Worksheet Functions | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |