Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Number and Text Filters Examples in Excel
  • Understanding Anova in Excel
  • How To Load Analysis ToolPak in Excel
  • How To Sort One Column or Multiple Columns in Excel
  • Conditional Formatting Color Scales Examples in Excel

References

  • Extract all partial matches in Excel
  • How to get last row in mixed data with blanks in Excel
  • How to use Excel FORMULATEXT function
  • Excel Advanced Lookup using Index and Match Functions
  • How to use Excel MATCH Function

Data Validations

  • Excel Data validation must not contain
  • Excel Data validation date in specific year
  • Excel Data validation allow weekday only
  • Data validation must not exist in list
  • Excel Data validation unique values only

How to Capitalize first letter in a sentence in Excel

by

This tutorial shows how to capitalize first letter in Excel.

In Microsoft office word it is called sentence case, in Excel to capitalize the first letter in a word or string, you can use a formula based on the LEFT, MID, and LEN functions.

Formula

=UPPER(LEFT(A1))&MID(A1,2,LEN(A1))

Explanation

 In the example shown, the formula in C5 is:

=UPPER(LEFT(B5))&MID(B5,2,LEN(B5))

How this formula works

The first expression uses LEFT and UPPER to capitalize the first letter:

=UPPER(LEFT(B5))

No need to enter 1 for num_chars in LEFT, since it will default to 1. The second expression extracts the remaining characters with MID:

MID(B5,2,LEN(B5))

The text comes from B5, the start number is hardcoded as 2, and num_chars is provided by the LEN function. Technically, we only need to extract (length – 1) characters, but MID won’t complain if we ask for more characters, so we’ve left things in the simplest form.

Worked Example:   How to retrieve workbook name only in Excel

Lowercase the rest

If you want to lowercase everything but the first letter, just wrap the second expression in the LOWER function:

=UPPER(LEFT(B5))&LOWER(MID(B5,2,LEN(B5)))

The LOWER function will force all remaining characters to lower case. You can also visit how to Change Case to Uppercase, Lowercase, Propercase in Excel

Worked Example:   How to count total characters in a range in Excel

Post navigation

Previous Post:

Get day from date in Excel

Next Post:

Calculate loan interest in given year in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel FALSE Function
  • SWITCH function example in Excel
  • Complete List of Excel Logical Functions, References and Examples
  • OR function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get days, months, and years between dates in Excel
  • Calculate number of hours between two times in Excel
  • Convert time to time zone in Excel
  • Get days between dates ignoring years in Excel
  • Display the current date and time in Excel

Grouping

  • If cell contains one of many things in Excel
  • Group times into 3 hour buckets in Excel
  • Categorize text with keywords in Excel
  • Group arbitrary text values in Excel
  • Group numbers with VLOOKUP in Excel

General

  • Zoom Worksheet in Excel
  • Find, Select, Replace and Go To Special in Excel
  • Lock Cells in a Worksheet Excel
  • How to fill cell ranges with random number from fixed set of options in Excel
  • Currency vs Accounting Format in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning