Using the MID function, help?

Status
Not open for further replies.

sloppy

New Member
Joined
Apr 2, 2011
Messages
8
<table border="0" cellpadding="0" cellspacing="0" width="175"><col style="width: 131pt;" width="175"> <tbody><tr style="height: 15pt;" height="20"> <td style="height: 15pt; width: 131pt;" width="175" height="20">PKT SQ_TURQ_CREW</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">SOHO_TURQ_T</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">STONE_CHARCOAL_CREW</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">SOHO_WHITE_CREW
<table border="0" cellpadding="0" cellspacing="0" width="175"><col width="175"><tr height="20"> <td style="height: 15pt; width: 131pt;" width="175" height="20">GUCCI_RED_ZIP_UP</td> </tr></table>
I need to find a formula that will just show the color name. Example: Red Im pretty sure you use MID function but the multiple underscores are confusing me. Any ideas?
</td> </tr> </tbody></table>
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
sloppy,


Excel Workbook
AB
1PKT SQ_TURQ_CREWTURQ
2SOHO_TURQ_TTURQ
3STONE_CHARCOAL_CREWCHARCOAL
4SOHO_WHITE_CREWWHITE
5GUCCI_RED_ZIP_UPRED
6
Sheet1





The formula in cell B1, copied down:

=MID(A1,FIND("_",A1,1)+1,FIND("_",A1,FIND("_",A1,1)+1)-FIND("_",A1,1)-1)

 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,224,600
Messages
6,179,833
Members
452,947
Latest member
Gerry_F

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