How to separate dollars and cents into two columns in Excel?
For separating dollars and cents into two columns, such as split $12.34 to $12.00 and $0.34, or 12 and 34, the following methods can help you.
Enable you to do smarter, faster and better
You can separate dollars and cents into two columns with the following formulas.
1. For separating dollars, please select a blank cell (says cell B2) beside the currency cell you will separate dollars and cells, enter formula =INT(A2) into the Formula Bar, and then press the Enter key.
You can see the dollar was separated with the dollar sign and located in the selected cell as below screenshot shown.
2. Keep selecting the cell B2, then drag its Fill Handle to the cell until all dollars in corresponding cells are separated.
For separating cents, please use this formula =MOD(A2,1), then apply the formula to other cells with the Fill Handle.
The dollar sign will be remained in the separated dollars and cents with the above formulas. If you just want to get the dollars and cents without dollar sign, you can try the following method.
|Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days.|
1. Firstly you need to convert the currency cells to texts. Please select the cells you need to separate dollars and cents, then click Kutools > Content > Convert between Text and Number. See screenshot:
2. In the Convert between Text and Number dialog box, select the Number to text option, and then click the OK button.
3. Then the selected cells are converted to text, keep selecting these cells, then click Kutools > Text > Split Cells. See screenshot:
4. In the Split Cells dialog box, select Split to Columns option in the Type section, choose the Other option in the Split by section, then enter the dot mark into the following text box, and click the OK button.
5. In the next popping up Split Cells dialog box, select a blank cell for locating the split result, and then click the OK button.
You can see the specified currency cells are separated into dollars and cents immediately.
Note: as the original currency cells now is text format, you can convert them to currency format again by choosing the Text to number option in the Convert between Text and Number dialog box.
- How to split multiline cell contents into separated rows/columns in Excel?
- How to split string by certain length in Excel?
- How to split comma separated values into rows or columns in Excel?