leon_rogson's profile

47 Messages

 • 

752 Points

Fri, Mar 27, 2020 4:38 PM

1

Lightroom: Can we do boolean arithmetic with filters?

An example will explain what I mean.
I have pictures with the following key words: Red, Blue, Green
I took pictures on the 3rd, 4th and 5th of las month.
I want to select pictures that are Red or Blue  taken any time last month except the 5th.

A boolean would look like this:
"(Red I Blue) & LastMonth & ~5th"
Where "|" means or, & means and, and ~ means "NOT."

Of course, I don't care about the special characters, just the functionality.

Not having a NOT is a real problem, but having parenthesis, or a small, organized boolean expresssion capability would be a godsend.

Responses

537 Messages

 • 

12.8K Points

1 y ago

Two things.

1) a Smart Collection has full Boolean logic

2) if you use a text filter for things like keywords (among others) put an "!" in front of a word to make it a "not".   

Champion

 • 

6K Messages

 • 

103.4K Points

1 y ago

To build on Dan's reply: 

In smart collections, you can build fully nested boolean expressions using a hidden easter egg: hold down Alt (Windows) or Opt (Mac) and click the "+" icon to add nested criteria.  See this help article:
https://helpx.adobe.com/lightroom-classic/help/photo-collections.html#work_with_smart_collection

In Filters, you have some limited ability with boolean expressions.  Criteria in the  different sections (Text, Attribute, Metadata) are And-ed. In the Metadata column browser, the columns are And-ed. Within a column, cmd/ctrl-clicking multiple values Or's them.

47 Messages

 • 

752 Points

1 y ago

My question refered to the "other" Lightroom. Why do they carry the same name. I want the same type of capability in my desktop Lightroom, it's essential for selecting among a large number of objects.