Forums › Cached › CSV Import
This topic contains 2 replies, has 0 voices, and was last updated by trimblee 12 years, 1 month ago.
-
AuthorPosts
-
September 28, 2012 at 2:34 pm #9373
trimbleeGood afternoon,
I’m wondering if anyone else has encountered this: One of our big monthly journals wouldn’t import today, because it was unbalanced. I’ve seen journal imports fail before because of rounding errors, and usually if you Round the values in Excel, paste values, and re-import, you’re fine.
But this time it was different. Round, RoundUp, Trunc, and MRound–all of them failed to get the debits and the credits to match. We were still off by 0.001. Looking through the values, none had any value displayed beyond the second decimal place.
I think this is a floating point error, by which I mean there’s some number in our import file that isn’t representable in Excel’s 15 decimal place implementation of binary.
My question is, does anyone know how to figure out which number that is? I tried Dec2Bin in Excel, but it can’t handle values over 511 or so.
We can successfully load the journal by rounding all values to one decimal place, thus getting rid of whatever number is throwing things. But rounding an entire 500 line journal to one decimal place from two has more impact than I’d like.
I’d prefer to find the non-representable number and change that one by 0.01, which would probably do it.
Anyone have suggestions, or worked with this before?
Thanks,
Evan
This is a cached copy. Click here to see the original post. -
September 28, 2012 at 2:57 pm #9374
trimbleeRE: Unbalanced journal import – Mystery decimal (Floating point error?)
Scratch that. I assumed we’d be able to successfully load the file by rounding all the numbers to one decimal place as I described. However despite that the numbers now appear to balance in Excel, NetSuite is still kicking it back as un-balanced.
I’m talking to support now, but in anyone has any suggestions I’d love ’em.
This is a key journal as we do our monthly close, and the silliness of not being able to load it was funny at first but is now just aggravating.
-
September 28, 2012 at 4:57 pm #9375
trimbleeRE: Unbalanced journal import – Mystery decimal (Floating point error?)
Oops, ignore the second post. The issue we encountered after solving the rounding problem was because there was one line with both a debit and a credit.
Still curious if anyone has encountered the rounding problem in Excel, and has a good way of isolating which number is causing it.
Thanks,
Evan
-
AuthorPosts
You must be logged in to reply to this topic.