I want to format a cell in Google Sheets to where if a cell on a different sheet (titled "Additional Options") has a "yes", the cell on the current spreadsheet is 1, but if it says "no", the cell on the current spreadsheet is 0. Can you help?
Google-sheets – Setting values with if and then & numbers across sheets
google sheets
Related Topic
- Google-sheets – How to change cell value, looping through a provided list and record result in Google Sheets
- Google Sheets – Automatically Apply New Formatting and Remove Time from Date-Time
- Google Sheets – Copy and Paste Cell Value While Preserving Hyperlink
- Google-sheets – Conditionally formatting duplicate values in Google sheets with exclusion criteria
- Google-sheets – Conditional Formatting across a range of cells with a formula in Google Sheets
- Google Sheets – How to Detect Duplicates Across Multiple Sheets
- Google-sheets – Google Sheets – summing numbers across a spreadsheet depending on the Column header
- Google-sheets – Synchronizing Cell Changes Across Sheets
Best Answer
The simplest way is this:
Assuming your value is in A1 on your target sheet.
Of course, if the value there is anything else, not just "no", it'll return 0. If you want 1 and 0 only for "yes" and "no", and something else if it's not one of those values, you can nest your
if
statements.