Grabbing Middle of Cell

acady

New Member
Joined
Aug 17, 2011
Messages
2
Hello:

I have need to take "South Beach Food & Wine" from the cell that reads:

ODR JAN11 South Beach Food & Wine National Unearned A/R

I have been trying MID, Right, left, replace, but just can't get it and know there is any easy solution!

Please let me know. Thanks.

A
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Hi acady,

Welcome to the forum!!

Assuming the entry is static and is in cell A1 (change to suit), try this:

=MID(A1,11,24)

HTH

Robert
 
Upvote 0
What are the constants? For example

is the first nine characters something you ALWAYS want to exclude?
 
Upvote 0
The constant is the first 10 (including the space). The verbage will vary but it will always be the first 10 I want to get ride of.
 
Upvote 0
So is "Unearned A/R" the rest of the data you wish to remove?
 
Upvote 0
The constant is the first 10 (including the space). The verbage will vary but it will always be the first 10 I want to get ride of.

This at least tells us where the string you want BEGINS...

This will remove the first 10 characters...
=REPLACE(A1,1,10,"")

Now, we need some constant method to know where the END of the string you want to retrieve is.
 
Upvote 0

Forum statistics

Threads
1,224,502
Messages
6,179,126
Members
452,890
Latest member
Nikhil Ramesh

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