Finding the middle character in a word ??

asetat

New Member
Joined
Jan 24, 2006
Messages
19
Hi there dear folks,

Is it possible to find out the middle character in a word which is written in a specific cell in excel.

I mean let's say, I wrote "MrExcel" in a cell and I want to discover the "x" with some formula..

any idea please?
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
=MID(A1,ROUND(LEN(A1)/2,0),1)

Will pull 4th char in both 6 & 7 char string (like MrExcel) -- assumes cell is whole (ie no blanks - MrExcel not Mr_Excel)
 
Upvote 0
thank you for your reply but when I tried it says there's a problem with the formula?
 
Upvote 0
I just copy-paste from here.. same error continues..

dear richard, does it work for you?
 
Upvote 0
Which language version of Excel and do you normally use ; instead of , in your formulas? If so try:
Code:
=MID(A1;ROUND(LEN(A1)/2;0);1)
 
Upvote 0
Which language version of Excel and do you normally use ; instead of , in your formulas? If so try:
Code:
=MID(A1;ROUND(LEN(A1)/2;0);1)

thank you rorya..

";" instead of "," solved my problem :)

cheers!
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,256
Members
448,557
Latest member
richa mishra

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