pasting cells ignoring blank cells

lolly150

Board Regular
Joined
Jan 9, 2010
Messages
91
I’m using the formula below to check for staff out of date with training (A8 being the staff name which is pasted if the criteria is met):

=IF(AND(Training_Records!N8>12,Training_Records!J8="y",Training_Records!D8=""),Training_Records!A8,"")

This generates a result in each row (some of which are blank as the criteria is not met ) and I now need to select only the cells with data in and paste into a separate sheet, ignoring the blank cells and without gaps.

Please can someone help
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Thanks for your reply Joe

How would I do this? I know how to do an advanced filter but what ranges, criteria would I need to us? I would only need to extract the data in column A to a new sheet, ignoring blanks.

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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
Back
Top