Answers.Body: <p>You need to start with <code>and</code>, and put <code>not</code> in front of each ID...</p>
  
  <pre><code>{% for entry in craft.entries.section('boardOfDirectors').id('and, not 12, not 18') %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-31T17:33:04.423Z
Answers.Text: I've tried this (and some other variants) and its just not working...
Answers.UserDisplayName: Britchie
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-31T17:39:34.220Z
Answers.Text: Looks like I skipped a step... Try putting `and` at the beginning. See [this other SE post](http://craftcms.stackexchange.com/a/12781/45) for more information.
Answers.UserDisplayName: Lindsey D
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-31T17:24:42.260Z
Answers.LastActivityDate: 2016-03-31T17:38:37.860Z
Answers.LastEditDate: 2016-03-31T17:38:37.860Z
Answers.UserDisplayName: Lindsey D
Body: <p>I want to show a list of entries that excludes two or more specifically by id.</p>
  
  <p>This works:</p>
  
  <pre><code>{% for entry in craft.entries.section('boardOfDirectors').id('not 12') %}
  </code></pre>
  
  <p>This does not:</p>
  
  <pre><code>{% for entry in craft.entries.section('boardOfDirectors').id('not 12,18') %}
  </code></pre>
  
  <p>Is this possible?
  Anyone know the correct syntax?</p>
  
Tags: <entries>
Title: Syntax for using 'not'?
ThreadText: # Syntax for using 'not'?
  
  (Asked by: username_0 on 2016-03-31)
  
  I want to show a list of entries that excludes two or more specifically by id.
  
  This works:
  
  ```
  {% for entry in craft.entries.section('boardOfDirectors').id('not 12') %}
  
  ```
  
  This does not:
  
  ```
  {% for entry in craft.entries.section('boardOfDirectors').id('not 12,18') %}
  
  ```
  
  Is this possible?
  Anyone know the correct syntax?
  
  **Tags:** entries
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-03-31. Score: 7 | Accepted answer
  
  You need to start with `and`, and put `not` in front of each ID...
  
  ```
  {% for entry in craft.entries.section('boardOfDirectors').id('and, not 12, not 18') %}
  
  ```
  
  > **Comments:**
  > **username_0**: I've tried this (and some other variants) and its just not working...  
  > **username_1**: Looks like I skipped a step... Try putting `and` at the beginning. See [this other SE post](http://craftcms.stackexchange.com/a/12781/45) for more information.  
  
  ---
  
  