Forum Discussion

Matthewprice's avatar
Matthewprice
Copper Contributor
Mar 19, 2020

Use calculation formula based on a drop down list cell

Is it possible to use a different calculation formula in a single cell, based on another cells data on a table?
I want ‘column 1’ to be a drop down list and based on what that option is give a different formula in the ‘weight’ cell?
  • Savia's avatar
    Savia
    Steel Contributor

    Matthewprice Yes - you can use MATCH and CHOOSE.  So make a list of the dropdown options somewhere, and do: =CHOOSE(MATCH(dropdown, list of options, 0), 1st formula, 2nd formula, ...)

    • Matthewprice's avatar
      Matthewprice
      Copper Contributor

      Savia Firstly thank you so much, I appreciate this like you would not believe. I am having trouble, I have never used wither Match oo choose, could you tell me where I have gone wrong. I am just getting #Name         Thank you

       

Resources