cfspreadsheet update cell directly - coldfusion

Can cfspreadsheet (or anything else using cold fusion) be used to update just a few cells in an existing xlsx spreadsheet?
I have updated entire sheets in the past - using an object - but the sheet in question is so massive and messy - I only want to be able to edit a few of the cells - without have to read and validate ALL the columns.
basically the ability to use SpreadsheetSetCellValue directly on the spreadsheet as opposed to working only on the spreadsheet object that must be read in and updated/written back as an entire sheet.

Related

Column A on Rankings sheet updates names from Column A on Names sheet. If the names sheet is updated, I need the corresponding rows to update as well

This is just a sample sheet, Sample Sheet but the names included in Column A on the Names Sheet are updated regularly. Constantly dragging the corresponding rows around is not a feasible solution. I have in actuality, a list of approximately 300 names and the Spreadsheet is being read by another spreadsheet. I need the corresponding rows to move accordingly with onOpen() function or with a button that updates the sheet.
I have looked all over Stack Overflow but I cannot find a solution to the problem. This is my first posting on this site in the hopes of finding a script or another solution that will solve this issue. I tinker around a bit with scripts but I am still a relative newbie. I don't even know where to begin with this.

Cannot find column in table when refreshing data

I am rather new at PowerBI because I have mostly used other tools but I need to use them for a customer. I have this problem that I haven't been able to solve.
I have created two CSV-files using python and I save them in a specific location. I update these files every day and I have since their first creation date never changed anything. The files are ";" separated.
Now, I created a dashboard in PowerBI by first importing these files and connecting them using a common key. All the visuals work just fine. The next day, I wanted to update the data since the CSV-files on my disc had been updated with my python code.
The problem is that PowerBI will not update the tables. In fact I get the error "Det gick inte att hitta kolumnen <namn på kolumnen> i tabellen" which in english would be Column cannot be found in table. The column is the first column in the PWBI table (since the application ordered these columns in alphabetical order).
I have tried every possible thing, from the cleansing cache memory to change the order of columns. Whatever I try fails.
In this image above it says: "Cannot find column BKVehicelID in the table" and the second error is "Update was blocked because of errors in other queries". I can, however, update the second column by itself.
I would really appreciate any help on this.

Refresh clipboard data?

Hi Tableau Users and Experts,
I am hoping to get some clarity about how clipboard works. I am building a dashboard where data comes from multiple excel sheets. I have a worksheet (say A) where i bring in data needed from these excel sheets (like a vlookup but with more calculations). My next steps involve building a pivot from worksheet A. I was able to copy data from worksheet A to clipboard and use that as data source and build the pivot i needed. This was much quicker and avoided potential complex logic to count these records. My question here now is that i am trying to have the clipboard data refresh everytime worksheet A is refreshed with new data.
Is there a way to have the clipboard data refresh or link to the worksheet it is copied from?
Any help will be much appreciated.
Regards,
Shikhar
There is no way for Tableau to automatically refresh the clipboard. Architecturally, the clipboard is a function of the operating system. The clipboard function is invoked in Tableau once you have clicked on certain elements or the whole worksheet, then hitting the appropriate shortcut key or menu item. Tableau does not expose an API to invoke the functionality.
If your end goal is to allow the end user to export data though, there are plenty of different ways to accomplish that task automatically.

sas adding sheets to existing excel file formatting error

I use SAS EG 6.1 to add sheets to an existing excel file (xlsx). I use a simple proc export with DBMS=xlsx. The data is written to the excelfile succesfully.
However it appears that formatting in Excel is taken from the already existing sheets. There also is a difference between cells that contains numbers vs. cells that contain text. For instance when in the existing sheet i used header 1 cell style, the numbers in the exported worksheets also had this header 1 style.
Screenshot of the existing sheet: Existing Worksheet
Screenshot of the added sheet (wrong formats)
The wrongly formatted added worksheet
I tried the following things:
- add an extra sheet without formatting and place this as first sheet in the workbook. My thought was the exported work sheets then wouldn't have the format either. No succes.
- add an extra sheet without formatting and place this as last sheet in the workbook. My thought was the exported work sheets then wouldn't have the format either. No succes.
2 alternative possible solutions i think of are:
1) using the pcfiles and ranges method. I will try this and post the results.
2) recreate the existing workbook and pray to see different results.
Did anyone have this experience and solved this problem?
update 17-1-2016: added screenshots and tried the procedure with a fresh excel workfile. The latter didn't result in succes.

How to update OpenOffice Calc sheets with new formulas and formats?

I have created a spreadsheet in OpenOffice Calc that has multiple sheets for each month of the year. The sheet has some specific formulas and data laid out in several months.
Is there any easy way to go about modifying a formula and having it transfer across all the sheets?
Or if the format changes, is there a way to merge sheets through some type of macro or something?
If your data is laid out in a very regular way, you may be able to copy+paste the modified formula to each sheet and have it adjust the cell references correctly.
However, for this type of flexibility (being able to make a change in one location and have it reflected in how all existing data is displayed) a database is generally required. OpenOffice has a database component Base, and information from Base can easily be imported to Calc if you have specific spreadsheet requirements. The learning curve for Base is fairly long, but might be worthwhile if you handle this kind of data frequently.
A formula in the same place on several sheets need only be updated once provided the relevant sheets are grouped together first (click their tabs with Ctrl depressed - and don't forget to ungroup them when appropriate!). Fill applied to A1 of a group of sheets will colour A1 in each of those sheets.
The Consolidate feature (under Data) might be of interest.