return value

biggoan

Board Regular
Joined
Mar 16, 2004
Messages
71
I have a cell that has xxxxxx=xxxxxxxxxxxx=xx= I want the first four char after the first = sign to be put in a differnt cell, how can I do that?
 

Some videos you may like

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Fergus

Well-known Member
Joined
Mar 10, 2004
Messages
1,174
If it's in A1 use =MID(A1,FIND("=",A1,1)+1,4)
 

sweater_vests_rock

Well-known Member
Joined
Oct 8, 2004
Messages
1,657
biggoan.

Try this, where C1 is the cell containing the entry to search:

=MID(C1,SEARCH("=", C1)+1,4)

Hope that helps. Ben.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,535
Messages
5,602,217
Members
414,513
Latest member
junbuggle

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