Header Logo
Store My Library Posts Blog
About Contact
Log In
← Back to all posts

Mastering SharePoint List Calculated Column Text Functions: LEFT, RIGHT & MID

by Luigi Iacobellis
Mar 09, 2025
Connect

Hey there,

It’s Lui, and I’m back with another edition of the 🧭Microsoft 365 Compass🧭 Newsletter! In this edition, I’m diving into a super useful feature in SharePoint Lists—calculated columns—and specifically, how you can use text manipulation formulas like LEFT(), RIGHT(), and MID() to extract and format data dynamically.

If you’ve ever needed to clean up text values in a SharePoint List, extract key details from a field, or automate simple text transformations without Power Automate or PowerApps, this one’s for you!


🤔 What is a SharePoint List Calculated Column?

A calculated column in SharePoint Lists allows you to automatically generate values based on other columns using formulas—similar to Excel. You can perform operations on text, dates, and numbers to transform or derive data without manual input.

When working with text values, three of the most useful formulas are:

✔️ LEFT(): Extracts a specified number of characters from the beginning of a text string. This is often referred to as the SharePoint List calculated column LEFT function. ✔️ RIGHT(): Extracts a specified number of characters from the end of a text string. ✔️ MID(): Extracts a specific portion of text from the middle of a string, based on a starting position and length. This is frequently used in SharePoint calculated column substring operations.

Let's look at how to add a calculated column to your list and then let’s look at how these work in real-world scenarios! 🚀


🛠️ How to Add a SharePoint List Calculated Column

To create a calculated column on a SharePoint List, follow these steps:

  1. Click on the "Add column" button in your list.

  2. Click on "See all column types" and then click "Next."

  3. Give your column a name.

  4. Select "Calculated (calculation based on other columns)."

  5. Enter a formula as demonstrated below and click "OK."


✂️ Example 1: Using LEFT() to Extract a Department Code

Say you have an Employee ID column where the first three characters represent the department code, like this:

You can create a calculated column with this formula:

=LEFT([Employee ID],3)

This formula takes the first 3 characters from the Employee ID. This is an example of how to use the LEFT function in a SharePoint calculated column to extract relevant text values.


🔍 Example 2: Using RIGHT() to Extract Last Four Digits of an Order Number

Let’s say you have an Order Number column where the last four digits represent a unique identifier. You want to create a new column that only shows those last four digits.

Here’s the calculated column formula:

=RIGHT([Order Number],4)

This formula extracts the last 4 characters from the Order Number.


🎯 Example 3: Using MID() to Extract a Project Code from a Naming Convention

Imagine you have a Project Name column with a standard naming convention as outlined in the image below. 

If the project code is always between the 7th and 12th character, you can use this formula:

=MID([Project Name],7,6)

This formula starts at the 7th character and extracts the next 6 characters to get the project code. This method is commonly used in SharePoint calculated column MID functions to retrieve substring values.

PS: If you want to learn more about these formulas, be sure to check out this video! 📺


Final Thoughts

Calculated columns can save you tons of time when working with structured data in SharePoint Lists—no Power Automate needed!

I’d love to hear your thoughts:

đź“© Are you using calculated columns in SharePoint Lists? đź“© Have you tried using LEFT(), RIGHT(), or MID() before? đź“© What other formulas would you like me to cover?

Hit reply and let me know! 🚀


Enjoyed This Content?

If you found this content helpful, consider showing your support by Buying Me a Coffee. Your generosity helps cover the costs of the tools and services I use to create valuable content and keep it coming your way. Thank you for your support!


Got Questions or Ideas? Let's Connect!

Are you facing a challenge with a Microsoft 365 app? Have a tutorial idea you'd like to see covered? Or perhaps you're looking for personalized coaching and guidance to make the most of Microsoft 365? If so, just hit the reply button and get in touch—I’d love to hear from you! Your feedback and ideas help shape the content I create, ensuring it’s tailored to your needs. Let's work together to boost your productivity and tech skills!


Looking for a Previous Tip? 🔎

Did you know? You can quickly find all past editions of the 🧭Microsoft 365 Compass🧭 newsletter in one place! Just visit this section on my website — no need to dig through your inbox. Catch up on tips, tricks, and tutorials anytime! 🚀

Responses

Join the conversation
t("newsletters.loading")
Loading...
The Microsoft Copilot Feature That Saves You from Repeating Yourself
First off, I want to wish you a very happy and prosperous New Year! 🎉I’m hoping that 2026 will be filled with many blessings for you and your family. Welcome to the first edition of the 🧭 Microsoft 365 Compass 🧭 newsletter for 2026. In this edition, I want to showcase one of those minor—but surprisingly impactful—Copilot improvements that can make you more productive by reducing friction when w...
Copilot Can Now Automate Personal Work for You — Introducing the Workflows Frontier Agent
In this edition of the 🧭 Microsoft 365 Compass 🧭 newsletter, we’re taking a first look at one of the newest capabilities emerging in Microsoft 365 Copilot — the Workflows Frontier Agent. This agent introduces a new, AI-assisted way to create personal productivity workflows inside Microsoft 365. Instead of starting with triggers, actions, and connectors, you describe what you want to happen in n...
Copilot Can Now Build Apps for You — Introducing App Builder Agent
In this edition of the 🧭Microsoft 365 Compass🧭 newsletter, we’re taking a first look at one of the newest capabilities available in Microsoft 365 Copilot — the App Builder Agent. This feature allows you to create lightweight, interactive applications simply by describing what you need in natural language. It’s designed for rapid prototyping, quick data-gathering tools, and simple workflows — al...

đź§­ Microsoft 365 Compass đź§­

The 🧭 Microsoft 365 Compass 🧭newsletter is your essential guide in the journey of mastering Microsoft 365 apps. Packed with tips, tricks, and tutorials, I help you navigate through the complexities of Microsoft 365 apps. Whether you’re a novice or an expert, the Microsoft 365 Compass newsletter is your trusted resource for maximizing productivity using M365 apps
Footer Logo
Store My Library Posts Blog
© 2026 Kajabi
Powered by Kajabi

Join Our Free Trial

Get started today before this once in a lifetime opportunity expires.