Formula wierdism

lecxE

Board Regular
Joined
Apr 9, 2002
Messages
121
I have the following formula in cell M938:

=COUNTIF(M2:M937,222)+COUNTIF(M2:M937,333)+COUNTIF(M2:M937,888)

M938 has the value of 607 which is the correct count of my 3 codes.

If I click in the formula bar for the above formula and hit enter without changing anything, cell M938 changes to the literal text of the formula, i.e. "=COUNTIF(M2:M937,222)+COUNTIF(M2:M937,222)+COUNTIF(M2:M937,888)"

If I press ctrl-~ my other formulas toggle between displaying the formula result & displaying the formula. Cell M938 remains as the text.

If I copy the formula in M938 & paste it as is in M939, it shows the value. Is this an Excel bug?

Thanks.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Domski

Well-known Member
Joined
Jan 18, 2005
Messages
7,292
Make sure that the cell containing the formula is not formatted as text.

Dom
 

Watch MrExcel Video

Forum statistics

Threads
1,129,685
Messages
5,637,808
Members
416,983
Latest member
LessThanAverageUser

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