Text task
Text task
Topics:
1 Text Formulas: Ampersand to Join Items together
2 Text Functions to extract partial text items from a larger text item.
3 Extract State with LEFT function
4 Extract Zip Code with RIGHT function
5 Extract First Name with LEFT and SEARCH functions
6 Extract Last Name with RIGHT, LEN and SEARCH functions
7 Extract Product with LEFT and SEARCH functions
8 Extract Region with MID and 3 SEARCH functions
Extract Money Amount from end of description Field with RIGHT, LEN and SEARCH functions, and
9 a MATH operation to Convert Text Number Back to a Number
10 TRIM function to remove extra spaces.
11 Create Serial Number Date from ISO Date using DATE, LEFT, MID and RIGHT functions.
Create Serial Number Date from ISO Date using TEXT function, Custom Number Format and Math
12 Operation to Convert Text Number back to a Number.
13 TEXT function and Custom Number Formatting to create labels
14 Text Formulas: TEXTJOIN Excel 2016 Function
Symbol Usage Typed digits
Digit placeholder that displays significant digits only;
# example ####.# 12.77
5
Digit placeholder that displays significant and
0 insignificant zeroes; example: 0.00 0.35
23
0 Zeros before digit like 00345; example: 00000 345
0 display many digits 0.000000000000000 .125489632586635
5.132
? Scoots the decimal over; example: 0.00???? 27.3
5.132
Rules for formatting a % (times 100 and add symbol);
% example 0.00% .3
-10
Indicates the location where text should be inserted
in cells formatted with custom format; if the @ is
not included in the code, the text will not be
@ displayed; example: _($@_) none
Use formatting to hide words; example: 0.00;-
@ 0.00;"--"; none
12.8
0.35
23.00
00345
0.125489632586635
27.30
5.132
27.30
5.132
30.00%
1,000,000
$ 548.00
$^^^^^^^^^^^548.01
$ 256.36
$ (256.36)
23.00 Rad
surplus
deficit
$none
^rad
rad
Sunday
Dec.
06
31
2006
08:00:00 AM
48:00
65q
Date: m = month, d = day, y = year 11/7/2013
11/7/2013
11/7/2013
Time: h = hour, m = minute, s = second 9:57 AM
No AM/PM to show military time 9:57 AM
Time Greater than 24 hours: use square brackets 9:57 AM
Digit placeholder that displays significant digits only: # 1.35
Digit placeholder that displays significant and insignificant zeroes: 0 1.35
1.35
Use commas with # to have thousand separators 1000000
Use extra comma at end to remove three zeros 1000000
1000000
"M" for million 1000000
K for thousands 1000000
Percenatges: % 0.3575
0.3575
Fractions: ?/? 0.866666666666667
0.866666666666667
Insert Words, use double quotes: " unit price" 15.67
Insert a single character, use back slash 15.67
Four sections separated by three semi-colons: POS;ZERO;NEG;TEXT 0
Hide words 2
Nothing: ;;; 5
If you specify only two formats, the first is used for positive and zero
If you specify only one formats, it is used for all numbers
m/d/yyyy
dddd
dddd, mmm, d, yyy
h:mm AM/PM
hh:mm
[h]:mm
#.##
0.00
0.0
#,###.00
#,###,
#,###,,
#,###,," M"
0.00%
0.0%
??/??
?/?
$0.00" unit price"
$0.00\u
$0.00;-$0.00;" - "
$0.00;-$0.00;" - ";
;;;
Date: m = month, d = day, y = year 11/7/2013
Thursday
Thursday, Nov, 7, 2013
Time: h = hour, m = minute, s = second 9:57 AM
No AM/PM to show military time 15:00
Time Greater than 24 hours: use square brackets 36:00
Digit placeholder that displays significant digits only: # 1.4
Digit placeholder that displays significant and insignificant zeroes: 0 1.40
1.4
Use commas with # to have thousand separators 1,000,000,000.00
Use extra comma at end to remove three zeros 1,000
1
"M" for million 1,000 M
K for thousands 1,000K
Percenatges: % 35.75%
35.8%
Fractions: ?/? 13/15
7/8
Insert Words, use double quotes: " unit price" $15.67 unit price
Insert a single character, use back slash $15.67u
Four sections separated by three semi-colons: POS;ZERO;NEG;TEXT -$56.00
Hide words 0
Nothing: ;;;
If you specify only two formats, the first is used for positive and zero
If you specify only one formats, it is used for all numbers
m/d/yyyy
dddd
dddd, mmm, d, yyy
h:mm AM/PM
hh:mm
[h]:mm
#.##
0.00
0.0
#,###.00
#,###,
#,###,,
#,###,," M"
1000K
0.00%
0.0%
??/?? 0.866667
?/? 0.875
$0.00" unit price"
$0.00\u
$0.00;-$0.00[Red];" - "
$0.00;[Red]-$0.00;0;
;;;
Text Formulas:
1) We can use the Ampersand to Join Items together. Text always goes in "Double Quotes".
2) Often times we need to extract partial text items from a larger text item.
Example: Wee need "Carlota" from "Carlota / West: 658"
Text Functions:
LEFT extracts a given number of characters from the left
RIGHT extracts a given number of characters from the right
SEARCH tells you the starting position in a text string of text you specify. FIND is similar to SEARCH, but it is case
REPLACE function replaces part of a text string with text you specify, given a starting number and the number o
LEN function counts characters
MID extracts from the midele giben a starting point and the number of charactesr that you want
**Any Math Operation on Text Numbers will convert them back to numbers. It will also remove extra spaces.
TRIM removes spaces from a text string except for single spaces between words
2) Often times we need to extract partial text items from a larger text item.
Example: Wee need "Carlota" from "Carlota / West: 658"
Text Functions:
LEFT extracts a given number of characters from the left
RIGHT extracts a given number of characters from the right
SEARCH tells you the starting position in a text string of text you specify. FIND is similar to SEARCH, but it is case
REPLACE function replaces part of a text string with text you specify, given a starting number and the number o
LEN function counts characters
MID extracts from the midele giben a starting point and the number of charactesr that you want
**Any Math Operation on Text Numbers will convert them back to numbers. It will also remove extra spaces.
TRIM removes spaces from a text string except for single spaces between words
TEXT function with custom number format and & (ampersand) to make label:
Number Label
2:00 PM
12/15/2010
25.55%
TEXT function converts a number to text with a Custom Number Format that you specify. TEXT(number, "Custom Number For
that you specify. TEXT(number, "Custom Number Format in quotes")
3) Text Formulas to create labels that include Formatted Numbers:
TEXT function with custom number format and & (ampersand) to make label:
Number Label
2:00 PM Your Appointment is at 2:00 PM
12/3/2010 The due date is 12/03/2010
5.55% The rate is 5.55%
TEXT function converts a number to text with a Custom Number Format that you specify. TEXT(number, "Custom Number For
="Your Appointment is at "&TEXT(A5,"h:mm AM/PM")
="The due date is "&TEXT(A6,"mm/dd/yyyy")
="The rate is "&TEXT(A7,"0.00%")
TEXTJOIN (Excel 2016 Office 365 or later, may require special version with latest updates)
E-mails TEXTJOIN
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected] First Last
[email protected] Jane Mceachern
[email protected] Thanh Hatten
[email protected] Stephani Barris
[email protected] Tamera Lauritsen
[email protected] Fredric Mccrystal
[email protected] Yajaira Pointer
[email protected] Han Winchenbach
[email protected] Machelle Boyett
[email protected] Charlyn Oakman
[email protected] Tena Fickes
[email protected] Stephnie Rothstein
[email protected] Emeline Carballo
[email protected] Catharine Machnik
[email protected] Arielle Harker
Xuan Bellman
Ana Scranton
Lynelle Lymon
Mandie Sibrian
Sunshine Anson
Elinor Tinney
Joining Items)
TEXTJOIN
TEXTJOIN (Excel 2016 Office 365 or later, may require special version with latest updates)
E-mails TEXTJOIN
[email protected] [email protected];[email protected];[email protected];[email protected];
[email protected]
[email protected]
[email protected]
[email protected]
[email protected] First Last
[email protected] Jane Mceachern
[email protected] Thanh Hatten
[email protected] Stephani Barris
[email protected] Tamera Lauritsen
[email protected] Fredric Mccrystal
[email protected] Yajaira Pointer
[email protected] Han Winchenbach
[email protected] Machelle Boyett
[email protected] Charlyn Oakman
[email protected] Tena Fickes
[email protected] Stephnie Rothstein
[email protected] Emeline Carballo
[email protected] Catharine Machnik
[email protected] Arielle Harker
Xuan Bellman
Ana Scranton
Lynelle Lymon
Mandie Sibrian
Sunshine Anson
Elinor Tinney
Joining Items)
TEXTJOIN
Sioux Radcoolinator
Gigi T. Fran
Tyrone Chip Smith
Chin Pham
Dennis Big D Ho
[email protected];[email protected];[email protected];[email protected];[email protected];[email protected];TameraM@
Download Names Extract first name & capitalize only first letter
NEIL LIEBER
MAT PRISCO
ALTHEA BERTIN
KELLY GAMBLIN
CHANDRA VALENZULA
CODY CASTILLON
TYRONE BRAZIER
ALTHEA BUHL
DOLLIE MUNSEY
ALLYSON PHOU
Download Names Extract last name & capitalize only first letter
NEIL LIEBER
MAT PRISCO
ALTHEA BERTIN
KELLY GAMBLIN
CHANDRA VALENZULA
CODY CASTILLON
TYRONE BRAZIER
ALTHEA BUHL
DOLLIE MUNSEY
ALLYSON PHOU
Download Names Extract first name & capitalize only first letter
NEIL LIEBER Neil
MAT PRISCO Mat
ALTHEA BERTIN Althea
KELLY GAMBLIN Kelly
CHANDRA VALENZULA Chandra
CODY CASTILLON Cody
TYRONE BRAZIER Tyrone
ALTHEA BUHL Althea
DOLLIE MUNSEY Dollie
ALLYSON PHOU Allyson
Download Names Extract last name & capitalize only first letter
NEIL LIEBER Lieber
MAT PRISCO Prisco
ALTHEA BERTIN Bertin
KELLY GAMBLIN Gamblin
CHANDRA VALENZULA Valenzula
CODY CASTILLON Castillon
TYRONE BRAZIER Brazier
ALTHEA BUHL Buhl
DOLLIE MUNSEY Munsey
ALLYSON PHOU Phou