ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I format cells to show part of a postcode? (https://www.excelbanter.com/excel-worksheet-functions/182871-how-do-i-format-cells-show-part-postcode.html)

Lisab

How do I format cells to show part of a postcode?
 
I'd like to format data to show only part of the cells contents

For Example

CM12 5DJ becomes CM12

Thank you

Castell

How do I format cells to show part of a postcode?
 
Try this:
=LEFT(A1,FIND(" ",A1)-1)


"LisaB" wrote in message
...
I'd like to format data to show only part of the cells contents

For Example

CM12 5DJ becomes CM12

Thank you




All times are GMT +1. The time now is 07:30 AM.

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