H
H
Hattori_Hanzo2020-06-11 10:47:24
Google Sheets
Hattori_Hanzo, 2020-06-11 10:47:24

How to write a formula if () + drop-down list?

There is a cell with a drop-down list in the table, in this cell I want to write a formula with the IF ( ) operator, but so that it is possible to select from the drop-down list if the conditions of the operator are not met, how can this be done?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Grigory Boev, 2020-06-14
@ProgrammerForever

Right click on a cell: Data Validation .
Rules: Values ​​from the list
and write all your options there, separated by commas, for example:
=C1-B1,=C2-B2,=C3-B3
Demo table

A
Alexander Ivanov, 2020-06-15
@oshliaer

I think that this is possible only for dependent lists, which are implemented in Tables through all sorts of tricks or scripts and tricks.

  • https://www.youtube.com/watch?v=YfVQ_udH7O4
  • https://www.youtube.com/watch?v=nhsl_iJbn40

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question