Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to have conditional data validation based on the contents of another cell in google spreadsheets?

Examle Sheet: https://docs.google.com/spreadsheet/ccc?key=0ApUbvdjb2dQUdDRIbWVxX25JR29BZHItYXdHZkR2T3c&usp=sharing

I'm wondering if there is a way to to have cell J2 be conditional on the contents of M2, so that only a certain range of numbers (time) can be entered into J2 based on M2? The ranges would be like so: if M2 says "low," then J2 has to be between 1 hour and 200 hours. If it's not a warning comes up or it doesn't allow input (either/or)...

  • Low = 1:00:00—200:00:00 (1—200 hours)
  • Medium = 200:00:01—300:00:00 (200—300 hours)
  • High = 300:00:01—500:00:00 (300—500 hours)

Is this possible??

like image 565
hakarune Avatar asked Aug 16 '13 23:08

hakarune


People also ask

Can you conditional format a cell based on another cell in Google Sheets?

Conditional Formatting Based on Another Cell Not Empty Under 'Format Rules,' select 'Custom formula is. ' Write your formula using the following format: =NOT(ISBLANK([cell#)), select your formatting style, then click 'Done.

How do you set data validation based on another cell?

Excel data validation based on another cellTo enter a cell reference, either type it in the box preceded by an equal sign, or click the arrow next to the box, and then select the cell using the mouse. You can also click anywhere within the box, and then select the cell on the sheet.


1 Answers

Thanks to Kishan+ via the Google product help forums (http://productforums.google.com/forum/#!mydiscussions/docs/xuji1fC6hd0) the answer can be accomplished via an array formula using a hidden sheet (sloppy, but works); tutorial is here: http://igoogledrive.blogspot.com/2013/07/google-spreadsheet-multi-sub-drop-down.html

like image 138
hakarune Avatar answered Sep 27 '22 18:09

hakarune