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

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
54,358
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
54,358
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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,071
Messages
5,835,216
Members
430,347
Latest member
Mayan

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