Skip to content
PremiumIntermediate

Text and Dates

Tidy, split and build text from exports, and work out due dates, working days, service and hours from dates and times.

15 lessons · 61 exercises · 1 h 42 min

Start the course

Next: Take part of a text with LEFT, RIGHT and MID

About this course

Exports from a CRM or an online store rarely arrive the way you need them. The first chapter takes codes and names apart with LEFT, RIGHT, MID and FIND, tidies spaces and capitals, joins columns into address lines and email addresses, swaps characters with SUBSTITUTE and REPLACE, and turns numbers into text and back. TEXTBEFORE and TEXTAFTER show the newer way, next to the classic formulas for older versions of Excel.

The second chapter works with dates and times: due dates and deadlines, real dates rebuilt from exports, whole months and month-ends, working days without weekends or closed days, complete years of service, and hours worked, night shifts included. A case study then cleans up one customer export from start to finish. Every lesson ends with exercises you solve in the sheet, checked straight away.

Lessons

1. Text functions

  1. Not started

    Take part of a text with LEFT, RIGHT and MID

    Pull fixed parts out of codes, such as a country prefix, a color code or the last four digits of an account.

  2. Premium

    Find a position with FIND, SEARCH and LEN

    Find where a space, a comma or a word sits, so you can split names and check notes whose length changes from row to row.

  3. Not started

    Tidy text with TRIM, CLEAN, UPPER and PROPER

    Remove stray spaces and line breaks and fix the capitals, so names match from one list to the next.

  4. Premium

    Join text with CONCAT and TEXTJOIN

    Build address lines, email addresses and lists from separate cells, with the separators you choose and no gaps for empty cells.

  5. Premium

    Swap text with SUBSTITUTE and REPLACE

    Change characters or words inside text, by what they are with SUBSTITUTE or by where they are with REPLACE.

  6. Premium

    Turn numbers into text and back with TEXT and VALUE

    Show numbers and dates inside text in the format you choose, and turn numbers stored as text back into numbers.

  7. Premium

    Split text with TEXTBEFORE and TEXTAFTER

    Take the text before or after a separator in one step, in Excel 2024 and Microsoft 365, and know what to use in older versions.

2. Dates and times

  1. Not started

    Add and subtract days with dates

    Work out due dates and the days between two dates, knowing that a date is a count of days and a time is part of a day.

  2. Not started

    Build dates with DATE, and use TODAY and NOW

    Turn separate year, month and day columns and date codes into real dates, count days overdue from a statement date, and know when TODAY changes.

  3. Not started

    Take a date apart with YEAR, MONTH, DAY and WEEKDAY

    Pull the month, the day or the weekday out of a date, to group orders by month and quarter, flag weekend work and apply a cut-off day.

  4. Premium

    Move by whole months with EDATE and EOMONTH

    Add whole months for renewals, and find the last or the first day of a month for billing and accruals.

  5. Premium

    Count and add working days with NETWORKDAYS and WORKDAY

    Count the working days between two dates and find the date a number of working days ahead, leaving out weekends and a list of days the office is closed.

  6. Premium

    Count full years and months with DATEDIF

    Work out the complete years and months between two dates, for length of service, ages and awards.

  7. Premium

    Work out hours worked from start and end times

    Turn start and end times into hours and pay, including night shifts that cross midnight and weekly totals over 24 hours.

3. Case study

  1. Premium

    Clean up a customer export

    Turn a messy CRM export into a list ready for a win-back campaign, with tidy names, portal usernames, real dates, a win-back flag and first names for the greeting.

ProExcel seal: =PROEXCEL() with a check, every formula checked

Certificate of completion

Finish all 15 lessons and solve all 61 exercises to earn it, then add it to LinkedIn.