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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
68,031
Office Version
  1. 365
Platform
  1. Windows
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,195,582
Messages
6,010,579
Members
441,557
Latest member
Jbest23

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
Top