You are on page 1of 4

NumSource: 123.

45

Translated Text: Err:502

To include this sheet in any open workbook


• Right-Click the DisplayForm sheet tab (below)
• Select: Move or copy
• Check: Create a copy
• Choose the destination workbook from the dropdown list
• Click the [OK] button

Named Range Description


NumSource Reference to the cell containing the original number
Units Names of the whole and fractional units, singular and
plural (eg Dollar, Dollars, Cent, Cents)
LU_NumTextList List of number words used in the translation

LU_NumList List of numeric values


WIPnum Original number (NumSource), converted to a text
string formatted as 000000000000000. Note: The
decimal point has been replaced with a zero.

Num A 3x5 array of WIPnum triads converted to their word


values. Each row references WIPnum triads
consisting of the 100's, 10's, and 1's words

Denom An array that assignes denomination values to


WIPNum triads
NumText_Whole The whole number section of the original number,
converted to words

NumText_Decimal The fractional section of the original number,


converted to words
NumsToWords The original number, translated to words

Developed by Contextures Inc. www.contextures.com


Using the NumsToWords calculation in the new workbook
• NumsToWords will always translate the value in the cell named NumSource
• You can cut and paste the NumSource cell anywhere in the workbook
(Alternatively, you can redefine NumSource to refer to any other cell in the workbook
If that celll is not in the DisplayForm sheet, you can delete this sheet)
• Then, enter: =NumsToWords in any cell to view the translated NumSource value

Refers to
=DisplayForm!$C$2
={"Dollar","Dollars","Cent","Cents"}

={""," One"," Two"," Three"," Four"," Five"," Six"," Seven"," Eight"," Nine"," Ten"," Eleven","
Twelve"," Thir||"," Four||"," Fif||"," Six||"," Seven||"," Eigh||"," Nine||"," Twen|"," Thir|"," For|","
Fif|"," Six|"," Seven|"," Eigh|"," Nine|"}

={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,30,40,50,60,70,80,90}
=SUBSTITUTE(TEXT(N(NumSource),"000000000000.00"),".","0")

=IF(INT(MOD(MID(WIPnum,{1;4;7;10;13},3)/{100,1,1},
{10,100,100}))>{0,0,19},LOOKUP(INT(MOD(MID(WIPnum,{1;4;7;10;13},3)/{100,1,1},
{10,100,10})),LU_NumList,LU_NumTextList)&{" Hundred","",""},{"","",""})

=IF(INT(MID(WIPnum,{1;4;7},{3;3;3})),{" Billion";" Million";" Thousand"},{"";"";""})

=IF(N(NumSource)<1,"No
",INDEX(Num,1,1)&INDEX(Num,1,2)&INDEX(Num,1,3)&INDEX(Denom,1)&INDEX(Num,2,1)&I
NDEX(Num,2,2)&INDEX(Num,2,3)&INDEX(Denom,2)&INDEX(Num,3,1)&INDEX(Num,3,2)&IN
DEX(Num,3,3)&INDEX(Denom,3)&INDEX(Num,4,1)&INDEX(Num,4,2)&INDEX(Num,4,3)&" ")

=IF(--RIGHT(WIPnum,2)=0," No ",INDEX(Num,5,1)&INDEX(Num,5,2)&INDEX(Num,5,3)&" ")

=IF(AND(ISNUMBER(NumSource),N(NumSource)>=0),TRIM(SUBSTITUTE(SUBSTITUTE(Nu
mText_Whole&INDEX(Units,IF(INT(N(NumSource))=1,1,2))&"
and"&NumText_Decimal,"||","teen"),"|","ty")&INDEX(Units,IF(--
RIGHT(WIPnum,2)=1,3,4))),"INVALID")

Developed by Contextures Inc. www.contextures.com


Contextures Products
Pivot Power Premium Add-in
UserForms for Data Entry ebook Kit
Contextures Excel Tools Add-in
Data Entry Search Popup
Data Entry Popup
30 Excel Functions in 30 Days eBook Kit

Contextures Sites & News


Contextures Excel Newsletter
Contextures Excel Tips Website
Contextures Excel Blog
Excel Pivot Tables Blog

Other Excel Products


Contextures Recommends
Time-saving tools for pivot table power users
Step by step instructions and videos
Make instant backups, sort sheets, and many more tools
Makes data entry easier when choosing from long list
Select single or multiple items from a listbox, to enter in a single cell
Sample workbook and easy to follow user guide for key Excel functions

Weekly Excel tips, tutorials, videos, and news


Hundreds of tutorials, tips and sample files
Read the Excel tutorials and share your comments
Pivot table tutorials and tips, with comments and questions

Other Excel tools and training, recommended by Debra

You might also like