How to convert a numeric value into English words in Excel

Similar documents
17. [Exploring Numbers]

CISC2000/ of 6

Course Directive Degree Audit Exception

Primary Source Verification. How to Apply

Chapter Five: Functions II

Math in Focus Vocabulary. Kindergarten

MTK smartphone Multiple downloading tool operating instructions

Ratios can be written in several different ways. Using a colon. Using the word to. Or as a fraction.

Cisco WebEx Meetings Server Release 1.5MR2. CWMS 1.5MR2 Extended Branding

Place Value. Unit 1 Lesson 1

Reports 9i. Section Title Page

Hello! My name is PC and I am learning how to use a computer. Let s learn together! Unit1

24 Week Marketing & Selling System

Programming. Ed Milne

SAMPLE RESOURCE. dotty share prices

Homework 5: Conditionals and Loops in C

Chapter 8 Patterns. Examples: a, b, c,, x, y, z

Answer Key // A Process of Learning Mathematics - Level 3 TABLE OF CONTENTS

In this lesson, we will use the order of operations to evaluate and simplify expressions that contain numbers and variables.

Voice Response System (VRS)

UDF Data for Voice Message Broadcasts - Help Version 1.0. Feb

Installation. 9mm. Rear view showing cable header pins

QUICK REFERENCE GUIDE

Whole Numbers WHOLE NUMBERS.

Parent s Guide to GO Math! Technology Correlation

Number Bases LESSON TWO. Computer Science. By John Owen

Digital codes. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Guidelines for the Read Aloud Accommodation

Layers (Just the Basics) By Jerry Koons

Using SQL with SQL Developer 18.2 Part I

FIDE Language Reference

1.1 Review of Place Value

LOBO STAFFING SOLUTIONS PVT. LTD.

Forms 10g. Section Title Page

MathWorks MATLAB download & installation instructions

Government of India Directorate General of Supplies & Disposals Jeevan Tara Building, 5 Sansad Marg New Delhi Tel Number /

UoK MIS USER MANUAL: STUDENTS

NOT FOR USE AS AN EXAM SAMPLE COPY - CS(H)15A. National Qualifications. Computing Science D D M M Y Y. Mark. Total marks 90

Using SQL with SQL Developer Part I

LYCEE EL HOREYA LANGUAGE SCHOOL MATHEMATICS DEPARTMENT WORKSHEETS NAME :... CLASS :...

Primary Source Verification. How to Apply

The School District of Palm Beach County Kindergarten Mathematics Scope st Trimester

Curriculum for Excellence LEVEL 3 (Book 3b)

Visual Quick Start Guide for Windows

CDYNE Demographics Web Service

Thanks, Peanut! Polygons are simple, closed figures having three or more straight sides. Or are they?

Whole Numbers. Whole Numbers. Solutions. Curriculum Ready.

Essential SQLite3. Section Title Page

Section 1.1 Patterns in Division

Math. Common Core. Daily/Spiral Review. Math. Common Core. Daily/Spiral Review. Unit 4. Unit 3. 7 th Grade

i M E C H A N I A i CHAPTER 1

Java Programming with Eclipse

Web Design Course Syllabus and Planner

Table of Contents Chapter Nine: Database Display Chapter two: Install and Uninstall... 2

Expressing Decimal Numbers in Word Form

i I N S I G H T O i CHAPTER 2

Using SQL with SQL Developer Part II

MOCET IG7600 Smart Telephone System. Auto Attendant & Voic

Sample file. Authors: Crystal and Thomas Rende Cover Illustrator: Heather Tang. Novel Ideas Harry Potter and the Deathly Hallows

Charge Conference Preparation Instructions

Mastering Binary Math

Using SQL with SQL Developer 18.1 Part II

Java 1.8 Programming

Step 1 The number name given in the question is five and sixty-eight-hundredths. We know that

Answer Key. Easy Peasy All-In-One Homeschool

Mini-Lecture 4.1 Introduction to Decimals

Using SQL with SQL Developer 18.2

Writing numbers as text in excel. Writing numbers as text in excel.zip

Welcome to MTH401A!! Theory of Computation

MATHEMATICS 1º ESO PROGRAMA DE ENSEÑANZA BILINGÜE I.E.S. ANDRÉS DE VANDELVIRA MANUEL VALERO LÓPEZ (MATEMÁTICAS) ANTONIO MARTÍNEZ RESTA (INGLÉS)

STATE OF OKLAHOMA COUNCIL ON LAW ENFORCEMENT EDUCATION AND TRAINING

Access Hoover s Setup Instructions. March

Lecture 1: Digital Systems and Number Systems

Reference Services Division Presents. Excel Introductory Course

Multiplying and Dividing Fractions 2

Summer 2013 Modules 9-13

'Numerical Reasoning' Results For JOE BLOGGS. Numerical Reasoning. Summary

Excel 2016 Advanced. Course Objectives

Preparing to Submit an Abstract for PETEX 2018

Empower and invest in yourself WORKBOOK MICROSOFT EXCEL INTERMEDIATE

Gwinnett County Amateur Radio Emergency Service

PLSQL 9i Index. Section Title Page

Overview of General Dragon Commands

Introduction to Microsoft Excel

MKT 450 Sampling Homework Instructions

Macros in Excel: Recording, Running, and Editing

Songwords for HBCD103 Singalong Sticker Fun

Worksheet Answers G H I D E L M P Q S T U X Y. Numbers. Titles beginning with...

REFERENCES: Senate Bills 855 and 873 (Chapters 29 and 685, Statutes of 2014); ACL 16-01; ACL 16-07; ACL 16-22

3. (1.0 point) To quickly switch to the Visual Basic Editor, press on your keyboard. a. Esc + F1 b. Ctrl + F7 c. Alt + F11 d.

'Numerical Reasoning' Results For. Sample Candidate. Numerical Reasoning. Summary

Story: Count the Eggs. Instructional Essential Standards

AP Computer Science A Syllabus

Year Two Inspire Objective Target Sheet UNIT ONE: NUMBERS TO Recognise representations of, read and write, numbers to

Adding A Signature To A Photograph By Jerry Koons

Return Values SECTION /26/16 Page 33

Microsoft Office Excel 2007: Basic Course 01 - Getting Started

CHAPTER 1 GETTING STARTED

Primary Source Verification Oman Medical Specialty Board (OMSB) - Oman Health practitioners with more than two years of most recent experience in Oman

Computer Applications Data Processing FA 14

Transcription:

How to convert a numeric value into English words in Excel (Microsoft Office Excel 2003, Microsoft Office Excel 2007, Microsoft Excel 2010, Excel 2016, Microsoft Excel 2013) Summary This article contains sample Microsoft Visual Basic for Applications functions that you can use to convert a numeric value in a Microsoft Excel worksheet cell into its equivalent in English words. More Information Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure. However, they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. How to create the sample function Called SpellNumber 1. Start Microsoft Excel. 2. Press ALT+F11 to start the Visual Basic Editor. 3. On the Insert menu, click Module. 4. Type the following code into the module sheet. Function SpellNumber(amt As Variant) As Variant Dim FIGURE As Variant Dim LENFIG As Integer Dim i As Integer Dim WORDs(19) As String Dim tens(9) As String WORDs(1) = "One" WORDs(2) = "Two" WORDs(3) = "Three" WORDs(4) = "Four" WORDs(5) = "Five"

WORDs(6) = "Six" WORDs(7) = "Seven" WORDs(8) = "Eight" WORDs(9) = "Nine" WORDs(10) = "Ten" WORDs(11) = "Eleven" WORDs(12) = "Twelve" WORDs(13) = "Thirteen" WORDs(14) = "Fourteen" WORDs(15) = "Fifteen" WORDs(16) = "Sixteen" WORDs(17) = "Seventeen" WORDs(18) = "Eighteen" WORDs(19) = "Nineteen" tens(2) = "Twenty" tens(3) = "Thirty" tens(4) = "Fourty" tens(5) = "Fifty" tens(6) = "Sixty" tens(7) = "Seventy" tens(8) = "Eighty" tens(9) = "Ninety" FIGURE = amt FIGURE = Format(FIGURE, "FIXED") FIGLEN = Len(FIGURE) If FIGLEN < 12 Then FIGURE = Space(12 - FIGLEN) & FIGURE If Val(Left(FIGURE, 9)) > 1 Then SpellNumber = "Rupees " ElseIf Val(Left(FIGURE, 9)) = 1 Then SpellNumber = "Rupee " For i = 1 To 3 If i = 1 And Val(Left(FIGURE, 2)) > 0 Then SpellNumber = SpellNumber & " Crore "

ElseIf i = 2 And Val(Left(FIGURE, 2)) > 0 Then SpellNumber = SpellNumber & " Lakh " ElseIf i = 3 And Val(Left(FIGURE, 2)) > 0 Then SpellNumber = SpellNumber & " Thousand " FIGURE = Mid(FIGURE, 3) Next i If Val(Left(FIGURE, 1)) > 0 Then SpellNumber = SpellNumber & WORDs(Val(Left(FIGURE, 1))) + " Hundred " FIGURE = Mid(FIGURE, 2) FIGURE = Mid(FIGURE, 4) If Val(FIGURE) > 0 Then SpellNumber = SpellNumber & " Paise " FIGURE = amt FIGURE = Format(FIGURE, "FIXED") If Val(FIGURE) > 0 Then SpellNumber = SpellNumber & " Only " End Function How to use the SpellNumber sample function To use the sample functions to change a number to written text, use one of the methods demonstrated in the following examples:

Method 1: Direct Entry You can change 32.50 into "Thirty Two Dollars and Fifty Cents" by entering the following formula into a cell: =SpellNumber(32.50) Method 2: Cell reference You can refer to other cells in the workbook. For example, enter the number 32.50 into cell A1, and type the following formula into another cell: =SpellNumber(A1) Method 3: Insert Function To use Insert Function, follow these steps: Excel 2003: 1. Select the cell that you want. 2. Click Insert Function on the Standard toolbar. 3. Under Or select a category, click User Defined. 4. In the Select a function list, click SpellNumber, and then click OK. 5. Enter the number or cell reference that you want, and then click OK. Excel 2007 and 2010: 1. Select the cell that you want. 2. Click Insert Function on the Formulas ribbon. 3. Under Or select a category, click User Defined.

4. In the Select a function list, click SpellNumber, and then click OK. 5. Enter the number or cell reference that you want, and then click OK. Properties Article ID: 213360 - Last Review: 23-Sep-2015 - Revision: 1 Applies to Microsoft Office Excel 2003, Microsoft Office Excel 2007, Microsoft Excel 2010, Excel 2016, Microsoft Excel 2013