Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to use Excel ROWS Function
  • How to retrieve first match between two ranges in Excel
  • How to get last column number in range in Excel
  • Perform case-sensitive Lookup in Excel
  • Basic INDEX MATCH approximate in Excel

Data Analysis Examples

  • Conditional Formatting New Rule with Formulas in Excel
  • Filter Data Based on Date in Excel
  • Understanding Anova in Excel
  • How to create dynamic reference table name in Excel
  • How To Compare Two Lists in Excel

Data Validation Examples

  • How To Create Drop-down List in Excel
  • Excel Data validation date in next 30 days
  • Excel Data validation allow uppercase only
  • Excel Data validation must not contain
  • Excel Data validation allow weekday 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:   UPPER function: Description, Usage, Syntax, Examples and Explanation

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:   Convert feet and inches to inches in Excel

Post navigation

Previous Post:

Add line break based on OS in Excel

Next Post:

How to check if cell contains all of many things 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
  • Remove text by position in a cell in Excel
  • REPLACE, REPLACEB functions: Description, Usage, Syntax, Examples and Explanation
  • How to get first word in Excel
  • How to extract substring in Excel
  • SUBSTITUTE function vs REPLACE function in Excel
  • Convert date to month and year in Excel
  • How to calculate next day of week in Excel
  • How to get Holiday Date from Year in Excel
  • Add days exclude certain days of week in Excel
  • Convert text to date in Excel
  • ODDFPRICE function: Description, Usage, Syntax, Examples and Explanation
  • ACCRINTM function: Description, Usage, Syntax, Examples and Explanation
  • MIRR function: Description, Usage, Syntax, Examples and Explanation
  • DURATION function: Description, Usage, Syntax, Examples and Explanation
  • Calculate interest rate for loan in Excel
© 2022 xlsoffice . All Right Reserved. | Teal Smiles