Lightroom: Can we do boolean arithmetic with filters?

  • 1
  • Idea
  • Updated 3 months ago
  • (Edited)
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.
Photo of rogsonl

rogsonl

  • 41 Posts
  • 3 Reply Likes

Posted 3 months ago

  • 1
Photo of Dan Hartford Photo

Dan Hartford Photo

  • 451 Posts
  • 209 Reply Likes
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".   
Photo of John R. Ellis

John R. Ellis, Champion

  • 5123 Posts
  • 1452 Reply Likes
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.
Photo of rogsonl

rogsonl

  • 41 Posts
  • 3 Reply Likes
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.
Photo of John R. Ellis

John R. Ellis, Champion

  • 5121 Posts
  • 1451 Reply Likes
To remove any ambiguity, you're referring to "Lightroom", the cloud-based desktop program, not "Lightroom Classic", the original folder-based program?  If you're not sure, do Help > System Info and look at the first line.  

(Most of us agree that Adobe marketers made a mess with the naming.)
Photo of rogsonl

rogsonl

  • 41 Posts
  • 3 Reply Likes
Correct. I have 1.3TB of pictures and garbage on the net, and would like to navigate and delete the items I don't want.
Photo of John R. Ellis

John R. Ellis, Champion

  • 5121 Posts
  • 1451 Reply Likes
I removed "Lightroom Classic" from the categories set for this topic, to avoid future confusion.
Photo of John R. Ellis

John R. Ellis, Champion

  • 5121 Posts
  • 1451 Reply Likes
Also changed it from Question to Idea (feature request).
Photo of rogsonl

rogsonl

  • 41 Posts
  • 3 Reply Likes
Thanks. The answer, I gather, is no. There is no way to say "NOT" in Lightroom.