# AND function in the search tool

**URL:** <https://forums.ankiweb.net/t/and-function-in-the-search-tool/6686>\
**Category:** Help\
**Created:** [January 19, 2021, 9:24pm UTC](https://forums.ankiweb.net/t/and-function-in-the-search-tool/6686 "2021-01-19T21:24:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johny](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@johny](https://forums.ankiweb.net/u/johny)\
**Post date:** [January 19, 2021, 9:24pm UTC](https://forums.ankiweb.net/t/and-function-in-the-search-tool/6686/1 "2021-01-19T21:24:46Z")

</div>

Hello guys, I would like to create a filtered deck from another deck (“another\_one”) with all the cards having both tags “tag1” and “tag2”.  
I tried : deck:“another\_one” (tag:tag1 and tag2)  
Or this : deck:“another\_one” (tag:tag1 tag2)  
but it does not work.  
Could you help me please?

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [January 20, 2021, 2:08am UTC](https://forums.ankiweb.net/t/and-function-in-the-search-tool/6686/2 "2021-01-20T02:08:32Z")

</div>

tag:one tag:two

---

<div class="post-metadata">

**Author:** ![johny](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@johny](https://forums.ankiweb.net/u/johny)\
**Post date:** [January 20, 2021, 6:36am UTC](https://forums.ankiweb.net/t/and-function-in-the-search-tool/6686/3 "2021-01-20T06:36:28Z")

</div>

My bad, this was obviously! Thank you!

-------- Message d’origine --------

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 5:17am UTC](https://forums.ankiweb.net/t/and-function-in-the-search-tool/6686/4 "2023-05-01T05:17:01Z")

</div>

Closed on May 1, 2023, 5:17am UTC


