Forum Discussion

8932LDG's avatar
8932LDG
Copper Contributor
Jun 21, 2023
Solved

Calculate value of a cell based on the 'text value' assigned on other cells

Hi, I'd like to be able to calculate the value of cells in a column based on the what has been selected on other columns.

Each item has a starting numerical value (column be), that value should be modified based on  how the columns from C to G (Conditions 1-5) have been filled. If the value in one of the those Condition columns is 'yes' then a coefficient should be applied to the initial number, if there's a no or is blank then no coefficient should be applied.

Coefficients are: 0.8  for Condition 1, 0.7 for Condition 2, 0.6 for Condition 3, 0.5 for Condition 4, 0.9 for Condition 5.

So in the sample table below Item 1 (Cell A2) has a starting score of 23. This score should be multiplied by  0.8 (Yes on Condition 1 column, cell C2) x 0.6 (Yes on Condition 3, cell E2) x 0.5 (Yes on Condition 3, cell F2) x 0.9 (Yes on Condition 3, cell G2) and thus returned 4.968 on Cell H2.

Is it also possible to round this 4.968 to the nearest integer?

 

Item IDStarting SoreCondition 1Condition 2Condition 3Condition 4Condition 5Final Score
Item 123YesNoYesYesYes 
Item 213YesYesNoNoNo 
Item 315YesNoNoYesYes 
Item 420NoNoYesYesYes 
Item 511NoYesYesNoNo 
Item 610YesYesNoYesNo 
Item 714NoYesYesYesNo 
Item 813YesNoNoYesNo 
Item 918NoNoNoYesYes 

3 Replies

    • 8932LDG's avatar
      8932LDG
      Copper Contributor
      Thanks for the reply, the formula doesn't seem complete. If I apply this formula the different coefficients won't be applied to the initial starting score. Is there a way I can have the starting score multiplied by the different coefficient when the value in the relevant cell is 'yes'?

Resources