Forum Discussion
Working on project that requires me to filter rows blank rows
Hey experts,
I am working on this project that requires me to import data from a CRM. Each row represents a contact, and if the row has a field (Column V, in this circumstance) blank, then I copy/paste it into a new sheet. Alternatively, I can delete all entries that have this field populated-- leaving me only with entries that have this field blank.
I tried writing a macro for this, but got in way over my head. Is there any guidance on how to do this?
Thanks in advance!
11 Replies
- SergeiBaklanDiamond Contributor
Perhaps Power Query will do the job, but it's better to discuss on concrete sample.
- jjsotoCopper Contributor
SergeiBaklan Thank you for the prompt reply. I gave that a shot, but did not have much success. To give more clarity:
I have two spread sheets. Spreadsheet 1 are leads exported from a CRM, and one column (column v) contains a list of names of potential reps that can service this lead. Spreadsheet 2 contains the list of reps that already have this lead. My goal is to filter out the reps that already have these leads so that I may share the leads only with the people who do not have them already.
I tried creating an advanced filter in Power Query, but did not have much success. I manually entered all the reps I have from Spreadsheet 2 into an advanced filter and set as "Or" "Does Not Contain" with the intention of only seeing leads that do not contain a rep that already has the lead.
Edit: I switched the to "And" and now it's filtering properly. Follow up question: There are entries in Spreadsheet 1 that have their column v field blank, and these get filtered out... is there any way to include them in my final results?
- SergeiBaklanDiamond Contributor
Sorry, I didn't catch what do you mean under advance filter in Power Query and what are your steps exactly.
As I see:
- you have raw source data imported from CRM in form of Table or named range
- you query it using From Table/Range connector
- in opened Power Query editor you filter on on of the column column
- you return result back in Excel sheet into the new table