Skip to main content

Excel Formula: Split dollars and cents

This tutorial provides formulas to separate dollars and cents into two columns as below screenshot shown. Moreover, it explains the arguments and how the formulas work in Excel.
doc extract extension from file name 5

Split to dollars

Generic formula:

INT(number)

Arguments

Number: the number you want to round down to nearest integer.

How this formula work

To extract the dollars from cell B3, please use below formula:

=INT(B3)

Press Enter key to get the dollars.
doc split dollars and cents 2

Explanation

INT function rounds the number down to the nearest integer.

Split to cents

Generic formula

MOD(number, 1)

Argument

Number: the number to be divided.

How this formula work

To extract the cents from cell B3, please use below formula:

=MOD(B3,1)

Press Enter key to get the cents.
doc split dollars and cents 3

Explanation

The MOD function returns the reminder of two numbers after division. Here MOD(B3,1) can be seen as 123.66/1=123…0.66, returns 0.66.

Note

If you want to display the cents as below screenshot shown, please use below formula:
doc split dollars and cents 4

Generic formula

=RIGHT(number,LEN(number)-FIND(".",number))

Argument

Number: the number you use.

How this formula work

To extract the cents from cell B7, please use below formula:

=RIGHT(B7,LEN(B7)-FIND(".",B7))

Press Enter key to get the cents.
doc split dollars and cents 5

Explanation

FIND function returns the starting position of a text in the given text, here the formula FIND(".",B7) find the position of “.” in the text in cell B7, returns 2.

LEN function returns the number of characters in a text string, LEN(B7) returns 4.

RIGHT function extracts the text from right side of a text string. Here RIGHT(B7,LEN(B7)-FIND(".",B7)) can be seen as RIGHT(B7,4-2), extracts 2 characters from right side of the text in cell B7.

Sample File

doc sampleClick to download sample file


Relative Formulas


Relative Functions


The Best Office Productivity Tools


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations