Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,670
Default Help: Assigning a "word" a numerical value

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?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Help: Assigning a "word" a numerical value

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
---------------
Jacob Skaria


"Eric" wrote:

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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
any formula to convert numbers in word form, e.g. "2" as "Two"? Neeraj Excel Worksheet Functions 1 May 26th 08 01:03 PM
Check if cells contain the word "Thailand", return "TRUE" ali Excel Worksheet Functions 7 September 14th 07 09:53 AM
how do i write "numerical Arabic" as in word 2007 jmok Excel Discussion (Misc queries) 0 January 21st 07 05:46 PM
TRUNCATE SPACE FROM NUMERICAL STRING eg "33 033 546" NAEEM Excel Worksheet Functions 8 December 5th 06 07:30 PM


All times are GMT +1. The time now is 04:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"