We have a listing of thousands of contracts in excel with about 20 columns. About 10 of those are required fields. We would like to extract all rows where any of the required fields are blank and place this complete result in a new table. The idea being, this table will be given to someone to research and correct the fields. For convenience I would like to keep it in Excel and use Power Query/ VBA, but I am struggling with the code.
If PBI is more efficient, then open to suggestions there as well.
Sample data:
In this case, since ABC123 is missing 1 required field (at minimum) it would be added to the results table. XYZ987 would not, because the missing info is not in a required column. Thank you very much!
| Contract |
Column a |
Column b |
Required2 |
Required2 |
Required3 |
| ABC123 |
48 |
85 |
|
83 |
3 |
| XYZ987 |
76 |
|
87 |
2 |
5 |