conditional programming

G

Guest

Hi,

I have a workbook where I want to copy data from one sheet to another sheet
based on a columns criteria.

If Worksheet_1, column A has the value 13-2006, I want all the rows that
contain this value to populate the empty Worksheet_2.

How do I write the if statement to make this happen?

Thanks.
 
D

Dave Peterson

Apply data|filter|autofilter to that column A.
Show the 13-2006 rows
copy those visible rows to the new sheet.

If you need a macro, you could record one when you do it manually.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top