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

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
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,215,020
Messages
6,122,709
Members
449,093
Latest member
Mnur

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