formula autocorrecting itself - how to stop it?

ms_soton

New Member
Joined
Jan 28, 2015
Messages
6
I have entered a formula into excel which I have used in the past successfully. However, once I press return or click on another cell, the formula automatically updates the range of cells incorrectly.

For example, In cell D2 I entered:

=SUMIF($A$1:$XFD$1,"*q_yourweight_6mths.fp_pounds *",A2:XFD2)

and it changes to this:

=SUMIF($1:$1,"*q_yourweight_6mths.fp_pounds *",2:2)

Could anybody help me stop it doing this? Thank you.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Why is that a problem?

XFD is the last possible column on the sheet. So any range that starts in column A and ends in column XFD is really just selecting the entire row.

So range "$A$1:$XFD$1" and "$1:$1" are really the same thing.
 
Upvote 0

Forum statistics

Threads
1,214,904
Messages
6,122,169
Members
449,070
Latest member
webster33

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