Google Sheets function TOROW() was there on 1 February and seems to have disappeared - google-sheets

There are several questions about a Google Sheets equivalent for the Excel function TOROW().
Those questions and their answers became obsolete on 1 February 2023, when the function TOROW() was added to Google Sheets, as can be read in this Google announcement. The documentation for the new function can be found in the Google Sheets help. It really does now exist, or is supposed to.
I immediately put this function to use and added it to a spreadsheet in progress on 15 March. I opened that spreadsheet this morning to see a mass of #NAME? errors, and mousing over the error reports "unknown function: 'TOROW'". Just to check, I created a fresh spreadsheet with just a single call to the function, like this:
=torow({1;2;3})
and this is the result:
:
I'm including this as an image because that is the only way to display the popup, which is what this question is about, and if your Google Sheets works as documented, you should not be able to re-create the error.
Is this a spectacular regression, or is there something I've missed, like a switch to emulate a previous version of Google Sheets?

As per info from docs community some of these new functions are paused at this very moment and no clarity on ETA

Related

Google Sheet IMPORTRANGE Error "Import Range internal error" When Range is just a column

In Google Sheet IMPORTRANGE function for single column in rage
=IMPORTRANGE("https://docs.google.com/spreadsheets/d/1-bCoiKLjBlM5IGRo9wrdm", "sheet1!B:B")
I get
"Import Range internal error."
But for
=IMPORTRANGE("https://docs.google.com/spreadsheets/d/1-bCoiKLjBlM5IGRo9wrdm", "sheet1!B:C"), it works.
Is it a bug? up to now, it was the third time that I had to change them many times? Is there any consistent solution for it?
I use this solution as temporary
=Query(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1-bCoiKLjBlM5IGRo9wrdm", "sheet1!B:C") , "Select Col1")
Finally:
I didn't get error for 5 day right now
And in this link https://issuetracker.google.com/issues/204097721 has now been marked as fixed in the issue tracker.
These errors are usually temporary and go away in a few hours. To expedite that, modify your import formula slightly by replacing "Sheet1!B1:B" with "Sheet1!B:b" — the small letter case change is enough to let the call duck Google's cache and get fresh results, which should let you work around the issue.
To automate that to an extent, use this pattern:
=iferror( importrange("...", "Sheet1!B1:B"), importrange("...", "Sheet1!B:b") )
Also see https://support.google.com/docs/thread/131278661.
I try this solution, it works
Before IMPORTRANGE("id", "a:b")
Now IMPORTRANGE("id", "A:b")
There is a dirty solution that could be used temporarily. It does not shield you completely from that issue, it might still occur.
This:
IMPORTRANGE("id", "A:A")
Could be replaced with that (notice lower different case in the same range being imported 2nd time):
IFERROR(IMPORTRANGE("id", "A:A"), IMPORTRANGE("id", "A:a"))
I've seen this solution posted here by Vitaly, he got it from here.
This could not be the solution to the problem.
I have built a whole data integration platform up on sheets and rely heavily on importrange functionality to shield off access to datasources from users.
Now lately the #REF started to haunt my tables all over the place and it renders everything more or less unusable.
Definately this is a bug or lack of resources.
I think the best solution here is to use
=Query(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1-bCoiKLjBlM5IGRo9wrdm", "sheet1!B:C") , "Select Col1")
I don't believe ducking Google's cache is a fix or even a workaround.
We've maintained a sheet with the importrange function across multiple tabs for years, and only within the last week has there been a problem.
We first noticed it on Friday then it came back again today. In both instances, I don't think I did anything to fix the issue, especially today. I moved the formula around on the sheet, which had the effect of refreshing the importrange function, but it still resulted in the "Import Range internal error." The importrange function went down for a time (I don't know how long today, but I think it was at least 15 minutes) and then resolved itself on all tabs without a modification.
I think this definitely a bug or Google messing with stuff on the back-end. Maybe we need to find a way to do everything without using importrange?
I Tried using following and solve my problem since last 2 days...
IFERROR(IMPORTRANGE("id", "A1:B20"),iferror(IMPORTRANGE("id", "A1:b20"),iferror(IMPORTRANGE("id", "a1:B20"),IMPORTRANGE("id", "a1:b20"))))
Means, Recall same fuctions 4x times using CAPS/Non CAPS in Range names.
I just came across this same situation, but found a solution that worked for us.
We had 1 sheet that was importing ranges from 2 separate sheets (call A & B).
A was importing correctly.
B was showing the Internal Import Error.
I also noticed that on Sheet B, I was unable to view Version Histories.
However, Sheet A I was able to view Version Histories.
--Makes sense that this is where the issue would be, because ImportRange pulls from the most recent Version saved.
THE FIX -- I cleared my Chrome's Cache from the last 7 days (experiencing the issue for 3 days)
Then had to re-sign into my account and the ranges were importing successfully!
Hopefully this helps someone else.
Side note -- A coworker traveled to Canada from the US 3 days ago at the same time the Internal Error showed up. Possibly could be from international server errors?? That is a very weird theory, but who knows...

Legacy Values Left In Google Sheets

I'm currently using a Google spreadsheet that has many filter functions and many sheets, when one value is changed on one sheet the filter function on the other sheets is changed due to the condition changing and a recalculation occurs.
The bug seems to be that sometimes data from the previous filter function is left in the cells and is not cleared automatically. I have made a quick script that clears cells that have the potential to hold old data, which works but shouldn't be the case.
Has anyone else ever had this issue?
Thanks and I hope this has been explained well enough.

Historical data for outstanding shares on google sheets

Looking for a way to pull historical data from google finance on an annual basis. Looking to have a sheet similar to the image below
I'm trying to use the function =GOOGLEFINANCE(A1, "Shares",date( ) ) for outstanding shares but keep getting #n/a
any help would be appreciated!
unfortunately, this is not supported in GOOGLEFINANCE. see:
https://support.google.com/docs/answer/3093281?hl=en-GB
I use TIKR which has good 10+ year financial data. It has a useful feature Copy Table which can be pasted into Google Sheets.
I use a temp sheet for this, so I can extract the rows/cols I want using script.

Google Sheets: querying sec.gov for the latest filings for a given company

I've had a ton of help recently from the SO community and I'd first just like to say thank you to everyone!
My latest Google Sheet pursuit is querying sec.gov for the latest filing for a given ticker. I'm not trying to scrape the site, I just want to pull in the latest filing so I can alert myself as to when a company has filed something new with the SEC.
I'm currently doing this for each ticker by way of importhtml and index:
index(
importhtml("https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK="&A2&"&owner=include&count=100",
"table",3),2)
... where the ticker is in cell A2. However this has been working inconsistently because I'm continually trying to do this for over 2500 tickers. I've noticed that importhtml runs into issues when there are so many calls at once.
Is there some way to automate this via Google Scripts so that I can call in the latest filing (or latest 5 filings or so) on a nightly basis? I'm plenty familiar with Google Scripts and triggers I just don't know how to get around that importhtml limitation, and how to limit my script to only the latest ~5 filings so as to not overwhelm my spreadsheet. Just need a gentle nudge in the right direction.
Thank you!

google sheet image() function updating (slow, erratic, laggy)

Have been using google sheets for many years. Powerful and free so I like it.
Recently the image() function updating has been erratic or laggy.
Using the function in PC with many browers, chrome, firefox or edge etc, the pic failed to diplay after many minutes. Erratic, sometimes faster, sometimes longer.
However when using android phone or tablet, always display within about 10 sec. I attached an image of my spreadsheet with PC and tablet side by side
Anyone facing the same problem?
Anyway to solve it?
Is google restricting bandwith or is it a bug?
Thank u guys for reading my post:)
The fact that you use Sheets everyday has nothing to do with the way it works.
Sheets on a computer can be slow due to various reasons - large amounts of data stored, using functions which make use of other Spreadsheets and even connectivity issues.
The fact that the IMAGE function works on one device as expected and not on another one can be due to many reasons as well. Since this issue seems particular to your situation you might want to take a look onto your data from the Spreadsheet and how can you improve the performance.
What you can do to improve performance:
Try to use close-ranges when using formulas and such. For example, use A1:C3 if the data is stored in that range instead of A:C.
Certain functions can also slow the performance of a Spreadsheet, especially the so-called volatile functions such as NOW(), TODAY(), RAND() since these functions refresh every time there's a change in the Sheets.
IMPORTRANGE, IMPORTHTML, IMPORTFEED, IMPORTDATA and IMPORTXML are also known to recalculate; for the IMPORTANGE the time is of 30 minutes and for the others is 1 hour.
Reference
Sheets Limitations;
Formulas Recalculation

Resources