google sheets dropdown with customized output - google-sheets

I am working on google sheets trying to implement a customized dropdown as follows:
cells in sheet1!A7:A26 should contain the dropdown menu.
the dropdown data is in cells supportSheet!C3:C12. for example "I - category 1", "II - category 2", and so on.
So the normal dropdown would put the chosen data into the cell. What I would like to have is only the roman numeral e.g. "II" put into the cell.
I obviously could do a dropdown with only the roman numerals to choose from but when choosing the categories I would like to see all category names displayed in the dropdown so I would know which roman numeral is which category.
Basically, the input should be any kind of displaying the categories including the roman numerals and output only the roman numeral into the output cell.
I hope I could give all needed information to my problem. If not, please ask for more and will try to provide.
Any help would be highly appreciated!
Thanks!

Related

Please assist in creating a drop down list for months- Sheets

I was wondering if someone could help me create a drop-down list in a single cell on google sheets that only displays the months names but also keeps their values
Until now I’ve been able to create the list but when I go to select the month it changes into day-month-year form
Thank you,
Gabe
The way i understood your question, the easiest way to do it would be to just use data validaion: Select cell you want and in toolbar menu go Data>Data Validation>List of items and just paste this January,February,March,April,May,june,July,August,September,October,November,December
Then format cell as plain text: Select cell you want and in toolbar menu go Format>Number>Plain Text
Hope this is what you need.

How to replace emojis with their text descriptions in Google Spreadsheets?

I have a Google Spreadsheets table with emojis:
I would like to add their text descriptions to the second column. I've created the mapping table on the second sheet:
Now I am trying to understand how to replace several symbols in one cell with text descriptions (VLOOKUP doesn't help here).
=ARRAYFORMULA(VLOOKUP(SPLIT(B2:B," "),Description!A:B,2,FALSE))

Looking for Solution in google sheets

Hi helpful and professional people of Stack overflow. I seek help for a solution for a attendance marking spread sheet.
So I have made a column of 10 rows with check boxes within each cell.
How should proceed to allow(or is it possible) for the following to happen:
When the checkbox is ticked( cell value = true ), the cell beside it on the right will be greyed out in colour.
When the checkbox is not ticked( cell value = false ), the cell beside it on the right will come out with a dropdown list to choose some options.
Thank you in advance if there is a solution for this.
Assuming that your checkboxes are in column C and drop-down lists in column D, use conditional formatting in column D to solve the first question. You would need a custom formula rule like =C2 where C2 refers to the topmost checkbox cell.
The easiest way to handle the drop-down lists would be to let them always sit in place, and trust that graying out is sufficient to show the user that a drop-down list is currently not available.
If that is not a viable solution for you, use an onEdit(e) function to create a drop-down list dynamically when a checkbox is ticked, and remove a drop-down list when a checkbox is unticked. See the createDropDownList_ script for sample code.

How can I check the two checkboxes on Google sheet?

image <- I have a google sheet like in the photo. When I check the box behind the cars here, the name of that car is written in the result section. I want that when I tick one of the two checkboxes, the other will not be checked. That is, only one of the two checkboxes should be selected at a time. When one is selected, the other should not be selected. How can I solve this with google sheets formulas without writing app script code?
image2 <- The formula in cell D2:
=IFS(COUNTIF(A2, TRUE),B2,COUNTIF(A3, TRUE),B3,COUNTIF(A2, False),"",COUNTIF(A3, False),"")
One checked checkbox at a time (similar to a radio button behavior) isn't actually supported in Google Sheets at the moment.
However, there are certain ways to circumvent this kind of issue. It can be via Apps Script or Sheets itself.
Since you are looking for a Sheets related solution, an alternative would be using an in-cell dropdown instead of checkboxes. That way, you could only select just one car at a time and you don't need complex formula to get the chosen value itself, you just need to set the cell formula to =B2 to get the dropdown chosen value.
Sample:
To add a dropdown in Sheets, see the reference below:
Reference:
Drop-down List

A way to refer to the "Current cell" for a dynamic Conditional Formatting in Google Spreadsheets

To be more specific, I want the Conditional Formatting to check the content of the cell that is currently being formatted and be dynamic as I copy-paste the Conditional Formatting into another cell, without having to manually fiddle with the formula again.
So what I'm doing is this (using an example):
I have a list of foods categorized by type (Fruits, vegetables, etc...) and every week the list changes, so its not possible to add "hard values" to formulas, it has to be a cell reference under the category.
Which means that under the category "fruits" for example, in week 1 i can have: banana, apple and peach but totally different fruits another week.
Anyways, I also want to create a calendar with the days in the week, where I put 4 drop-down menus which correspond to the 4 types of food. The drop down menus update as I update the initial list of avaiable foods.
Now down to the real issue.
I want that the cell used for the drop down menu to take an specific color when the content of that cell contains a food inside a given category.
For example, I select Apple, it checks for the apple and applies the apple color to the cell.
I acheived this with this
=COUNTIF(A4:A6, INDIRECT("RC","FALSE"))
I found someone online using the INDIRECT("RC","FALSE") value to "reference" the current cell but its not working for me...
A4:A6 is the range of fruits and it will give the red color to the apple because i defined it in Conditionnal formatting.
Now when I copy the conditional formatting is not working for the other apples and I want to make it work for others, just by checking if the current cell contains a value in a range of cells, without manually changing the current cell for every cell.
https://docs.google.com/spreadsheets/d/15trOcNzucTJDDwuseQTsvjhioIGN9W4NEjhztmMZ1so/edit#gid=0
This is my google spreadsheet, please help ! I'm not sure if I can understand better. This is for a much bigger project and really need the help.
Current cell for conditional formatting is left top most cell in Apply to range range.
In your case it is D11. So you should use following formula:
=COUNTIF($A$4:$A$6, D11)

Resources