Keeping Constant Values in Formulae

Nathanm

New Member
Joined
Apr 10, 2002
Messages
4
I am using a 2 condition sumif and want to copy the formula down to refer to different if criteria. The problem is that the data range and sum range keep altering down a line.

How do I do this?
This message was edited by Nathanm on 2002-04-11 04:57
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
On 2002-04-11 04:57, Nathanm wrote:
I am using a 2 condition sumif and want to copy the formula down to refer to different if criteria. The problem is that the data range and sum range keep altering down a line.

How do I do this?
This message was edited by Nathanm on 2002-04-11 04:57

Freeze the ranges like in

=SUMIF($A$1:$A$10,">"&E1,$B$1:$B$10)

or give the target ranges a name.
 
Upvote 0
SUMIF formula

{=SUM(IF('Average REnts'!$G$2:$G$7004='Average Rents Summary'!C11,IF('Average REnts'!$E$2:$E$7004='Average Rents Summary'!A11,'Average REnts'!$T$2:$T$7004)))}

I was using this to look at a list of data I had exported into excel for Performance Indicator purposes and wanted to pick up some averages on the basis of the owning company and no. of bedroooms - I specified this in cells C11 and A11.

Hope that is sufficient
 
Upvote 0
On 2002-04-15 02:03, Nathanm wrote:
SUMIF formula

{=SUM(IF('Average REnts'!$G$2:$G$7004='Average Rents Summary'!C11,IF('Average REnts'!$E$2:$E$7004='Average Rents Summary'!A11,'Average REnts'!$T$2:$T$7004)))}

I was using this to look at a list of data I had exported into excel for Performance Indicator purposes and wanted to pick up some averages on the basis of the owning company and no. of bedroooms - I specified this in cells C11 and A11.

Hope that is sufficient

Looking at the formula, I have the impression that you want to sum the values in 'Average REnts'!$T$2:$T$7004 for a given company and a given number of bedrooms. If so, you should have the conditions Companies and Number of bedrooms of interest in cells of their own in a separate worksheet, say in A from A2 on and B from B2 on. You could enter the above array-formula or another equivalent one in C2 and copy down. Another tip: Using dynamic name ranges would allow you to restrict the formulas to only actually used ranges in Average Rents and Average Rents Summary.

Aladin
This message was edited by Aladin Akyurek on 2002-04-15 12:22
 
Upvote 0
you had me intrigued....

you have an =SUM(IF( array formula

I was getting all excited thinking you had an actual =SUMIF( formula
 
Upvote 0

Forum statistics

Threads
1,214,530
Messages
6,120,071
Members
448,943
Latest member
sharmarick

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top