Inputting a value and receiving a result

C

CSA_Coach

Could someone please help. I want to know if I can enter a "W" and receive a
value of 4 a "T" to receive a value of 2 or a value of "L" to receive a value
of 0 in Excel 2003. I would have 8 cells and would want to see a combined
value of all sells as a final result.

Example: Cell 1 = W, Cell 2 = W, Cell 3 = T, Cell 4 = L, Cell 5 = T, Cell 6
= L, Cell 7 = W, Cell 8 = W, Cell 9 = 20

Hope I explained this well enough. Thank you in advance for your help!
 
L

Lars-Åke Aspelin

Could someone please help. I want to know if I can enter a "W" and receive a
value of 4 a "T" to receive a value of 2 or a value of "L" to receive a value
of 0 in Excel 2003. I would have 8 cells and would want to see a combined
value of all sells as a final result.

Example: Cell 1 = W, Cell 2 = W, Cell 3 = T, Cell 4 = L, Cell 5 = T, Cell 6
= L, Cell 7 = W, Cell 8 = W, Cell 9 = 20

Hope I explained this well enough. Thank you in advance for your help!

Assuming Cell1 to be A1, Cell2 to be A2 etc try the following formula
in cell A9:

=4*COUNTIF(A1:A8,"W")+2*COUNTIF(A1:A8,"T")

Hope this helps / Lars-Åke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top