take the last value before space in excel

chadbrooks1980

New Member
Joined
Oct 24, 2010
Messages
10
hi is there a way to take the last value from one cell and enter into another cell?

for example: if cell A1 had the follow
"<TABLE style="WIDTH: 452pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=602><COLGROUP><COL style="WIDTH: 452pt; mso-width-source: userset; mso-width-alt: 22016" width=602><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; WIDTH: 452pt; HEIGHT: 15pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" height=20 width=602>09/01 Card Purchase 08/30 Cafe Sevilla Riverside Riverside CA Card 9540 $288.28</TD></TR></TBODY></TABLE>"
I'd like to have cell A2 grabe the value $288.28

Thanks!

Chad
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
hi is there a way to take the last value from one cell and enter into another cell?

for example: if cell A1 had the follow
"<TABLE style="WIDTH: 452pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=602 border=0><COLGROUP><COL style="WIDTH: 452pt; mso-width-source: userset; mso-width-alt: 22016" width=602><TBODY><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-RIGHT: #f0f0f0; BORDER-TOP: #f0f0f0; BORDER-LEFT: #f0f0f0; WIDTH: 452pt; BORDER-BOTTOM: #f0f0f0; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" width=602 height=20>09/01 Card Purchase 08/30 Cafe Sevilla Riverside Riverside CA Card 9540 $288.28</TD></TR></TBODY></TABLE>"
I'd like to have cell A2 grabe the value $288.28

Thanks!

Chad
Try this...

=--TRIM(RIGHT(SUBSTITUTE(A1," ",REPT(" ",100)),100))
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,337
Members
452,907
Latest member
Roland Deschain

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