compare, if ID column empty copy the row to the new sheet

Mariana

New Member
Joined
Oct 21, 2005
Messages
8
Hello,
Can some one please help me with a macro that does this.I have a sheet and i need to compare the first 2 columns and if the second one is empty than copy row to a new sheet ,
Thank a milion
The column look like this
A B
InternDB ID
435622
563882
435535
dont copy if i both are numbers the sheet has over 800 rows
2324424 3424242
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
48,580
Office Version
  1. 365
Platform
  1. Windows
Mariana

Do you really need a macro? Could you use AutoFilter, filter column B to 'Blank', select all the (visible) data and copy and paste to the other sheet?
 

Mariana

New Member
Joined
Oct 21, 2005
Messages
8
hi there,
yes i think i need a macrobecause it is a part of an bigger project but i am not sure if it is possible please give me a macro or if you can explain to me how can i do it more eazy i will try that too,
thank you
 

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
48,580
Office Version
  1. 365
Platform
  1. Windows
Any more help out there on this one?

Doesn't look like it should be too hard for you VBA gurus. Or any other non VBA suggestions.
 

Watch MrExcel Video

Forum statistics

Threads
1,130,307
Messages
5,641,440
Members
417,209
Latest member
Agbarker

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