Facebook  Instagram  LinkedIn  Twitter  YouTube

Ask Tim Grey eNewsletter

October 22, 2026

Providing Answers to Photographers for Over 24 Years!

 

Next Week: More "Live Learning" Presentations

Next week I'll be back home from presenting at the Smoky Mountains Photo Fest, which means I'll resume my live online presentations as part of my "Ultimate Live Learning" series. This series includes presentations on Lightroom Classic, Photoshop, Creative Effects, and more. It also features "Office Hours" question-and-answer sessions, where participants can get answers to their questions. Recordings of all presentations are also included. All of this is available exclusively to subscribers to my GreyLearning Ultimate Bundle. You can learn more and sign up at a discounted rate of just $99 per year by using this link to get started:


https://www.greylearning.com/bundles/greylearning-bundle?coupon=golive

 

Today's Question

Is it possible in Lightroom Classic to search for photos containing one keyword while excluding photos containing another keyword?

Tim's Quick Answer:

Yes, you can filter images in Lightroom Classic based on them having one keyword assigned but only if another keyword is not assigned. This can be done by adding an exclamation point to exclude keywords.

More Detail:

The text-based filtering options in Lightroom Classic are implemented in a way that doesn't make it entirely obvious how many options actually exist for searching for photos based on keywords or other metadata fields. One of those "mystery" features is the ability to filter based on an image not having a particular keyword assigned.


For example, let's assume you want to find photos of buildings but not where those buildings are houses. To get started you can navigate to the folder or collection for the images you want to search, which could even mean choosing the "All Photographs" collection in the Catalog section of the left panel in the Library module if you want to search across your entire Lightroom Classic catalog.


Next, go to the grid view and make sure the Library Filter bar is displayed (choose View > Show Filter Bar from the menu if it isn't). Go to the Text tab and select "Keywords" from the first popup. Then choose "Contains All" from the second popup. In the text field enter the keywords you want to search by, placing an exclamation point (!) immediately in front of keywords you want excluded from the search result.


In the example above, you would enter "building !house" in the textbox. This would cause the search results to include only photos that have "building" assigned as a keyword, while excluding photos that have "house" assigned as a keyword.


I find this type of search most helpful when I want to search for a category of subjects in photos, while excluding subcategories. That could include things like searching for animals that aren't birds, vehicles that aren't buses, or any number of other possible examples.

 
Facebook  Instagram  LinkedIn  Twitter  YouTube

Tim Grey

GreyLearning