Formula for spreadsheet with one main drop-down menu, that then shows relevant information based on selection of menu? - google-sheets

I am very new to Google Sheets. I have a 'Contacts Masterlist', that will continue to grow. It is currently at 2500+ contacts. It has been requested that we be able to filter what shows on the spreadsheet based on column 'A' which is the category the contact belongs to. We want to be able to edit directly into this as well. (Example: I want to add a new contact to the 'Tourism' category, I click 'Tourism' from the drop down menu, all the tourism contacts load, then I can insert row and add a new contact.
Is it possible to have the other categories just hide? I know of the regular filter, however, that has been requested to not be used. Right now, I have all my data to the left, and the drop down menu to the right. I hide the rows containing the main data to just show drop down menu, but this is not ideal for adding new contacts. Can this all be done within one sheet, without having to duplicate data?
Main masterlist
The menu created from the main list

Related

How do I protect a shared google sheet with and still allow the script button to work?

I have a sheet that is shared with quite a few people. They are supposed to fill in 5 cells, click the script button and it will insert the text below and sort it by date.
I created the script and assigned it to the button for this.
I need to protect the entire sheet except the 5 cells and the button.
When I add the protection nobody can click on the button. Is there a workaround?
Answer:
You can use Protected Ranges to protect the sheet from edit with the exception of pre-defined cells.
Steps:
Follow the menu item Data > Protected sheets and ranges from the Sheets User Interface.
Click on the + Add a sheet or range button in the newly-opened sidebar.
Click the Sheet tab.
Select which of the Sheets you wish to have protected.
Mark the Except certain cells check-box with a click (✓) and select in A1 notation the 5 cells you wish for users to edit. For example D1:D6.
Click Ok
Click Set permissions
Keep Restrict who can edit this range selected with Only you as the selection in the drop-down, and press Done.
This is enough - from here anyone you share the sheet with will have edit access to the specific five cells you specified in the exception rule. The button is also clickable as long as the user has authenticated the function to run as them.
References:
Docs Editors Help - Protect, hide, and edit sheets

Google Sheets custom sidebar

I have a very long google sheets document. I often have to go to a specific area of that document to input data. I want to have a sidebar with designated hyperlinks to areas in the document to minimize the time it takes to get to the area I need to edit. How can I create a sidebar that reads links from a hidden tab displaying all the links I want displayed in the sidebar?
most likely it's not possible as you imagine it. instead, take a look on hyperlink jumps... right-click the cell you want to jump in and select Get link to this cell:
then just paste it in your separate sheet or side column/frozen row
to make it nicer you can use HYPERLINK formula and assign some short alias

2 way modification with an array

I have a Google sheet with many tabs representing a location with an inventory. In every tabs, there's a column with a chez box to state if that item as to be moved to a new building. I made an array in another tab (filter tab) that filter all the items that the box is checked. Because it's an array, I can't modify the item in the filter tab, have to go on the original tab where it comes from to modify it. Is there any way I can modify in the filter tab and have that modification change also in the original tab?
Here the array function I use in the filter tab.
=QUERY({'SALLE 1'!A:H;'SALLE 2'!A:H;'SALLE 3'!A:H;'SALLE 4'!A:H;'SALLE 5'!A:H;'SALLE 6'!A:H;'SALLE 7'!A:H;'SALLE 8'!A:H;'SALLE 9'!A:H;'SALLE 10'!A:H};"select Col1,Col2,Col3,Col4,Col5,Col6,Col7,Col8 where (Col5='X' or Col5='x')")
no, that is not possible to do in Google Sheets. you can't reference the reference nor create two-directional references and create paradoxes

Show the arrow of dropdown list

I want to make a dropdown list in my spreadsheet. I did it using data validation but I want to make an arrow in the cell for that list.
All the answers suggest the solution in the photo which I can't find it in my spreadsheet at all.
right click on a cell, row, column or range
click on the last option - Data validation
window opens which will look like your picture

How to dynamically change a function based on tab and cell in Google Sheets for drops downs

So I can create the dynamic drops downs using IF and Query in Google Sheets and this works great on one sheet. However, I need this to work over multiple sheets. Basically I need to be able to have the drop down menu in multiple cells on multiple tabs. This is the function I use to create the drop down menus:
=IF(Template!H1="6",FILTER(Sheet4!A:A,Sheet4!B:B=Template!G7),Query(Sheet4!A2:C500,"select B where A contains '"&Template!H1&"'"))
Template is one tab where people will find the drop down menus (from data validation pointing to the Sheet4 tab that holds this formula)
The problem is that the variables with Template in them are fixed to that one tab. I need to be able to have this drop down on multiple tabs.
Is there a way to call the tab you are on dynamically? If I have a Template2 tab I want it to be able to pull the lists from Sheet4 using the same type of filtering I am using for Template.

Resources