#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Number to word

I have randomly single nos in column A,
How can I get word by formula in B column for particular no given in A column.

0 zero
1 one
2 two
3 three
4 four
5 five
6 six
7 seven
8 eight
9 nine

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Number to word

Try CHOOSE()

with value in A1

=CHOOSE(A1+1,"Zero","One","Two","Three","Four","Fi ve","Six","Seven","Eight","Nine")

If you are looking for currency conversion refer the below link
http://www.ozgrid.com/VBA/CurrencyToWords.htm


If this post helps click Yes
---------------
Jacob Skaria


"kashish" wrote:

I have randomly single nos in column A,
How can I get word by formula in B column for particular no given in A column.

0 zero
1 one
2 two
3 three
4 four
5 five
6 six
7 seven
8 eight
9 nine

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Number to word

Thank you It is useful

"Jacob Skaria" wrote:

Try CHOOSE()

with value in A1

=CHOOSE(A1+1,"Zero","One","Two","Three","Four","Fi ve","Six","Seven","Eight","Nine")

If you are looking for currency conversion refer the below link
http://www.ozgrid.com/VBA/CurrencyToWords.htm


If this post helps click Yes
---------------
Jacob Skaria


"kashish" wrote:

I have randomly single nos in column A,
How can I get word by formula in B column for particular no given in A column.

0 zero
1 one
2 two
3 three
4 four
5 five
6 six
7 seven
8 eight
9 nine

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Number to word

Can it works like given below

A B
102 one zero two
50 five zero
32 three two
013 zero one three



"kashish" wrote:

Thank you It is useful

"Jacob Skaria" wrote:

Try CHOOSE()

with value in A1

=CHOOSE(A1+1,"Zero","One","Two","Three","Four","Fi ve","Six","Seven","Eight","Nine")

If you are looking for currency conversion refer the below link
http://www.ozgrid.com/VBA/CurrencyToWords.htm


If this post helps click Yes
---------------
Jacob Skaria


"kashish" wrote:

I have randomly single nos in column A,
How can I get word by formula in B column for particular no given in A column.

0 zero
1 one
2 two
3 three
4 four
5 five
6 six
7 seven
8 eight
9 nine

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Number to word

It is better to use a UDF to acheive this..If you are new to UDFs . launch
VBE using Alt+F11. Insert Module. Paste the below function. Close VBE and
return back to Workbook. Try as below

A1 = 1234567890
B1 = NumToText(A1)

Function NumToText(varValue) As String
arrWords = Array("Zero", "One", "Two", "Three", "Four", "Five", "Six",
"Seven", "Eight", "Nine")
If IsNumeric(varValue) = True Then
For intTemp = 1 To Len(varValue)
NumToText = NumToText & arrWords(Mid(varValue, intTemp, 1)) & " "
Next
End If
NumToText = Trim(NumToText)
End Function


If you are really looking for a formula; the below will work for 3 digit
numbers
=CHOOSE(LEN(A1),CHOOSE(A1+1,"Zero","One","Two","Th ree","Four","Five","Six","Seven","Eight","Nine"),C HOOSE(LEFT(A1,1)+1,"Zero","One","Two","Three","Fou r","Five","Six","Seven","Eight","Nine")
& " " &
CHOOSE(RIGHT(A1,1)+1,"Zero","One","Two","Three","F our","Five","Six","Seven","Eight","Nine"),CHOOSE(L EFT(A1,1)+1,"Zero","One","Two","Three","Four","Fiv e","Six","Seven","Eight","Nine")
& " " &
CHOOSE(MID(A1,2,1)+1,"Zero","One","Two","Three","F our","Five","Six","Seven","Eight","Nine")
& " " &
CHOOSE(RIGHT(A1,1)+1,"Zero","One","Two","Three","F our","Five","Six","Seven","Eight","Nine"))



If this post helps click Yes
---------------
Jacob Skaria


"kashish" wrote:

Can it works like given below

A B
102 one zero two
50 five zero
32 three two
013 zero one three



"kashish" wrote:

Thank you It is useful

"Jacob Skaria" wrote:

Try CHOOSE()

with value in A1

=CHOOSE(A1+1,"Zero","One","Two","Three","Four","Fi ve","Six","Seven","Eight","Nine")

If you are looking for currency conversion refer the below link
http://www.ozgrid.com/VBA/CurrencyToWords.htm


If this post helps click Yes
---------------
Jacob Skaria


"kashish" wrote:

I have randomly single nos in column A,
How can I get word by formula in B column for particular no given in A column.

0 zero
1 one
2 two
3 three
4 four
5 five
6 six
7 seven
8 eight
9 nine

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
Assigning a word to a number MJ Excel Worksheet Functions 4 September 17th 08 03:43 PM
Assign a number to a word Noob McKnownowt Excel Worksheet Functions 5 September 16th 08 11:39 AM
HOW CAN I CONVERT NUMBER TO WORD ROHIT Excel Discussion (Misc queries) 3 September 1st 06 03:32 PM
convert number to word ROHIT Excel Discussion (Misc queries) 1 August 25th 06 01:44 PM
convert a number in word mahbub Excel Discussion (Misc queries) 1 June 12th 06 11:17 AM


All times are GMT +1. The time now is 05:10 PM.

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

About Us

"It's about Microsoft Excel"