# Import of csv overwrites entries of other deck with identical values for card 1

**URL:** <https://forums.ankiweb.net/t/import-of-csv-overwrites-entries-of-other-deck-with-identical-values-for-card-1/6028>\
**Category:** Help\
**Created:** [December 25, 2020, 6:04pm UTC](https://forums.ankiweb.net/t/import-of-csv-overwrites-entries-of-other-deck-with-identical-values-for-card-1/6028 "2020-12-25T18:04:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![svelteostrich](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@svelteostrich](https://forums.ankiweb.net/u/svelteostrich)\
**Post date:** [December 25, 2020, 6:04pm UTC](https://forums.ankiweb.net/t/import-of-csv-overwrites-entries-of-other-deck-with-identical-values-for-card-1/6028/1 "2020-12-25T18:04:13Z")

</div>

Hi Ankiers,  
Let me explain.  
I’ve got a deck A with following entries.  
card 1: test 11  
card 2: test 12  
card 1: test 21  
card 2: test 22  
Now I’m importing a csv file in deck B with following entries.  
card 1: test 11 (identical as in deck A)  
card 2: test B.12  
card 1: test 21 (identical as in deck A)  
card 2: test B.22  
Doing so will update cards of _deck A_ even though I specified _deck B_ as target of import.  
Did I do something wrong?  
Many thanks

Edit: forgot to mention my configuration - running Anki 2.1.37 on macOS Big Sur 11.1

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [December 25, 2020, 8:01pm UTC](https://forums.ankiweb.net/t/import-of-csv-overwrites-entries-of-other-deck-with-identical-values-for-card-1/6028/2 "2020-12-25T20:01:11Z")

</div>

> [@svelteostrich](#):
>
> Doing so will update cards of _deck A_ even though I specified _deck B_ as target of import.

This is because notes are updated according to the [note type](https://docs.ankiweb.net/#/getting-started?id=note-types) rather than the deck.

Please see this post for possible solutions: [File import (bug)](https://forums.ankiweb.net/t/file-import-bug/5529)

---

<div class="post-metadata">

**Author:** ![svelteostrich](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@svelteostrich](https://forums.ankiweb.net/u/svelteostrich)\
**Post date:** [December 25, 2020, 8:27pm UTC](https://forums.ankiweb.net/t/import-of-csv-overwrites-entries-of-other-deck-with-identical-values-for-card-1/6028/3 "2020-12-25T20:27:56Z")

</div>

Thanks, using option “Import even if existing note has same first field” did work.

---

<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:19am UTC](https://forums.ankiweb.net/t/import-of-csv-overwrites-entries-of-other-deck-with-identical-values-for-card-1/6028/4 "2023-05-01T05:19:21Z")

</div>


