How to get or know column, row specific value cell in SheetJS - sheetjs

please help.
I want to get or know column, row of specific cell in Sheetjs.
i'm using nodejs express webpack jquery

Related

How to use vba to filer a column using value from a specific cell

I want to use a macro to filter columns in a table. I want to filter for values that are higher than a value I want to put in cell, to be able to easily change the filter. Does someone have a trick for doing this with vba?
Many thanks, Bram
Record a macro whilst filtering a table on a column value. You would right click on the table column header of interest whilst recording the code and select Number_Filters > Greater Than and enter your desired number. That would give you the outline code. You can then amend the code to pick up the desired value from a specified cell. If applying filter to multiple columns record macro whilst doing this process over several columns.
Thank you for you answer. I tried this already, but I could not get the macro to pick from a specific cell. If I stored the value of the specific cell under as 'value' and put that in the outlined code, it would just do Greater Than value.. DO you have shortcut for this?
Thanks!

Is it possible to access row id of a google spreadsheet?

I get an array of rows/columns within a RANGE using "GET https://sheets.googleapis.com/v4/spreadsheets//values/".
It has no information on row Id though.
Is it possible to retrieve a row id ? It'll be helpful to update/delete the specific row even if the row number changes .
There is no way to do this unfortunately — which is a bit of a shocker, to be honest. I'm not sure why Google would decide not to have this feature implemented in their API. A user could add a column to the spreadsheet in question and make the values unique, but that is exactly the point of the index column inherent to the spreadsheet.
Therefore, my answer is that you just ad a column with a header named "unique-id" and then each cell under that column uses the formula =ROW() which will return the value of that row. Then, you can access the value of that column via the Google Sheets API — either list-based feed or cell-based feed. However, if you use the list-based feel, and modify the row, the formula gets altered to just the calculated value. So, it's really a moot point to do it this way if you intend to modify rows using the list-based (rows-based) feed.
There is no such thing as a row id in the v4 API.
If I'm referencing the correct Google Sheets API, which has confused me at times, you can use getRow() or getRowIndex(), no?
getRow()
getRowIndex()
=row()
Returns the row number of a specified cell.
https://support.google.com/docs/answer/3093316?hl=en
best regards

How can i merge header cells in Excel writer in pentaho?

I am trying to merge header cells columns into one cell but when i do that my data also comes in one column. I want my resulting output as per this screenshot attached. Kindly help me for this.
Are your columns variable? Or you always have the same output schema?
If it's fixed then, I would use a template where the headers are fixed and I start populating from row 5.
Google Spreadsheet input
If you are using the Spreadsheet input that is not possible on the step.
What I usually do in that kind of situation is to create a row with my headers and hide it so the user don't get confused with two headers. Them the Step will get the result perfectly using the column names provided on first row. (you can use a formula like =b3 there so it changes with the real header. No problem.)
Excel input
If you are using the Excel input step you can set the sheet to be read from row 2, column 0 and should work fine. =)

Getting value by row number and column number

In custom text facet I want to check value of previous row's cell.
I tried rows[row.index - 1] with no result.
google refine does not allow you to get the previous row directly. You may wants to have a look at the fill down option but not sure it will help with your project: http://googlerefine.blogspot.ca/2012/03/fill-down-right-and-secure-way.html

SharePoint list calculated column formula not working

I have a calculated column named "Link" which is used to show the link (url) of a particular list item. The formula in the calculated column adds/appends the value in the ID column. The formula works for existing items, However when new items are added the calculated column does not contain the value of the ID column. However if I go to the settings of the "Link" calculated column re-write the formula the Click OK the, the formala works and adds the value of the ID column to most recent list item. The problem starts again when a new list item is added in that the value of the ID column is not added and again I ma having to keep going to the "Link" calculated column settings and again re-write the formula.
The formula is the following:
="http://www.sampleweb.com/articles/item.aspx?ListName=Articles%20Bytes&ID="&ID
and the results it produced are the following:
http://www.sampleweb.co.uk/articles/item.aspx?ListName=Articles%20Bytes&ID=44
but again when a new item is added the following is displayed
http://www.sampleweb.co.uk/articles/item.aspx?ListName=Articles%20Bytes&ID=
Does any one have any suggestions as to why the formula does not work when new list items and /or how to resolve it.
Any assistance will be greatly appreciated
many Thanks
I solved similar problem with workflow workaround. It's helpful to use workflow also for later calculation of calculated values...