Libre Calc spreadsheet will only store data to column IV - openoffice-calc

I have a spreadsheet with 1000 columns of data on Sheet 1 and Sheet 2. Each time I save the spreadsheet and re-open it the sheet has wiped out columns 257 onwards (i.e. column "IV" is the last column which contains data). If I enter new data into another sheet it saves it, so it's not like the spreadsheet isn't saving correctly.
Any ideas?
Using Libre Calc on Ubuntu, saving spreadsheet as .xls

This is a limitation of the old .xls format. From http://answers.microsoft.com/en-us/msoffice/forum/msoffice_excel-mso_other/what-is-the-maximum-number-of-columns-in-a/5a053135-4865-e011-8dfc-68b599b31bf5:
In an Excel 97-2003 format worksheet (in a .xls workbook) 256 columns (A ... IV), and in an Excel 2007-2010 format worksheet (in a .xlsx, .xlsm or .xlsb workbook) 16.384 columns (A ... XFD).
When saving as .xls, the following message appears:
For more than 256 columns, save as the newer .xlsx or .ods instead.

Related

PowerBI importing data - blanks being autopopulated

In an SQL database, a column (EXTENSION) has blanks, however, when the data is imported into PowerBI, some blanks get filled with the data of the previous cell.
SQL
PowerBI
However, in the row view, I can see the field (EXTENSION) is empty
How can I avoid PowerBI autofill the values when the field is blank?

Split data in a cell to new columns Openoffice Calc

I am using OpenOffice Calc. I'm taking a data value from another sheet that is formatted like :
value1,value2
In a cell. I need to split that into 2 cells
value1 value2
I can do it with Data->Text to Columns, but I need it to be done automatically when importing it from the other sheet.
A formula to get value1:
=LEFT(A1;FIND(",";A1)-1)
And value2:
=RIGHT(A1;LEN(A1)-FIND(",";A1))
This assumes that there are no other commas.

SAS importing dates from excel

I have an xlsx dataset that I import using proc import. There is a column in excel that holds date values like:
2018-11-30 00:00:00
When I import it into SAS it automatically converts it into a number 43434.
When I try to cast this to a date: put(col,date9.), i get:
2078-12-01
What is happening? How can I get back the correct date. I tried mixed=yes option but it does not work with dbms=xlsx. When i do dbms=excel, it does not work as expected
Sometimes SAS imports the date as a raw Excel date. I don't know exactly why or when it does this, but I think it has something to do with the format of the date. If this happens, subtract the date by 21916 to convert from an Excel date to a SAS date.
data want;
set imported_from_excel;
date = excel_date - 21916;
run;

Conver string to date fails without error message on power BI

I have a power BI table (date_table_2) with a Date column with is detected as text, this is the format of the values when I plot then on a table:
fecha_2 = DATE(LEFT(date_table_2[FECHA];4);MID(date_table_2[FECHA];5;2);RIGHT(date_table_2[FECHA];2))
This does not generates errors on the editor and the new column seems to be fine
But when I try to plot it every wiget where I tried it breaks. E.G. this with the splitter :

importing column having character numeric in sas

I have two .csv files which i need to merge in sas.
The first file contains the data something like this :
column - products
3 - sales
3- sales
to more than 8 rows and then there are observations such as
00000ETH - sales
00000TRF - sales
The second file has data like this -
Columns - Products
3 - brand
4 - brand
0000ETH - brand
0000TRF - brand
Basically I have to make a new column "Brand" in the first file.
But when I import the first file , SAS makes the first observation as 000000003 while it remains as "3" in the second file. its taking the column as numeric because the first 8 rows are numeric in the first file
I have tried changing "TypeGuess rows" in the windows registry but it has not worked.
Please help !
If they're CSV files, TYPEGUESSROWS is not helpful as that is an excel setting. You can modify GUESSINGROWS directly in the proc import instead.
Try reading it in with data step, however- then you don't need to GUESS anythng.
data one;
length column $10 products $25; *or whatever is right;
infile "yourfile.csv" dlm=',' dsd lrecl=100 truncover; *or similar depending on your file;
input column $ products $;
run;
Similar for the other dataset.