ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Why do my formulas work in some cells but not others? (https://www.excelbanter.com/excel-worksheet-functions/47892-why-do-my-formulas-work-some-cells-but-not-others.html)

Lowly Worm

Why do my formulas work in some cells but not others?
 
Excel 2003 (and earlier versions)
I frequently run into the problem where I type a formula in one cell and it
doesn't work (all I see is the text of the formula in the cell), yet I can
type the exact same formula in a different cell on the same spreadsheet and
get it to calculate.

For example - I'm trying to use this formula (where XA:XZ represents any
random range):

=SUMIF(XA:XZ,"750000")

And it won't work in all the cells. I've tried clearing the contents and
also deleting the cell, but nothing works. Any suggestions?

JMB

the cell is probably already formatted as text. change the format to
general, then edit the cell (F2) and hit enter, or retype the formula and hit
enter.


"Lowly Worm" wrote:

Excel 2003 (and earlier versions)
I frequently run into the problem where I type a formula in one cell and it
doesn't work (all I see is the text of the formula in the cell), yet I can
type the exact same formula in a different cell on the same spreadsheet and
get it to calculate.

For example - I'm trying to use this formula (where XA:XZ represents any
random range):

=SUMIF(XA:XZ,"750000")

And it won't work in all the cells. I've tried clearing the contents and
also deleting the cell, but nothing works. Any suggestions?


Sloth

Sounds like the format for that cell is set to text. Change it to general or
number.

"Lowly Worm" wrote:

Excel 2003 (and earlier versions)
I frequently run into the problem where I type a formula in one cell and it
doesn't work (all I see is the text of the formula in the cell), yet I can
type the exact same formula in a different cell on the same spreadsheet and
get it to calculate.

For example - I'm trying to use this formula (where XA:XZ represents any
random range):

=SUMIF(XA:XZ,"750000")

And it won't work in all the cells. I've tried clearing the contents and
also deleting the cell, but nothing works. Any suggestions?


Lowly Worm

Thanks for your help everyone! This did the trick!

"Sloth" wrote:

Sounds like the format for that cell is set to text. Change it to general or
number.

"Lowly Worm" wrote:

Excel 2003 (and earlier versions)
I frequently run into the problem where I type a formula in one cell and it
doesn't work (all I see is the text of the formula in the cell), yet I can
type the exact same formula in a different cell on the same spreadsheet and
get it to calculate.

For example - I'm trying to use this formula (where XA:XZ represents any
random range):

=SUMIF(XA:XZ,"750000")

And it won't work in all the cells. I've tried clearing the contents and
also deleting the cell, but nothing works. Any suggestions?



All times are GMT +1. The time now is 11:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com