Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I make a letter represent a number?
I am trying to use letters to represnt obtaining an item. What I would like
to do is have X=1, and use the 1 in a calculation; ie. 7 X's = 7. The only formulas I can find make numbers represent letters, so I figure I have to make my own, but I don't know how. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I make a letter represent a number?
Hi Ben,
Perhaps COUNTIF. Will return the number X's in range F1:F14 =COUNTIF(F1:F14,"X") HTH Regards, Howard "Ben Z." <Ben wrote in message ... I am trying to use letters to represnt obtaining an item. What I would like to do is have X=1, and use the 1 in a calculation; ie. 7 X's = 7. The only formulas I can find make numbers represent letters, so I figure I have to make my own, but I don't know how. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I make a letter represent a number?
Do you mean that if a cells hold X like in
A B X X B C X then you want to be able to sum that up as 3? =COUNTIF(A1:A7,"X")*1 if not post back -- Regards, Peo Sjoblom http://nwexcelsolutions.com "Ben Z." <Ben wrote in message ... I am trying to use letters to represnt obtaining an item. What I would like to do is have X=1, and use the 1 in a calculation; ie. 7 X's = 7. The only formulas I can find make numbers represent letters, so I figure I have to make my own, but I don't know how. |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I make a letter represent a number?
if you just want to count the number of characters in a cell
=len(a1) -- Don Guillett SalesAid Software "Ben Z." <Ben wrote in message ... I am trying to use letters to represnt obtaining an item. What I would like to do is have X=1, and use the 1 in a calculation; ie. 7 X's = 7. The only formulas I can find make numbers represent letters, so I figure I have to make my own, but I don't know how. |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I make a letter represent a number?
Hi Ben, I suspect that the "countif" answers already given will have given you a way to solve your problem but... Another option (which will be helpful if you have more letters to match with a number than just x=1) involves the use of a lookup table eg, 1) Create a new worksheet & call it Lookup Table. 2) Put the alphabet in column A, one letter per cell ie cell A1=a, A2=b,...,A26=z. 3) Put the number you want to match with each letter in column B eg cell A24=x & B24 will =1. 4) Adapt this formula to be used on your working sheet: "=VLOOKUP(A1,'Lookup Table'!$A$1:$B$26,2,FALSE)" where the cell A1 contains the letter that you want to represent a number. hth Rob Brockett NZ Always learning & the best way to learn is to experience... -- broro183 ------------------------------------------------------------------------ broro183's Profile: http://www.excelforum.com/member.php...o&userid=30068 View this thread: http://www.excelforum.com/showthread...hreadid=531653 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Staff rota, how can I make a letter represent a shift? | Excel Discussion (Misc queries) | |||
how can I make a form number change everytime the form is opened | Excel Worksheet Functions | |||
Convert Text (letter) To Number Excel | Excel Worksheet Functions | |||
how to add a letter in front of each number in a cell | Excel Discussion (Misc queries) | |||
How do I get a letter to represent a number for scheduling? | Excel Worksheet Functions |