Remove info from Cell

nolanstern

Board Regular
Joined
Aug 21, 2008
Messages
57
I have the following information in a cell:
PURCHASE 01-01-10 REDBOX *DVDRESERVATION

I would like to remove "PURCHASE 01-01-10" from the above and have only "REDBOX *DVD RESERVATION."

What is the formula to do this?
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Try

=RIGHT(A1,LEN(A1)-FIND(" ",SUBSTITUTE(A1," ","~",1)))
 

nolanstern

Board Regular
Joined
Aug 21, 2008
Messages
57
Thanks for the quick reply.

Now, how do I remove the following information which is at the end of the cell: "auth# xxxxx" (the xxxxx is numbers)

This appears for every cell and need to remove it.
 

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Are you saying that the cell actually contains

PURCHASE 01-01-10 REDBOX *DVDRESERVATION auth# xxxxx
 

nolanstern

Board Regular
Joined
Aug 21, 2008
Messages
57
Yes, and now, I need to remove "auth# xxxx" from the cell contents.
 

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Try

=MID(A1,FIND(" ",SUBSTITUTE(A1," ","~",1))+1,LEN(A1)-FIND(" ",SUBSTITUTE(A1," ","~",1))-12)
 

nolanstern

Board Regular
Joined
Aug 21, 2008
Messages
57
Only problem is there are over 400 different size cells which varies in the number of characters in the cell. They are not all the same.

All I would like to do is just remove the "auth: xxxxx" from the end of the cell.

Is this possible?
 

Forum statistics

Threads
1,176,348
Messages
5,902,635
Members
434,983
Latest member
JenniferNash

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