Alternative to "ArrayFormula" in GoogleSheets - google-sheets

I have been trying to create a production scheduler in google sheets.
Each tab is for a different department to fill out.
Ideally, one person enters the Order summary in the first tab. The next tab gets updated and someone else fills in the relevant details and it goes to the final tab.
Is there a way to automatically add rows to other tabs while having the ability to sort?
I have been using =arrayformula() initially but I realise the if I try sorting in other tabs, it messes up that sheet. I also tried =sheet1!A1, but I want to restrict as much input by other members.

sort it by formula. example:
=ARRAYFORMULA(SORT(A2:C; 2; (D1="asc")*1))
where D1 is a dropdown with asc,desc and we sort the whole array via B (2nd) column

Related

Can a single Google Sheets filter view show OR conditions in multiple columns simultaneously?

I am trying to make a spreadsheet for my teachers that will assign them particular students to call each day based on how many periods they are absent during the day. I currently have a hyperlink set up on the Dashboard page so teachers can click their names and see a filter view of which calls they need to make for 8/24. Is it possible to make a single filter view that would simultaneously show where their name is assigned for 8/24 in Column H AND where their name is assigned for 8/25 in Column O? My goal is for them to click a single hyperlink on the Dashboard which takes them to all the calls they need to make for the week WITHOUT me having to make five separate links for each day of the week.
Solution
You should extend the Filter View range to cover the other columns you need to filter.
In this case for the "Amber" Filter View, you should have Range: A1:P116. Then select the proper filter on the column H and O: Filter by Values: Amber.
With the filter view still open, copy the URL in your browser and paste it in the HYPERLINK formula you have in the "Dashboard" Sheet.

Row Copying between tabs

I am working on an attendance tracker for multiple teams. I want to have multiple tabs; one tab per team, but I also want one master tab with all the names and attendance on it without having to do it all manually. I also need the master sheet to be alphabetized. I have no clue how to even begin writing a code for this, not even sure if its possible without using google scripts (and I have no experience in that), but if it is possible I would love to find out how to do it.
This is tab 1
This is tab 2
This is tab 3
And this is where I need each row to go and be alphabetized
Edit
(following OP's request)
Tickboxes canNOT be transferred.
To turn columns with TRUE FALSE to tickboxes do the following.
Select all of them and go to Insert --> Tick box
There is no need for a script.
Please use the following formula:
=QUERY({'Team 1'!A2:F;'Team 2'!A2:F;'Team 3'!A2:F},"where Col1 is not null order by Col1")
More info about QUERY

How to delete blank cells of the column in Google Sheets?

I am trying to get rid of the blank cells of the column in my sheet. I get some data from my colleagues via Google Form, and I have made some subcategory questions for them. So they get to select one of the five given choices. When I export the data to the sheet, it appears somewhat like below (linked):
https://docs.google.com/spreadsheets/d/1DBrFFNst0nhZAtxHejsrbNGkMxvcbOuie47era0Hl8c/edit?usp=sharing
Because the users can select one choice, out of five given choices four other cells must be left empty. Here's where I'm struggling with:
I have used filter function to get rid of the blank cells, but then it is restricted to only set the range either single row or column. So I end up with what you would see in my sample worksheet.
I've tried arrayformula and query as well, but I couldn't figure out a way out of this.
Any help would be appreciated.
=ARRAYFORMULA({B1:G7, {"subcategory"; TRIM(TRANSPOSE(QUERY(TRANSPOSE(H2:L7),,999^99)))}})

Filter Function affecting other rows

Have been using Google Sheets' Filter formula
FILTER(range, condition1, [condition2, ...])
to copy rows with specified value .i.e. 'Approved' in the Master Sheet onto another sheet, Approved List.
However, once I edit any value in Approved List, the entire sheet returns an error.
How can I overcome this?
I've actually created a free google addon that can move data from one google sheet to another. It can easily filter out rows based on a certain condition. I'd be happy to set it up for you if you share a spreadsheet with me that I can use to show you how to set up the report. Otherwise, you could also create the filter exactly how you did, but then copy all of the values and then select Edit -> Paste special -> Paste Values only. From then you could edit it. However, this only works if you are editing once instead of needing to continuously receive new data. My addon is able to allow you to edit as well as get new updates from the filter. Message me if you have any more questions!

Creating a totals page for timesheet

I have a spreadsheet that we use as a Time sheet.
It's made up of approx 80 tabs (Names of employees)
We have a front page, simply called "Totals"
This adds up a fortnights worth of hours into several Columns
When we make changes, we have several scripts to help make life easier
(Delete old sheets, duplicate master sheet, rename duplicate sheets, protect ranges etc...)
One script that we don't have though is one to create the totals page faster.
Our totals page has the name of every employee in column A,
We use these names in our scripts to rename tabs etc...
I would like a script to link the calculations on the Totals Page, to the sheet and cell of every individuals tab.
We do this by manually by entering =nameoftab!C47 in the cells of the totals page.
What i want to do is =Totals!A3 C47
So the cell pulls the sheet name from the name list on the left hand side, and points to C47 in the appropriate tab.
This would allow us to add new people to our time sheet by simply adding their name to column A and not the formulas for ordinary time/overtime/travel time/allowances etc...
Can this be done?
I have played with several formulas/scripts to make this easier but to no avail
(Please let me know if you need me to be more specific)
Try this simple formula:
=indirect("'nameoftab'!C47")
or in your case:
=indirect("'" & Totals!A3 & "'!C47")
where Totals!A3 is cell with sheet name.

Resources