# Importing Vectors into Data Tables

**URL:** <https://forums.unrealengine.com/t/importing-vectors-into-data-tables/307970>\
**Category:** Asset Creation\
**Tags:** csv, data-table, unreal-engine, vector, question\
**Created:** [February 24, 2015, 9:13pm UTC](https://forums.unrealengine.com/t/importing-vectors-into-data-tables/307970 "2015-02-24T21:13:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrVonTischler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DrVonTischler](https://forums.unrealengine.com/u/DrVonTischler)\
**Post date:** [February 24, 2015, 9:13pm UTC](https://forums.unrealengine.com/t/importing-vectors-into-data-tables/307970/1 "2015-02-24T21:13:25Z")

</div>

Hi All,

I’m struggling to import vector and transform data types from csv into data tables. I can’ seem to work out how the entry should be parsed. When an empty table is imported is comes up as:

AVectorType: (X=0.000000,Y=0.000000,Z=0.000000)

Inputting (X=1.000000,Y=1.000000,Z=1.000000) gives an error, as does using other characters like ; or \ to separate values…

Please help!

---

<div class="post-metadata">

**Author:** ![pattym](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pattym](https://forums.unrealengine.com/u/pattym)\
**Post date:** [February 25, 2015, 12:35am UTC](https://forums.unrealengine.com/t/importing-vectors-into-data-tables/307970/2 "2015-02-25T00:35:43Z")

</div>

If you struggle to import data just check how its formatted when you open the strut.

I was able to import a vector 2d by simply using:

(x=1,y=1)

This is the same format showed in the strut. I also tested with a standard 3 vector and it worked for me using:

(x=1,y=1,z=1)

Hope this helps.

---

<div class="post-metadata">

**Author:** ![DrVonTischler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DrVonTischler](https://forums.unrealengine.com/u/DrVonTischler)\
**Post date:** [February 25, 2015, 9:06pm UTC](https://forums.unrealengine.com/t/importing-vectors-into-data-tables/307970/3 "2015-02-25T21:06:07Z")

</div>

I’ve re-tried both of these with no joy: neither Vector2D or 3D vectors work:  
Lines read:

Name,A  
1,(X=1,Y=3)

in the text file, and importing gives a “malformed string” error message ☹

---

<div class="post-metadata">

**Author:** ![DrVonTischler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DrVonTischler](https://forums.unrealengine.com/u/DrVonTischler)\
**Post date:** [February 25, 2015, 9:08pm UTC](https://forums.unrealengine.com/t/importing-vectors-into-data-tables/307970/4 "2015-02-25T21:08:43Z")

</div>

The answer is double quotes…

Name,A  
1,"(X=1,Y=3)"

This works…

---

<div class="post-metadata">

**Author:** ![tomofnz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tomofnz](https://forums.unrealengine.com/u/tomofnz)\
**Post date:** [March 31, 2015, 11:14am UTC](https://forums.unrealengine.com/t/importing-vectors-into-data-tables/307970/5 "2015-03-31T11:14:32Z")

</div>

Just BTW … If you are saving .xls to .csv from [OpenOffice.org](http://OpenOffice.org) CALC, the option to have “” added as a text delimiter is given on save in a pop up dialog so the cell can just be (X=0.1, Y=0.2, Z=0.3)

---

<div class="post-metadata">

**Author:** ![Online\_Learner\_9NukY](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Online\_Learner\_9NukY](https://forums.unrealengine.com/u/Online_Learner_9NukY)\
**Post date:** [April 13, 2024, 3:06pm UTC](https://forums.unrealengine.com/t/importing-vectors-into-data-tables/307970/6 "2024-04-13T15:06:19Z")

</div>

🥹3Q, Love comes from a beginner who has been searching for the question for 1 hour.
