Google Form - New Row - google-forms

I already saw other questions from other users and I still couldnt help myself on this problem.
Im using google form on my job to help my team mates to simulate some jobs and im using forms to make it easier without using the sheet in itself. Im using one page for the form and one page for the calculations based on the replies from that form.
The problem, as you know it, everytime I complete a form it makes a new row, and it doenst go to my calculation page. It jumps ahead 1 row.
Any suggestion on how I can make it block the jumping row?

I apologise if I am not understanding your problem fully, but I think you mean you're trying to add a calculated column in Google Sheets based on responses in Google Forms?
Let's say, for example, on the form there is a question for length and a question for width and you want Sheets to automatically calculate the area by multiplying the values in the Responses sheet.
You can't drag the formula down the column because when a new response is submitted in Google Forms, Google Sheets adds it as a new row, and the formula is not included.
You've done the right thing by having a separate sheet that deals with calculations but you should use an Array Formula that will refer to the whole column of the Responses sheet, and it would need an IF statement to account for the first row, which has the headers.
I think this video explains everything better than I could:
https://www.youtube.com/watch?v=0v-hQ3EecdE

Related

Scraping sector information from Yahoo Finance into Google Sheets using IMPORTXML [duplicate]

This question already has answers here:
Scraping data to Google Sheets from a website that uses JavaScript
(2 answers)
Closed last month.
I am very new to web-scraping and was introduced to it just today after trying to figure out a formula on a spreadsheet.
I would like to retrieve the Sector information onto Yahoo Finance into Google Sheets. I would also like to the data to update when there is a change to cell B7. Link: https://finance.yahoo.com/quote/MIDD/profile?p=MIDD
I came up with the following, but get a #N/A error: =importxml("https://finance.yahoo.com/quote/",B7,"/profile?p=",B7, "//*[#class='Fw(600) [#data-reactid='21']")
Please let me know what I might be doing wrong. Thank you in advance.
Solution
This is the right syntax to use IMPORTXML formula:
=IMPORTXML("URL", "XPATH_QUERY")
In your case this will translate to:
=importxml("https://finance.yahoo.com/quote/"&B7&"/profile?p="&B7,"//*[#class='Fw(600)'] [#data-reactid='21']")
Which will return an empty result.
Considerations
Keep in mind that many sites go to great lengths to actively prevent scraping. Allowing you to scrape their data entirely, undermines their business model. Since they might make profit from adds for example.
Check in the page you want to scrape if the tags you are watching for correspond to the data you wanted to get in the first place. I believe in this case it's just a matter of changing the tags values to the proper ones.

Hide/unhide empty rows button

I'm working on a Google Sheet for a crew to create per diems sheet for all of them. It's all automatic based on a start date.
The problem is;
My whole time period is three months. I have crew perhaps travelling only four days. Which means when I export an PDF for accounting they get a lot empty days.
I would really like to have a button to hide/unhide rows with no information in Column E. The problem is that I have no experience with scripts (as my Google search informs me i must have).
I once had a document that had this feature, but I did nok make it and it was Excel, macro I believe.
In my document I have 45 different sheets, all named from 1 to 45. If possible I could have a button for that hides rows in all sheets. If this button could be in a sheet called "Rules" that would be perfect. If no one knows a solution for this, a separate hide/unhide button for each sheet (1-45) would be perfect.
I'm asking a lot here, but hopefully someone that knows script a lot could make it a challenge to make my day.
I look forward for your replies.
In advance, thanks!

Google Analytics - grouping Page

I've been reading a lot about grouping page on Google Analytics but haven't figured out a clear answer to a problem.
My issue is this one :
Same pages but one with / and other without /
Basically, when I read my analytics I have two different entry for the same page, because some external links send people to one entry without the trailing slash (lets call it Page1), on others send people to url with the trailing slash (Page2).
It's a bit anoying when reading the stats, because you have to add up these two pages to have a clear view about what's going on.
I tried one option: add filters that remove the trailing slash. With this, I was able to get all the statistics on Page 1. It was a simple filter (Search and replace filter) that was grouping the two pages.
However, looking back at this option, It created another problem: this filter is not retroactive, which means when I will look at Page1, I will have stats from the day I applied this filter, whereas Page2 will score 0 from this exact same date. A small picture to make that clear:
Statistics on Page2 with Slash
Statistics on Page1 filter
Clearly here there is a discontinuity on my stats. To check long term datas I have to select another page, and to check new data I have to check the page without the trailing slash.
I removed this filter because it's very difficult to read data right now, and I'm looking for a solution to groupe these two pages so my data will be readable...
Thank you very much for you help,
Michael
Edit: I'm on Wordpress, maybe a way there?
There is nothing you can do within Google Analytics. I suggest you create your reports in Google Data Studio, which is free, and which allows you to aggregate Urls by using regular expressions to find matching parts (example e.g. in this question).

Google analytics filtering data

I'm reasonably new to google analytics. The site I am trying to analyse though is very big and has a lot of dynamic content.
To try and make my job easier I've made a filter to mash all the times users viewed their own profiles into one number rather than counting each one seperately. The trouble is...I can't check if I've done this filter right as it is working as a new copy of the analytics for my
page, it didn't take the old data with it and I will have to wait until tomorrow for it to fill with a days's worth of data.
What I wonder is, is the anyway to make filters that take pre-existing data with them and merely change it? Or are filters doomed purely to filter incoming
data and what has gone before is untouchable?

How to remove/hide all Google Analytics data associated with a specific page?

For about a week, Google Analytics was erroneously reporting page views for a few request URIs, severely skewing my data. I have read that there is no way to remove data once it is reported. If this is the case, is there a way to simply hide this data from the view?
I have tried a number of things (such as creating global filters, view filters, etc.) to no avail. Using segments also doesn't work, because apparently you can only filter out visits/users (whereas my goal is to filter out page views associated with a specific page). At this point, I feel like I must be going about it the totally wrong way...
Below is a screenshot of the Behavior > Overview section. The page views I want to move are #1, #2, and #5.
Alex, unfortunately, there is nothing you can do about the historical data.
However, you can use simple filter to exclude pages you don't want to see (the filter field above the report table, not filters related to account/profiles) -- see the attached screen below.
Make sure you select exclude and then pick Page dimension. The easiest way would be to use regular expressions, like:
(a|b|c)
This one would remove any pages that contain either "a", or "b" or "c".
The expression would be probably a bit more complicated in your case and I suggest using tools like RegEx Hero (free, online). I am not sure if there is anything common for the pages you would like to remove from the reports, but regular expression can do quite a lot :).
One last thing -- be aware there is a slight difference in segments and (table) filters. If you use segments for page dimension, you would end up with ALL the pages that were seen during a visit, which includes the page you set in the segment. Might be a bit confusing, but see this article for detailed explanation.

Resources