Can we store a database in firebase, make changes and retrieve? - excel

I have a data set in excel and I want to store it in a Firebase. I have to make changes in it like adding some columns using website and retrieve the values for the changes.
How to proceed?

If I understand your problem, You want sync your excel changes to firebase.If so,then take your data on spread sheet from excel file
you can go with Google Spread Sheets and Zapier
What you need,
1.Zapier Account
2.Google Acount
On Zapier account,make a Zap which will get data from your Spread Sheet and instert it at specified locaion on firebase
Example
Once you have setup then it will automatically insert your sheet data to firebase. But note one thing,setup your Zap first before taking your data to spread sheet from excel beacuase Zapier will not check for existing rows.It always start checking rows after you have setup Zap

Related

How to copy only updated rows from Google Sheets to Excel

Currently, I'm connecting Jotform to Google sheets where information with the submissions are uploaded. We primarily use excel for the bulk of our operations and would like to connect the submissions uploaded from google sheets to excel. I can use import data from web which excel offers but it more so just copies the entire table even if you delete some rows on excel.
I want to do something similar to what zapier offers where the connection is not just a copy of the entire table and it only uploads new rows uploaded to google sheets onto excel and refreshes frequently.
Is there a way I can do this? My best bet is to use Google sheets API's? But i'm not sure where to get started.
What are "new" submissions? Excel need to know that.
You can directly import the data from jotform to Excel, no need to do it via google sheets.
Yes, even then all submissions are downloaded, that will always be the case. But not all need to be displayed. You can choose in and with Power Query what shall remain and loaded to Excel.
If you don't use a date for what you consider new, you have to store all old data in Excel as well, so Excel can see whether a submission is already downloaded before or not. You could load all data to the Data Model, where it uses very little space.
You need to learn PowerQuery for this. It is very worth it, because with little learning you can do a lot of fantastic things to your submissions and other data.

NodeJS monitor for Google Forms submissions

I am trying to set up a NodeJS application that monitors for new responses on a Google Form so that they can be displayed on a dashboard.
My original idea was to use the responses spreadsheet, but I can't find a way to convert it into readable JSON. The next problem is identifying which responses are new. The storage of the app is very very limited and having a copy of the spreadsheet is out of the question. What I wanted to is just ping the table every 1 hour and if there's a new response, run some code to print the data.
I am open to any ideas or suggestions!
You can maintain a counter in the app, or in a shared file/database. The counter will point to number of rows seen in the spreadsheet. Next time you query the spreadsheet, you'd know rows after counter are new.
As per extracting the data, if you have the sheet as a file, you can use some package like xlsx to parse the sheet into JSON. If not, then you can fetch the spreadsheet from Google APIs in JSON format.

Copy and paste Excel rows between two workbooks based on criteria from exported Access data

I have no previous experience in Access, VBA coding or in Excel macros prior to teaching myself the past month via these forums. Thank you forums and contributors. I have enjoyed my Access learnings so far, the challenge that it has provided and appreciate any help that I can get. As such, the code and methods that I have used to this point may well be convoluted and confusing. I will do my best to provide relevant details and accurate terminology.
I work in a lab and I am creating an Access Form for semi-automated reporting. Samples are received from clients and are logged into the Excel Table R&D Log. The worksheet is InProcess. Samples are sorted based on the site in which they originate and given a one or two letter site code (G, D, WH, etc.) and an ID "yy-000" in separate Excel columns (i.e. D 18-096). Samples may be submitted for multiple analyses (Metals, Water, Soil, etc.) and may even have multiple rows of reporting if multiple analytes are identified in the sample. There are several other columns, such as receipt date, reporting date, units, etc. Once samples are reported, I manually copy and paste them into the Archived worksheet, and delete the record and blank row from the InProcess worksheet. Since one sample may have multiple analyses and even more potential results, each record would be reported on a new Excel row (with the same D 18-096 ID number). Thus, there is not a single unique identifier or primary key for each sample in the current format. R&D Log is updated manually by lab technicians and the worksheet InProcess is a linked table in an Access Database.
The Access Database is using two combo boxes on a Form frmInProcess to filter a Query qryInProcess of the linked table. The combo boxes are filtering the report destination (one client may receive multiple site codes) and the analysis (reports are separated based on type of analysis). The Query is also filtering out blank results and blank dates, so only completed samples will appear on the filtered Form. I have generated VBA code to this point that will export the Form to a .pdf, save the file with unique filename, and open outlook to mail out the report. I have also managed to export the filtered Form frmInProcess to an Excel file Access Test (not the linked file).
What I would like to do now is to automate the transfer of completed test results from the Excel worksheet R&D Log: InProcess to R&D Log: Archived and delete the record from the InProcess worksheet. I am not sure if I can export the filtered Form into a linked Excel table, or if I must use a separate Excel file (or if it even matters for simplicity of code?). I would now like to read the exported filtered Form in Excel Access Test, lookup matching rows in R&D Log based on several criteria (site, ID, Analysis, Analyte, Report Date) and automate the transfer of records between R&D Log worksheets. End result being that Access generates reports for completed tests, and the records are removed from InProcess testing and transferred to Archived testing in Excel. I am guessing that I may need to close the Access application and perform this in Excel. Hope this is easy enough to follow.
Thank you.
In my experience, importing an Excel document into a temporary NEW (or totally empty) Access table is usually the easiest way to go. Then you do not have to worry about cell references like you do in Excel VBA. Even if the Excel document has old data in it with just a few new changes each time, importing it into a temporary Access table could be the simplest way to go, because then you can compare the data in this table with the data in another, permanent Access table and update the latter based on the former.
As far as the original Excel file, if you need to delete rows there, it might be quicker to export a new Excel file with just the data the old one is supposed to end up with, and then use VBA to delete (or - safer! - rename) the old file.
So the development process goes something like this:
Save import steps by first importing an Excel file via Access' ribbon options "External Data" (tab) ->"Excel" and when you finish, be sure to check the "Save import steps" box and note the name you give the "saved import" because you will need that in your VBA code.
In Access, write a function for deleting the table. The VBA code is:
Const cTable = "MyExcelTempTable"
If TableExists(cTable) Then
DoCmd.DeleteObject acTable, cTable
End If
Now you can test your delete function on the data you imported.
Write VBA code to import the same spreadsheet to create the same table:
Const cSavedImport = "Import-MyExcelTempTable"
' Import the Excel file
DoCmd.RunSavedImportExport cSavedImport
Write more VBA function(s) to check the imported table for bad data and then to copy it into the permanent table. You might be updating existing records or adding new ones. Either way, you could use Access queries or SQL to do this and run them from VBA.
Write a VBA function to rename the old Excel file. (You could use an InputBox if the Excel file name is different each time. I do this for importing Excel files, and I set a default value so I do not have to type as much.)
Write a VBA function to export the new version of the Excel file.
Make yourself a button on a form that, when clicked, runs a VBA function. Inside that function, run Steps 2 through 6, above.
I am not sure my answer exactly matches what you are trying to do, but hopefully you get enough of a picture of the workflow to figure out the details of what you need.

store google form responses in existing sheet of a spreadsheet

I'm new to Google forms and spreadsheets.
I know you can create a form, and send its responses into a new sheet of a Google spreadsheet.
Wondering if it is possible to store form responses in an existing sheet of a spreadsheet.
This page seems to indicate not, which seems unnecessary.
The form will be embedded in a Wordpress website.
when you create a Google Form, you are allowed to choose a response destination. It can be a new Spreadsheet or an Existing Spreadsheet, however, you do not get the liberty to choose a specific SHEET, if you know what I mean.
As a workaround, you can use arrayformula to populate the responses from the Form Response Sheet to any sheet you want.

Link dynamic database to new workbook in excel

I have a database of data in excel that I want to copy and paste (link) to a new sheet where I can manipulate the data to a more readable form. However, the database does not have a set number of cells and updates regularly (the reason why it needs to be linked). The database changes size on a daily basis either shrinking or expanding. Is there a way to link the database even though it need to be a dynamic range?
I have a similar situation for one of my reports where I don't want to mess with the live data. All I do is create the link by going to the new sheet and typing something like =iferror(C:\USER\Database.xlsx\sheet1!A1," ") and fill across all the way and down all the way. The iferror checks for data and if there is no data inserts a space. That is how you can overcome the dynamic columns and with issues. The new spreadsheet will then be linked to the raw data set and you can manipulate it as needed.

Resources