Looking at the documentation it does not seem so but I would want to know if there are hacks or other tools perhaps that make it possible to use the google sheet formula:
=GoogleFinance("CURRENCY:USDBTC","close","07/07/2017")
with a hour or minute value of any kind, for isntance:
=GoogleFinance("CURRENCY:USDBTC","price","07/07/2017 12:00")
unfortunately, this is not possible in google sheets
you can get only daily or weekly value as per documentation:
for an hour or minute window, you will need to find a non-javascript website that hosts such data and scrape it from there with some IMPORT formula
Related
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.
I'm trying to generate a chart in Google Sheets that will show data for specific days in a week (a chart for Monday, Tuesday, etc.) I have sequential dates running in a single column down the rows and I am able to chart the other data associated with these dates from the other columns, however, I can't seem to select the data for every Nth row, only for all rows.
The only solution I could come up with is manually adding a new Series for every instance, but this isn't a viable solution.
To simplify, I have a chart showing trends throughout the entirety of my dataset, but I'd like to have charts for days of the week as well (SUN - SAT). Is there a way to do this inside of Google Sheets, or is there an external tool that will be necessary?
Its very possible.
It would be easier if you could share a sample sheet with some data.
This is the basic idea, say your Dates are in A and your data is in B. This formula:
=FILTER(A2:B,WEEKDAY(A2:A)=1) would show ONLY sunday data, =FILTER(A2:B,WEEKDAY(A2:A)=2) would show ONLY monday data,
etc.
From what I understand, you want the charts to grab data continuously as you add data to the sheet.
I think it's time to introduce you to Google Charts API.
There are two approaches I can foresee of the top of my head:
Use an Apps Script to build your chart with the Charts service and the Spreadsheets Service and embed it into the spreadsheet.
OR
Deploy the script as a a Web App and build a charts dashboard using the Charts API
Either way you can harness all the power of Apps script.
Further reading:
How to use Google Charts
Query Language Reference
Is there a way to get around the 50 million cell count rule? Can this be done by using 2 separate workbooks?
We have a lead tracking system that we have built in a Google Sheets workbook and with the way our leads get updated we have already hit the 50mil record count in Google Sheets over the past 3 months. Deleting the data is not an option as we have to analyze weekly monthly quarterly and yearly stats.
I am pretty sure IMPORTRANGE would still hit the 50mil cell count limit.
Is there a way around this limit?
Update:
So a way to combat the cell limit is to totally delete all columns and rows that you do not use and are empty. Trimming the sheets down to just what you have filled in rows and columns.
Apparently if the cell has no data in it it still counts against your cell count despite it being empty.
This is not a solution per say but it is a way to make sure empty cells are not counting against your cell count.
Answer:
There is no way around this. According to the Google File Size documentation[1], the limits on a Spreadsheet are:
Up to 5 million cells or 18,278 columns (column ZZZ) for spreadsheets that are created in or converted to Google Sheets.
Things I Tested:
Starting in 2019 it became possible to edit Office files natively in G Suite[2] so I thought I'd give it a test. According to the specifications and limits page for Microsoft Office Excel[3]:
Total number of rows and columns on a worksheet: 1,048,576 rows by 16,384 columns
Which totals 17,179,869,184 cells.
As Spreadsheets that are created on Google Drive have the Google Drive limit, I created an Excel workbook on my local machine, with the maximum number of possible cells and uploaded it to Drive to see if it could be edited natively. Unfortunately, while the file uploaded successfully, attempting to open the file resulted in the following page:
More Information, Workarounds & Similar Services:
Honestly if you need more than 5 million cells in a Spreadsheet (or even 50 million!) then you're not using the right tool for the job. With this much data, you're likely better off using a database or a cloud data warehouse such as Google BigQuery[4] or Cloud SQL[5]
That being said, if Google Sheets/Spreadsheet workbooks really is the only way forward for you, the only thing I can recommend you doing is creating multiple Sheets files, separated into a more appropriate timeframe - each Sheet containing data for just a month. This will take a bit more time to set up (though you can use Apps Script for data migration between the Sheets), but in the long run will mean you will be able to use your data more effectively, and any data processing you need to do will complete within the Apps Script Quotas[6].
References:
Google Drive Help - Files you can store in Google Drive
G Suite Updates - "Office editing makes it easier to work with Office files in Docs, Sheets and Slides."
Excel specifications and limits
Google BigQuery
Google Cloud SQL
Google Apps Script - Quotas for Google Services
I have a spreadsheet in which a few sheets are very complex formulas which take a while to run. I want to be able to update the support pages and only run the sheets with formulas when they have focus. Is there anyway to do this in Google Sheets?
As I understand, the recalculation settings in Google Sheets only have effect for certain functions like NOW and RAND.
The alternative is to use scripts instead of formulas.
References
Change locale, time zone, and recalculation settings - Docs editors help
Related
Formulas always recalculating when refreshing/loading spreadsheet
I want to create bar charts similar to web server logs. I have events in my database which all took place at a certain moment, I would like to grab all these events and then chart how many occurred each day, week, month, whatever on a bar (column) graph.
For example I want to chart how many visitors I had in a month in 31 columns, each representing one day.
Is there a charting application whereby I can grab all the visits for the month and give these dates to the library, and it will divide them into time periods of my choosing (e.g. view by day)?
If not then what is the simplest way of creating the data? 31 DB queries? One DB query and then checking the dates and divide the events up into 31 lists?
I'm using Groovy and Grails.
You may query your database to get Map which maps number of events to a certain date. Use criteria builder to make a query that returns grouped by date.
I would just add Google Analytics to my website and use their interface.
To develop the software for handling these queries is a big question that I can't answer here. It's a product in itself.