ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   If cell empty delete row (https://www.excelbanter.com/excel-discussion-misc-queries/247859-if-cell-empty-delete-row.html)

Clive[_2_]

If cell empty delete row
 
Hi. I posted this message on November 6th
I am a newcomer and I need your help.
I need a formula that can compare a column of numbers (Column A) "LabMaster"
with a 2nd column of numbers (Column C) "ScanFiles" and copy each matched
number to Column B, adjacent to its match in Column A "Labmaster.
(Possibly 4,000 numbers in "Labmaster".

And Jacb Skaria relpied : In cell B2 =IF(COUNTIF(C:C,A2),A2,"")

If this post helps click Yes. Yes it did work. Fantastic!
However, I need to tidy up the spreadsheet.

Is it possible to add to this formula?
At the moment, when executed, it leaves empty unmatched cells in column B -
a large number of them.
Can the formula be extended to: if cell in column B is empty, delete row?

Thanks again
Clive


Jacob Skaria

If cell empty delete row
 
Refer your original post

If this post helps click Yes
---------------
Jacob Skaria


"Clive" wrote:

Hi. I posted this message on November 6th
I am a newcomer and I need your help.
I need a formula that can compare a column of numbers (Column A) "LabMaster"
with a 2nd column of numbers (Column C) "ScanFiles" and copy each matched
number to Column B, adjacent to its match in Column A "Labmaster.
(Possibly 4,000 numbers in "Labmaster".

And Jacb Skaria relpied : In cell B2 =IF(COUNTIF(C:C,A2),A2,"")

If this post helps click Yes. Yes it did work. Fantastic!
However, I need to tidy up the spreadsheet.

Is it possible to add to this formula?
At the moment, when executed, it leaves empty unmatched cells in column B -
a large number of them.
Can the formula be extended to: if cell in column B is empty, delete row?

Thanks again
Clive



All times are GMT +1. The time now is 06:59 PM.

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