Professional Documents
Culture Documents
CAF Notes
CAF Notes
Attaullah Shah
October 3, 2023
Contents
1 Text Functions 1
1.1 CONCATENATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 INDIRECT() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Double Click Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.4 Fill Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.5 How to create series of alphabets . . . . . . . . . . . . . . . . . . . . . . . 3
1.6 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.6.1 LEFT, RIGHT, LEN . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.6.2 MID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.6.3 Text to Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.7 Convert formulas to Values . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.8 How to Get rid of data after a given characters . . . . . . . . . . . . . . . 3
1.9 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 Split Text 4
2.1 Split on a single character . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Split on a word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1 Text Functions
1. =SEARCH()
2. =FIND()
3. =LEFT()
4. =RIGHT()
5. =MID()
6. =LEN()
7. =CONACT()
8. =UPPER()
9. =LOWER()
10. =PROPER()
1
1.1 CONCATENATE
We can join text from two or three cells in one using the CONCATENATE() function.
Suppose we have text https://dps.psx.com.pk/company/ in cell A1 and OGDC
in B1, to merge them in C1, we shall type:
=CONCATENATE(A1, B1)
1.2 INDIRECT()
The INDIRECT() function converts text to cell reference. For example, if we wish to
get values for cell reference A100, we would type:
=INDIRECT("A100")
• text pattern
• Days
• Months
• Multiples
We need to type at least two values in the pattern, then select and drag those two
values to fill the series.
2
1.5 How to create series of alphabets
It cannot be done directly. However, can create an ASCII series from 65 upt to 90 for
capital letters, and convert them to alphabets using the CHAR() option. So= CHAR(65)
will return the capital letter A, = CHAR(66) will return B, and so on.
1.6 Exercises
1.6.1 LEFT, RIGHT, LEN
Write in cell A1 ”The quick brown fox jumped over the lazy dog” and :
1. Extract all text after the word ’fox’.
1.6.2 MID
Write text in C1 ”Mangoes are very expensive in UK, they cost Rs 2000 per kg”:
1. Extract the digits from the above sentence.
A|B|C|D
2. Also this
A|B|C|D;1|2|3|4;M|J|K|L;100|200|300|400
A |B |C |D
3
Sentence word
The quick brown fox jumped over the lazy dog fox
This man is a legend with Excel. with
You ought to be kidding . ought
Excel is not for kids, you have to be serious. kids
1.9 Exercises
1. Load the PSX data
2. Extract dates by targeting the word ’ENDED’
2 Split Text
2.1 Split on a single character
1. Select the text
2. Data
3. Text to Column
4. Delimited
5. Choose your delimiter