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.
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.
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.
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:
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.
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
Relative Formulas
- Extract from right until character
Here introduces the formula to extract text from right side of a given text until a specified character. - Trim Text To N Words
Here introduces the formula to extract n words from left side of a text string. - Add leaing zeros to fix length
This tutorial provides formulas to add leading zero to make the text at the same length. - Add dashes to phone number
To add dashes to phone number, you can use a formula to solve it in Excel.
Relative Functions
- RIGHT function
Extract text from right side. - SUBSTITUTE function
Replace old text with new one. - LEN function
Get the number of characters in the text. - SEARCH function
Find the position of a specific character or substring from the given text string. - FIND function
Find a string within another string
The Best Office Productivity Tools
Kutools for Excel - Helps You To Stand Out From Crowd
Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

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.
