hasadna / openmuni-budgets

A web app and web API for storing, accessing, visualizing and comparing budgetary data from Israeli municipalities.
http://openmuni.org.il/
BSD 3-Clause "New" or "Revised" License
15 stars 28 forks source link

Fixing several issues with Tel Aviv Data - leading zeros, |0 issue #402

Closed idoivri closed 10 years ago

idoivri commented 10 years ago

Just for internal documentation, I took care of two issues that I knew of, and I'll tell exactly how:

A. Took care of the leading zeros in the parent sheet (1 instead of 01), by replacing 1 with " '01 " (without quotes and spaces, but with that apostrophe - nuthin' else helped, believe me!!).

B. The illegal "|0" thingy at the parent_scope column - I took care of that by conditionally truncating the last two chars if they were |0, using this function:

(applicable for row # 6132)

=IF(RIGHT(C6132,2)="|0",LEFT(C6132,LEN(C6132)-2),C6132)