JP MTP 4 Posted December 6, 2023 Share Posted December 6, 2023 I'd be grateful for instruction on how to use search (presumably Boolean search) to solve a problem like the following example: I have parent tag 'x' with a note count of 10. All 10 are in the same notebook. This tag 'x' has 3 child tags each with a note count as follows: child tag: 'xa' (3) child tag: 'xb' (3) child tag: 'xc' (3) To all nine notes have the parent tag 'x' applied to them as well. So one tag with 'x' does not have this and 'xa', or this and 'xb', or this and 'cx'. Now I need to determine which of the ten notes that were tagged with 'x' it is that does not have one or other of those three child tags applied to it. For that expample involving few notes I can of course identify the odd note out by checking each one individually, but I've failed with every attempted formula for getting Evernote to do the work. Surely there's a way...? Link to comment
efx00 14 Posted December 6, 2023 Share Posted December 6, 2023 (edited) Edit: This link was posted in another thread for building advanced search queries: https://help.evernote.com/hc/en-us/articles/208313828-Use-advanced-search-syntax -tag:medical will return notes that do not have the tag "medical". Note: Use -tag:* to return all notes without tags. Edited December 6, 2023 by efx00 Link to comment
JP MTP 4 Posted December 6, 2023 Author Share Posted December 6, 2023 Thank you for your post. The odd note out, in the 'ten' of the given example, does have the parent tag on it so will not show with -tag*. Meanwhile the EN article does not show how to use -tag:xa, -tag:xb and -tag:ac to show which note with tag:x is missing one of these. Hmmm... Link to comment
Mike P 2,960 Posted December 6, 2023 Share Posted December 6, 2023 How about tag:x -tag:xa -tag:xb -tag:xc 1 1 Link to comment
Solution JP MTP 4 Posted December 6, 2023 Author Solution Share Posted December 6, 2023 Thanks Mike P That worked a treat. Could have sworn I tried that relatively simple formula but now embarrassed as must have overlooked it. Most grateful to you (and efx00) JP 2 Link to comment
Mike P 2,960 Posted December 6, 2023 Share Posted December 6, 2023 Glad it worked - although possibly a bit cheeky to say that you solved the problem! If that is something you need to do alot, with alot more subtags, it is worth thinking about the naming of your tags. So in your example, if the first tag was called y you could just do tag:y -tag:x* That's alot less typing and still works if you add further sub-tags, provided they follow your naming convention. 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now