Split Column by Delimiter - Keeping the Delimiter

Carin

Board Regular
Joined
Feb 4, 2006
Messages
224
I have a column with decimals (18.73). I want to split the column to have the whole number in one column (18) and the decimal in the other column (.73). I am able to split; however, the decimal is displaying (73).
The output of the data has formulas for custom rounding to a whole number and my formula thinks this is 73 not .73. Any help would be appreciated. I am BRAND NEW using Power Query.

1611600560200.png
 

Attachments

  • 1611600517363.png
    1611600517363.png
    40.9 KB · Views: 22

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Don't split the column, add 2 new columns via Add Column>Custom Column.

The first one would use a formula like this to get the integer part,

= [Employees Approved] - Number.Mod([Employees Approved],1)

and the second this to get the decimal part.

= Number.Mod([Employees Approved],1)
 
Upvote 0
Solution
That works beautifully! I wish I better understood how it worked :) I'll get there. Thank you very much.
 
Upvote 0

Forum statistics

Threads
1,223,742
Messages
6,174,243
Members
452,553
Latest member
red83

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top