Help: Assigning a "word" a numerical value

E

Eric

I am trying to assign a word a value for percentage computations. I want to
assign the word "UP" the value of "1" and the word "down" a value of "0" for
determining the equipment status percentage... so if a piece of equipment was
UP for 7 days and down for 3 days I want it to work out the percentage it was
UP... 70% out of the 10 days total. Each day is assigned a status in a column
Up or Down. How do I assign the values so I can have the column automaticly
update every time I add a status?
 
J

Jacob Skaria

Use COUNTIF()

The below will give you the UP percentage.Assuming the status words are in
ColB and the headers in Row1 try the below

=COUNTIF(B2:B100,"up")/COUNTA(B2:B100)

If this post helps click Yes
 

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