1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Power Query - how to remove rows where column A begins with a certain string AND column B contains certain text?

Our take

Are you overwhelmed by legacy spreadsheets and the clutter they create? If you need to cleanse your data by removing specific rows—like those where column A starts with "ABC" and column B contains "dog"—you’re in the right place. With Power Query, you can efficiently filter your dataset to eliminate unnecessary entries, enhancing clarity and focus. By mastering this technique, you can streamline your workflow and ensure your data serves your goals. Let’s dive into the steps to transform your data management process.

How do i cleanse the following data to filter out anything where column A starts ABC and column B is “dog”?

This would be lines 4, 5 and 8 only in the table below:

COLUMN A | COLUMN B

:--|:--

DEF123 | HORSE

BCA3211 | MOUSE

ABC3111 | DOG

ABC4599 | DOG

ZXY7765 | HAMSTER

ABC 7711 | SQUIRREL

ABC6631 | DOG

ABC6669 | CAT

submitted by /u/Puppysnot
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Tagged with