Copy cell to new tab from another tab but skip empty cells

Trislu

New Member
Joined
Jul 17, 2019
Messages
3
Hi,

Please HELP!

I am trying to create a 2nd tab where it looks for text "OFF" in ColumnB from ColumnA, and copy "Name" in ColumnA to 2nd tab. At the same time, the function skips blank cell.


TAB 1
(ColumnA) (ColumnB)
NameAmount
AnneOFF
Amy
Mike
DoeOFF
AnneOFF
MikeOFF
John
DoeOFF

<tbody>
</tbody>


Ideal Tab2
NameAmount
AnneOFF
DoeOFF
AnneOFF
MikeOFF
DoeOFF

<tbody>
</tbody>

I tried to use IF function, but it doesn't skip blank cell.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Be more specific, I want the 2nd tab only pick up values with "OFF" in column B, the Tab 1 can be

TAB 1
(ColumnA) (ColumnB)
NameAmount
AnneOFF
Amy
Mike
DoeOFF
AnneOFF
MikeOFF
JohnON
DoeOFF

<tbody>
</tbody>

 
Upvote 0

Forum statistics

Threads
1,215,330
Messages
6,124,308
Members
449,152
Latest member
PressEscape

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