ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Cell that contains formula but needs to allow text as well (https://www.excelbanter.com/excel-discussion-misc-queries/194447-cell-contains-formula-but-needs-allow-text-well.html)

DoubleZ

Cell that contains formula but needs to allow text as well
 
I have cells in columns F-K that each ahave an IF formula that makes them
blank if the cell in Column E has a "no" in it. Situationally, I need to be
able to write an "x" in some of the boxes if Column E has a "yes" in it. My
problem is this: If I type "yes" in column E and type some "x's" in Columns
F-K and later change my mind and write "no" in column E, then the "x's"
remain because the IF formulas are not erased. Is it possible to make the
formulas remain and allow text at the same time? Do I need a macro for this?

Gord Dibben

Cell that contains formula but needs to allow text as well
 
You can either have a formula or manually entered data in a
cell..................not both.

Try this in F1

=IF(E1="no","",IF(E1="yes","X","neither"))


Gord Dibben MS Excel MVP

On Thu, 10 Jul 2008 15:47:01 -0700, DoubleZ
wrote:

I have cells in columns F-K that each ahave an IF formula that makes them
blank if the cell in Column E has a "no" in it. Situationally, I need to be
able to write an "x" in some of the boxes if Column E has a "yes" in it. My
problem is this: If I type "yes" in column E and type some "x's" in Columns
F-K and later change my mind and write "no" in column E, then the "x's"
remain because the IF formulas are not erased. Is it possible to make the
formulas remain and allow text at the same time? Do I need a macro for this?




All times are GMT +1. The time now is 07:55 AM.

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