How to auto-fill reports like this (google sheets) - google-sheets

i need to filter a report generated by a time tracking software. However the format delivered is not the best to filter.
What i want as result is a list of employees (firstname, last name, department, sum(presence.Corona))
My plan was to use google docs and our HR department should paste this report each month in a new sheet. Then the first sheet generates the overview for each month-sheet. i could do this IF the firstname and last name would be in every line. Unfortunately it isnt. So i need to somehow automate that this is pasted in every line or i need to select all data and then group from (including) firstname 1 until (excluding) firstname 2 and so on.
At the moment i have no clue on how to do this. any ideas on maybe doing this with google sheets query feature?
Thank you for your ideas :)
I tried using google sheets query feature but i think i first need to fill the data

Related

Collecting crowd-sourced data in tabular or spreadsheet format

Full disclosure: I originally posted this to the SE/Web application site but garnered zero comments amidst 15 views. Hoping for a better outcome here.
I'm involved in a citizen-science project polling recreational anglers about their preferred ocean fishing locations (lat-lon), a few characteristics about the location (depth, what species they catch, etc.), and some voluntary contact information. In spreadsheet form with each row being a unique location, there would be about 10 columns (each column being the response to a question).
I did a trial run with a small number of respondents using a Google Form that compiles all the responses to a Google Sheet, but due to limitations in Google Forms, respondents must submit a new form response for each fishing location they wish to provide. Every respondent said it was tedious and would prefer entering the data directly into a spreadsheet versus scrolling through 10 questions and submitting multiple forms to provide multiple locations.
Is there a process where I can distribute a link to potentially hundreds of people (who can in turn share that with whomever they wish) where the respondent is presented with an empty spreadsheet they populate with their responses? It would require that the field headers can't be edited and no one can see anyone else's responses. The spreadsheet would just look empty to each respondent. On the back end, the responses would be compiled into a single spreadsheet, much like how a Google Forms/Sheets works now. Google Forms is close - if they would just allow users to embed a Google Sheet in the form itself, I'd be set, but that's not possible at this time.
Edit - this is what the spreadsheet would include. Sorry I don't know how to properly embed or format this in tabular form. What each respondent would see is these column headers in a completely clean spreadsheet. They'd enter their data and submit, and on the back end, I'd have a master version of this that would append add each new location row-wise as they are submitted.
RowID | Latitude | Longitude | Target species 1 |Target species 2|Target species 3 | Habitat type| Home port | Name |Email address
click on this: https://docs.google.com/spreadsheets/create
copy-paste this fx in A1
=SPLIT("RowID|Latitude|Longitude|Target species 1|Target species 2|Target species 3|Habitat type|Home port|Name|Email address", "|")
copy the url
change edit#gid=0 to copy
take that URL and send it to your buddies and ask them to send you their URL of the sheet and enable sharing
or you can create those sheets for them and give to each of your people one spreadsheet
then create a new spreadsheet (master sheet) and use this in A2:
=QUERY({
IMPORTRANGE("url1"; "A2:J");
IMPORTRANGE("url2"; "A2:J");
IMPORTRANGE("url3"; "A2:J")}; "where Col1 is not null"; )

Create a report from google sheets

I have a Google Sheets file I use to enter data on different properties.
Each row in this file represents a single property.
If a certain property is of interest, I would like generate a report for it.
I need a functionality that will extract all data fields from a single row, and insert them in a new file (google sheets or preferably a Google Docs file) with a pre built format that would present the data nicely like a report.
Thanking you in advance
Avi
Here is a very preliminary answer, to see if this is the right direction.
See my sample sheet.
This lets you select, in C3, which address you want a report on. The fields shown in green change as you select a different address. All of the report fields could be modified like this - you just need to point to which column in the Properties database contains the values.
Is this roughly what you were looking to achieve?

Display last five rows in Google Sheets

I have a simple personal money tracker based on Google form for data input and spreadsheet for calculating, statistics and so.
Everything works just fine but now I need workaround to display the last five entries in sheet that contain raw data from Google form.
This is what the sheet looks like:
What I want to do is create new spreadsheet which displays the last five entries from the sheet with data from Google form. Please help me with right formula for this.
P.S: Would be perfect display this information right in Google form that I used to enter data but as far as I know its impossible.
If there are no gaps in the time column, you could try
=query(A:D,"select * offset "&count(A:A)-5)

Google Sheets - Finding the most recent date based on a value

I have a table showing the name of everyone who has received feedback and when they received the feedback, however, some people received feedback on multiple dates so I need a formula to find the most recent date and copy it across to a seperate sheet.
I have attached the google sheets below. For example, the second tab shows the name of each person in the table but I need to know the most recent date they received feedback based on the data from sheet 1.
https://docs.google.com/spreadsheets/d/1n3c6F97-10mzZ8g3VYroRgl5ullXz_dDJrpdV5SQRLg/edit#gid=1526292532
Any help is most appreciated
Use the following formula
=maxifs(B:B,A:A,F2)
where f2 contains the name of the person you need the information. I've also edited your sheet. Note that i had to rewrite some of your dates, as they were being recognized by sheets as text, not dates.
Use this to create a list names
=UNIQUE(A1:A29)
Then as Oren just posted, this will give you the highest date, but you may need to fix your data formatting for it work.
=maxifs(B:B, A:A, D2)

Formula (Array, etc.) for automatic Google Sheets Indexing using inputs from Google Forms

I'm hoping that someone can help me tweak (or even substitute) a formula that I'm using in Google Sheets to automatically populate columns with information based on inputs from a Google form.
Simply put, I am using the Index function to match the name that is selected from a drop-down menu in the Google Form and arrives in Column E of the Google Sheet receiving the responses with an identical list of names in Column A of 'Sheet 2'. The index formula takes information from 'Sheet 2' relating to that name (e.g. Registration Number, Email Address) and places it in the 'Formresponses 1'sheet alongside the inputs from the Google form (including, of course, the name that appears in Column E'.
I have been using (variations on) the following formula without any issues, but I have to manually drag it down the relevant column in 'Formresponses 1' each time a new entry/name arrives from the Google Form: =index(Sheet2!$B$2:$B,match(E2, Sheet2!$A$2:$A,0),1)
I have successfully used Array Formulas to automatically carry out other functions on data arriving from a Google Form (i.e. adding up individual numbers to arrive at an overall total), but in this case I cannot figure out how to create a formula that will automatically take each new name that arrives in column E and insert it into the relevant indexing formula at that end of that new row.
Any suggestions - or solutions! - would be greatly welcome!
Thanks,
A.
Cheers I'-'I,
I've used I'-'I's response to my original question here as a starting point and, with a bit of research, I've come up with the following working formula:
= ArrayFormula(vlookup(E2:E, Sheet2!A:E, {1,2,3,5},FALSE))
[The curly brackets simply indicate the columns in Sheet 2 from which I want to pull pieces of data relating to each name that is matched up in the 'front end' sheet receiving the responses from the Google Form.] As with my previous problems with array formulas, I found the following website really useful, so full credit has to go to it: benlcollins.com

Resources