IF statement - pull data based on criteria

Nikhil R

New Member
Joined
Mar 16, 2020
Messages
40
Office Version
  1. 365
Platform
  1. Windows
Hi team,

I need some help a little bit. Trying various methods to pull data from one table onto another table in another sheet.

For example, one Column has Interested as a header, and if Yes - to pull candidate name into another table that's on another sheet with the same header under candidate name and vice versa for post code number and email address.

If it's not clear, please let me know :)
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
So I've been tinkering with the Filter & Choosecols filter as I've created a sheet called Rejected Candidates. It's like for like as shown on the Interested Candidates sheet.

I've got it so it copies everything onto rejected candidates sheet IF rejected is shown as yes on interested candidates - but i need it to remove that row. so essentially cut from interested candidates sheet, and pasted onto rejected candidates sheet if rejected is "yes"

I did have another formula which was =FILTER but it did the same thing as the one below

=CHOOSECOLS(FILTER(Interested_Candidates,Interested_Candidates[Rejected]="yes"),MATCH(A5:M5,Interested_Candidates[#Headers],0))
 

Attachments

  • Rejected Candidates.PNG
    Rejected Candidates.PNG
    57 KB · Views: 4
  • Interested Candidates.PNG
    Interested Candidates.PNG
    50.9 KB · Views: 3
Upvote 0
A formula cannot remove data from another sheet, you would need VBA for that.
 
Upvote 0
A formula cannot remove data from another sheet, you would need VBA for that.
I see, i did have a look and yeah VBA is needed. I noticed Excel has VBA built in - now I need to figure out how to code it as used VBA years ago and extremely rusty
 
Upvote 0
If you need help with it, you will need to start a new thread. Thanks
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,956
Members
449,096
Latest member
Anshu121

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