ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula to delete row when cell contains "Y" (https://www.excelbanter.com/excel-discussion-misc-queries/255750-formula-delete-row-when-cell-contains-y.html)

KevHardy

Formula to delete row when cell contains "Y"
 
Hi,
Column J can contain either "" or "Y". When J contains "Y" I want to delete
the contents of columns A:J in that row only.
Is this possible using only a formula rather than a macro?

Jacob Skaria

Formula to delete row when cell contains "Y"
 
A formula cannot delete cell contents....

--
Jacob


"KevHardy" wrote:

Hi,
Column J can contain either "" or "Y". When J contains "Y" I want to delete
the contents of columns A:J in that row only.
Is this possible using only a formula rather than a macro?


KevHardy

Formula to delete row when cell contains "Y"
 
Can it replace a range of cell contents with ""?

"Jacob Skaria" wrote:

A formula cannot delete cell contents....

--
Jacob


"KevHardy" wrote:

Hi,
Column J can contain either "" or "Y". When J contains "Y" I want to delete
the contents of columns A:J in that row only.
Is this possible using only a formula rather than a macro?


Jacob Skaria

Formula to delete row when cell contains "Y"
 
A formula can return "" based on some condition (for the cell in which the
formula is applied); but cannot replace another cell content.

--
Jacob


"KevHardy" wrote:

Can it replace a range of cell contents with ""?

"Jacob Skaria" wrote:

A formula cannot delete cell contents....

--
Jacob


"KevHardy" wrote:

Hi,
Column J can contain either "" or "Y". When J contains "Y" I want to delete
the contents of columns A:J in that row only.
Is this possible using only a formula rather than a macro?


KevHardy

Formula to delete row when cell contains "Y"
 
OK. Thanks

"Jacob Skaria" wrote:

A formula can return "" based on some condition (for the cell in which the
formula is applied); but cannot replace another cell content.

--
Jacob


"KevHardy" wrote:

Can it replace a range of cell contents with ""?

"Jacob Skaria" wrote:

A formula cannot delete cell contents....

--
Jacob


"KevHardy" wrote:

Hi,
Column J can contain either "" or "Y". When J contains "Y" I want to delete
the contents of columns A:J in that row only.
Is this possible using only a formula rather than a macro?



All times are GMT +1. The time now is 04:13 PM.

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