ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I get a cell to show the fifth character of another cell? (https://www.excelbanter.com/excel-discussion-misc-queries/62213-how-do-i-get-cell-show-fifth-character-another-cell.html)

dedsky

How do I get a cell to show the fifth character of another cell?
 
I have a number in cell N7 which is 8 characters long. I am using =LEFT(N7,3)
to refer to the first 3 digits of that cell and =RIGHT(N7,3) to refer to the
last three digits. How do I get it to refer to the 2 center digits without
showing any of the rest of the number?


OZDOC1050

How do I get a cell to show the fifth character of another cell?
 
=MID(N7,4,2)

cheers
Pete
--
(][ THIS EMAIL HAS BEEN SCANNED BY NORTON ANTIVIRUS ][)
"dedsky" wrote in message
...
I have a number in cell N7 which is 8 characters long. I am using
=LEFT(N7,3)
to refer to the first 3 digits of that cell and =RIGHT(N7,3) to refer to
the
last three digits. How do I get it to refer to the 2 center digits without
showing any of the rest of the number?





All times are GMT +1. The time now is 04:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com