Convert X Digit Number To Letters
May 11, 2008
Nice to meet you all. I'd be grateful for any help I could get on this as I have tried it and I'm a bit stumped...
What I need to do is the following:
Convert a 4 digit number (e.g. 1234) in a single cell to a 4 letter string (e.g BCDE) and have the output appear in another cell.
The conversion should be as follows:
0=A
1=B
2=C
3=D
4=E
5=F
6=G
7=H
8=I
9=J
0=K
So, for example, 3678 in one cell should be converted to DGHI in the target cell.
View 6 Replies
ADVERTISEMENT
Dec 24, 2008
Is it possible to enter a 4-digit number (i.e. 1400) into a textbox and have it display 14:00 and have the time entered into a cell?
View 3 Replies
View Related
Aug 30, 2006
Is there any way that I can have a column of cells change the entered 4 digit to a time format? E.g. when somebody enters 1212 in a cell it will automatically convert the entered numbers to 12:12
View 9 Replies
View Related
Apr 3, 2008
I know you can take a number from one cell and combine it with number from another cell and make it one number. What I need to do is the reverse. Take a two digit number in a cell and separate it into single digits in two cells. If you have the number 50 in a cell, then is there a formula that will take the 5 and put it in cell and take the 0 and put it in the cell beside it?
View 4 Replies
View Related
Mar 2, 2009
I have a column of 6 digit numbers in excel, and I need to remove the last digit from each number, turning it into a 5 digit number. No rounding, just simply remove the last digit. Each number is different. Does anyone know how to quickly and efficiently remove the last digit from each number? I can convert to alphanumeric string if need be...
View 4 Replies
View Related
Feb 26, 2011
I need creating a tool for numerology.
Every alphabet from a to z has a number associated with it.
A = 1, b 2 , c = 3 etc
Numeric Values for Each Numeral
A1N5
B2O7
C3P8
D4Q1
E5R2
F8S3
G3T4
H5U6
I1V6
J1W6
K2X5
L3Y1
M4Z7
I can either use excel or access or write this.
Example 1 , r = 2 , I = 1, L = 3. .
If I write RIL in column 1 , column 2 should say 213 and column 3 should add 2+1+3 and display 7.
Example 2:
Col 1 = Infosys Ltd
Col 2 should say 1587313 344
Col 3 = 1 + 5 + 8+ 7+ 3+1+3 3+4+4 = 39 , 3+ 9 = 12 , add 1+2 = 3
View 7 Replies
View Related
Jun 13, 2014
How to calculate a check digit in excel. The details to calculate this are as follows:
All variables in the calculation are positive integers.
We take each integer of the pro number and multiply it by a value and sum them to get a total.
An Example: 8 Digit Pro Number: 66988757
Pro Number: 6 6 9 8 8 7 5 7
Position in the Pro Number: 1 2 3 4 5 6 7 8
Multiply each digit in the pro number by (10-position) in the number, to achieve a sum.
Using our example pro again:
6*(10-1) + 6*(10-2) + 9*(10-3) + 8*(10-4) + 8*(10-5) + 7*(10-6) + 5*(10-7) + 7*(10-8)
6*9 + 6*8 + 9*7 + 8*6 + 8*5 + 7*4 + 5*3 + 7*2
54+ 48+ 63+48+40+28+15+14 = 310
Take the Sum of the previous calculation and divide it by 11
310/11 = 28
(Actually, it's 28.181818, but since we're working with integers, we truncate everything behind the decimal).
Figure a remainder by multiplying the quotient by 11 and subtracting from the sum.
Remainder = 310 - (28*11) ---> Remainder = 310 - 308 ----> Remainder = 2
Check Digit = 11- Remainder
Check Digit = 11 - 2 ---> Check Digit = 9
Note: if the check digit is 10 or 11, need to subtract 10 from the Check Digit.
View 3 Replies
View Related
May 6, 2009
I work in the flooring industry and the format we use for cuts of carpet/vinyl is 40-3 (for 40.25 feet), etc. So we are trying to create an excel spreadsheet that will add up these cuts. Right now it's kind of a mess because we have decimals in a column we will be hiding and are converting that to our industry format.
The formula I am having trouble with is as follows:
=MID(A18,1,FIND(".",A18)-1)&"-"&MID(A18,FIND(".",A18),3)*12
The problem is that whenever the totals end in zero, the formula won't convert 40.00 to 40-0. It gives me an error every time. If the total is 40.25 it will convert it to 40-3 just fine.
View 7 Replies
View Related
Feb 21, 2014
I have a column that contains 4 digit numbers that I want to convert to a text value. Here is my example
Number Text Value
7004 RBPA
7002 DCVA
7001 PVBA
.....etc.
There is a total of 10 different number values. I want to include the conversion vba into an existing macro that is performing other functions on the spreadsheet.
View 1 Replies
View Related
Jul 16, 2007
Is there any way changing general four digit number into hours and minutes?
I have almost 31000 rows of imported data, showing arrival and departure times with four digits (dep 2130, arr 0130) without colons and I need to subtract dep from arr to get block hours. Is there a way to add colon to multiple cells or some other solution to my problem?
Adding colon to 62000 cells one by one does not sound that good to me.
View 7 Replies
View Related
Jan 3, 2012
I'm looking for a formula that may automatically convert date into single digit e.g today is Jan 03, 2012 & after adding (1+0+3+2+0+1+2) it will come out 9 ....
View 6 Replies
View Related
Apr 25, 2014
I have an address (city, state, zip format) in a cell. Some of the zip codes only have a 4-digit zip code which is the way the file was received. I know these zip codes have leading zero. How can I convert these to a five-digit code. Examples are as follows:
Waltham MA 2453
convert to 'Waltham MA 02453'
Boston MA 2210
convert to 'Boston MA 02210'
CEDAR GROVE, NJ 7009-1174
convert to 'CEDAR GROVE, NJ 07009-1174'
TEANECK CITY, NJ 7666
convert to 'TEANECK CITY, NJ 07666'
View 3 Replies
View Related
Apr 5, 2007
i want to convert numbers to letters in the excel Sheet
I.E: when the number is 1000.00$ it write in another cell
on thousand dollar only
1500.00$ one thousand five hundred dollar only
View 13 Replies
View Related
Oct 21, 2008
way to convert all symbols (ú á) to their equvilant letters (u a) I know that I can do this manualuy with Find replace but I was hoping there was some magic that I am missing.
Please note that the exapples are only 2 of the symbols I need to convert the sheet could contain all of the varieties of symbol.
View 9 Replies
View Related
Feb 15, 2007
How do I give letters a value in Excel? i.e. How can I make A = 1
View 9 Replies
View Related
Jun 26, 2014
I want to convert all the Arabic letters into English (ie. Translitertaion) Not translation. I have found the below sample code in google and I have just tested but it is not working
Const cyr = "123456789" 'the cyillic alphabet in order
Const lat = "abcdefghi" 'the latin alphabet in the same order
Function convertchar(inchar As String) As String
Location = InStr(cyr, inchar)
[Code]....
If I type any number in cell A1 and run the above convertcells, it is not converting to latin.
View 1 Replies
View Related
Jun 8, 2007
In row G, I have a wide range of values from -3000 up to 2500.
These values are generated from a formula. =A5-B5.
I need a script that will scan row G between G5:G500 and give them a letter value.
Convert anything less than 0 to an A
Convert anything equal to 0 or equal to 1 to a B
Convert anything between 2 and 7 to a C
Convert anything greater than 7 to a D
It can place the new categorized letter value over the original formula in row G or put the letter value right next to it in H.
View 9 Replies
View Related
Nov 22, 2007
I've tried everything I know (which isnt that much to be honest. lol). Ive tried the frequency formula but that doesn't work the way I want it - I think its probably the wrong formula to use. I've also tried a pivot table but they always vex me. If a pivot table IS the way to go, could someone talk me through it step by step? (*the wizard is just as confusing as doing it yourself I find) ....
View 9 Replies
View Related
Apr 11, 2012
I am making an IF function that calculates and converts units, for example kg to g and g to kg etc.
This is the formula I typed in
=IF(E6=kg, ((F6/D6)*G6/1000), ((F6/D6)*G6))
When I evaluate it I get the #NAME error. What do I need to change to make it work?
View 3 Replies
View Related
Sep 23, 2008
First my goal is to sum a row and column. For example i want the sum of row 1 a to row 1 g. However, I'm using a loop for an automated macro. So i want to be able to say something like cells(1, count), so during the loop count goes from 1 to 7 representing the letters in the alphabet. But I'm not sure how to do so.
Secound, in my vba script to pull information from specific pages i say "sheet1.activate" how can i had the sheet switching during the process to speed up the calculation? and last but not least,
If Cells(1, locd) = "2008" Then
When i run my script, i get a runtime error 1004 application-defined or object defined error. The weird thing is, i can move what line it is on and then the macro will run ONCE and then it breaks again with the same error for that specific piece of code.
View 4 Replies
View Related
Jun 22, 2006
how you can determine if a cel value is a number or a digit
It is actually for a column to determine if it has a heading or not and acordingly y have to count the rows off that "current region" and put some values with a formula next to this column.
Y was testing an expression with this
msg = IIf(target.End(xlUp).Value = "X", "is this a LETTER", "is this a DIGIT")
View 3 Replies
View Related
Jun 9, 2014
Well I want to add few numbers in a few number for example I have ten columns containing few cell numbers and i want to add 92 my country code with it. I have tried this by using replace formula but in result it comes in text format from which i cannot use another formula unless text format is removed and for that i have to do it one by on in every single cell. I have attached a sample sheet.
View 4 Replies
View Related
Dec 13, 2013
I have the following dates in a column and need to convert them to the short date format:
91113 (Sept 11, 2013)
100713 (Oct 07, 2013)
122612 (Dec 26, 2012)
40413 (April 04, 2013)
Those are just some examples. When I convert these as is I get dates that are really far in the future. Some dates are 5 digit and some are 6.
View 7 Replies
View Related
Aug 19, 2014
I have the following
[Code] .....
AK5 value will be 2 - 21.
I need it to display
A1D05
or
A1D21
or whatever the number is after A1D, but when AK8 = a value of 1 or 2 or 3...... It comes back as A1D1 or A1D2... How ca I keep the two digits in AK8 to stay and put the value the way I want in AE5 ...
View 5 Replies
View Related
Jan 26, 2009
I'm trying to figure out how to setup a worksheet to find the most common 2 digit numbers going vertically from the bottom(cold) to the top(hot) it would consist of 90 digits 0 thru 9
it would look like this
4 0 3 9 0 4 3 3 2
9 2 5 6 5 6 9 6 6
8 9 9 3 1 0 2 9 8
1 6 7 5 9 9 8 2 5
2 7 2 2 2 8 5 1 3
0 1 4 7 4 7 6 0 9
3 5 6 4 3 3 0 4 4
7 8 8 1 8 5 7 8 7
5 4 1 8 6 1 1 5 1
6 3 0 0 7 2 4 7 0
each vertical line would be considered weeks 9 thru 1. week 9 would be the first vertical line of digits on the left. it could also contain the most common 2 digits horizontally. Both 2 digit values would be color coded ex. blue equals most common 2 digit horizontally and green equals vertically. I would also like to color code the most common 2 digit value diagonally as long as it is the most common of either the vertical or horizontal 2 digit. Each number is seperate on the worksheet they would not be pairs. im using excell 2003.
View 9 Replies
View Related
Jun 26, 2009
The last digit of a number (can be any demonination but always an integer). I know that you can check the last digit of a number with =RIGHT(A1,1) but I would like to check whether the last digit in number is 1,2,3,4,5 and if so change the whole number to a number ending in 5. If the original number ends in 0,9,8,7,6 then I want it to be changed to end in 9. Is this possible and if so is there an excel function that I could use??
e.g. 143 -> 145
e.g. 1037 -> 1039
View 9 Replies
View Related
Oct 17, 2006
I have a cell with a number which is a result of several previous sums. It's a number with 8 to 11 digits. For example: 878567663.
I need to add each digit of the number, and then add again the result until I end up with a single digit. In the above example it'd be (8+7+8+5+6+7+6+6+3=56), then (5+6=11), then (1+1=2) and put the end result (2) in a cell
My main doubt is that I don't know how to use a simple "do while" type structure in Excel to achieve the above.
Questions:
1.) How do I create a formula to do that?. I have seen solutions in this board that let me add each digit but that's it... I need to "reduce" it until only one digit is left...
2.) What about if the lenght of the number is not always the same (fe. in one cell is 8, in another is 11, the next one is again 8...)?
View 6 Replies
View Related
Feb 4, 2010
I need composing a formula that will add a space after every 4th Number in a 16 digit Character Set.
ex. 0101 0101 0101 0101
View 3 Replies
View Related
Jul 13, 2009
="autECLSession.autECLPS.SendKeys """&B4*100&""""
B4 is 3.00% and I need it to be 03 no %, 3.00%*100= 3 but I need anything less then 10 to be two digits still (1-9)
This would be the perfect end result:
autECLSession.autECLPS.SendKeys "03"
and for over 10
autECLSession.autECLPS.SendKeys "10"
View 2 Replies
View Related
Feb 20, 2010
I am trying to get a formula to return the last digit from a number in a cell as a number.
If the cell (B3) contains a number such as 164 or 34 I want to return a value of 4 and have it be formated as a number.
I have tried =RIGHT(B3,1) and it returns a 4 but I cannot get another formula to recognize it as a number.
It shows up in the cell on the left side as text would and if I format it as a number nothing happens it is still on the left and the formula does not work.
View 7 Replies
View Related