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

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

debooo

Board Regular
Joined
Nov 2, 2006
Messages
86
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

dafan

Well-known Member
Joined
May 6, 2008
Messages
692
No worries man, keep m coming :)
 
Upvote 0

schielrn

Well-known Member
Joined
Apr 4, 2007
Messages
6,941
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

tkroper

Active Member
Joined
Feb 2, 2007
Messages
255
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,191,709
Messages
5,988,236
Members
440,139
Latest member
ngaicuong2017

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
Top