I have a Google Sheet with a cell (let's say its M4) that is a dropdown list that I created by:
- Selecting the cell
- Selecting
Data>>Data validation>>Criteria>>List of items - Providing a comma-delimited list of values (
RED,BLUE,GREEN) - Selecting Save
I am know trying to write a conditional formula for another cell (let's say its N4) based on the value selected of this M4 cell:
- if
M4isREDthen I want the value ofN4to be 35 - else I want
N4to be 25
So I select N4 enter =if(M4=='RED',35,25) and click Enter.
I get #ERROR as the N4 value and when I mouseover it I see:
ErrorFormula parse error.Where am I going awry?