Formula to isolate last 6 characters in text

tkroper

Active Member
Joined
Feb 2, 2007
Messages
255
Hi all!

There must be a simple way to do this...

In column A, the cells contain strings of text which ends with a dollar sign and an hourly rate: $24.00 for example. There will always be a total of 6 characters. In column B, I would like a formula that simply isolates the dollar figure including the dollar sign from column A.

I appreciate your help on this.

Todd
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
i think you only need to use either a right or mid formula. not sure which way you want to go but =right(A1,6) would give you the first 6 digits of A1 starting from the far right.
 
Upvote 0
If it is ever 5 or 7 or any characters other than 6 you can use:

=mid(A1,find("$",A1),len(A1))

Hope that helps.
 
Upvote 0
If it is ever 5 or 7 or any characters other than 6 you can use:

=mid(A1,find("$",A1),len(A1))

Hope that helps.

Thank you schielrn! In this case, no it will always be 6. But I'm sure I'll need your solution sooner or later (I'm working on a bunch of stuff).

I appreciate your help!

Todd
 
Upvote 0

Forum statistics

Threads
1,214,823
Messages
6,121,777
Members
449,049
Latest member
greyangel23

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