0% found this document useful (0 votes)
23 views13 pages

Text Functions and If Questions

The document outlines various text functions and their purposes in spreadsheet applications, including CONCATENATE, LEFT, RIGHT, MID, LEN, FIND, UPPER, LOWER, and PROPER. It provides examples of how to combine these functions to extract and manipulate text data for specific tasks, such as generating codes and formatting information. Additionally, it includes instructions for using logical functions like IF and nested IF to evaluate conditions and display results based on specified criteria.

Uploaded by

viviankoloko
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views13 pages

Text Functions and If Questions

The document outlines various text functions and their purposes in spreadsheet applications, including CONCATENATE, LEFT, RIGHT, MID, LEN, FIND, UPPER, LOWER, and PROPER. It provides examples of how to combine these functions to extract and manipulate text data for specific tasks, such as generating codes and formatting information. Additionally, it includes instructions for using logical functions like IF and nested IF to evaluate conditions and display results based on specified criteria.

Uploaded by

viviankoloko
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

SIRANTWI’S SPREADSHEET COMPILATIONS

Subscribe to CAT Simplified channel.


TEXT FUNCTIONS
FUNCTION PURPOSE
CONCATENATE/CONCACT/
TEXTJOIN/ To combine cells, text, numbers as one value
&(ampersand symbol)
To extract a certain number of characters on the left/from
LEFT
beginning
RIGHT To extract a certain number of characters on the right/end
To find a certain number of characters in the middle of the
MID text/anywhere.
MID function can be used as an alternative to LEFT/RIGHT
LEN Determines the number of characters in the text
FIND/SEARCH Finds a specific text and determines the position of that text.
UPPER Converts all letters in a text string to uppercase
LOWER Converts all letters in a text string to lowercase

Capitalizes the first letter of each word in a text string


PROPER

Combination of Text Functions


Extract part of a compound text string from the LEFT, up to a specific
character (delimiters like the first space, comma, or dash/slash).
YOU NEED LEFT AND FIND/SEARCH functions combined
=LEFT(A1,FIND(“-“,A1)-1)- BETTER USING BUILDING BLOCKS

Extract part of a compound text string from the LEFT, up to a specific


character (delimiters like the first space, comma, or dash/slash).
YOU NEED:
LEFT AND FIND/SEARCH functions combined
=LEFT(A1,FIND(“-“,A1)-1)- BETTER USING BUILDING BLOCKS
Extract part of a compound text string from the END/RIGHT, up to a
specific character (delimiters like the first space, comma, or
dash/slash).
YOU NEED:
LEFT, LEN and FIND/SEARCH/ functions combined
=RIGHT(A1, LEN(A1)-FIND(“-“,A1))- BETTER USING BUILDING BLOCKS
Data file Question
1Activity 5
Insert a function in cell D6 to determine the Race ID (column D)
of the runners.
The code is a combination of the following:

• the last two letters of the surname (column B)


• the initial (first letter of the name) (column C)
• the number of the runner in column A.
3Stat Open the 3Stat spreadsheet that contains the number of local and 5
international visitors.
NOTE: Select 'OK' for the warning message that appears
when you open the spreadsheet.

Work in the Visit_Besoek worksheet.

A code is needed for each city. Create a code for the city of
Ananindeua in cell G4 by combining the following:

• The last three letters of the name of the city (column A)


• The number of characters in the name of the state (column
B)
• A random integer between 100 and 200 (inclusive)
3Course Open the 3Course spreadsheet that contains information about 5
the different circus courses students can take in 2024.

Work in the Members worksheet.

Each student must have a personalised entry code.


Insert a combination of functions in cell E10 to create the entry
code as follows:

• The first THREE letters of a student's name; followed by


• A random 3-digit number; followed by
• #circus
NOTE: The entry code should appear in lowercase. Example:
pau852#circus
3Marathon Open the 3Marathon spreadsheet which contains details about 6
the top 50 qualifying athletes for the 2023 Oceans Meet Marathon.
Work in the Participants worksheet.
Each of the 50 athletes will receive a special entry number.
Generate an entry number in cell B20 for the athlete, Kuda, as
follows:
• A number between 1 and 50; followed by
• The first two letters of the athlete's name; followed by
• The registration number of the athlete
4BeeCol Open the 4BeeCol spreadsheet that contains information
about bee colonies by continent and exports per country.
Study the data before doing the following:
Work in the Exports worksheet that contains the honey exports
from South Africa to other countries.
Complete the country code for Mozambique (cell F11) by adding
09 and the last two letters of the country in column A.
4GameSpeel A spreadsheet 4GameSpeel containing the score and (4)
subscription of online gamers has been created by the chairman
of the online gaming club. He asks your help to complete it.
Open the spreadsheet to complete the following
Column G contains a code for each gamer that is compiled as
follows:
• Initials (column B) and surname (column C) of the gamer
• The province (column F)
• The gender of the gamer in small letters (column H)
• The first letter of game colour (column I.)
Only the year of birth (column D).
Tami Aileen’s code in cell G7 is incomplete.
Carefully examine the function that has been in inserted in the
cell and then adjust and add to it to complete his code according
to the requirements above.
3_Survey Column F contains all email address for learners that participated
in the survey. These email addresses are made up of the
following:
• Surname as in column C
• A full stop, followed by
• First letter of the name of the learner in lower case,
followed by
• @school.za
Use a function in cell F5to display the correct email address for
the learner Emery Schwartz

Open the 4Excursions spreadsheet which contains the details of 5


4Excursions a school holiday programme where school groups visited the zoo
in December 2023.
1.1 Insert a combination of functions in cell D7 to display the
contact numbers in the following format:
Contact number Format
0871522635 +27 871522635
0729237425 +27 729237425
NOTE: There are two spaces between the country code (+27)
and the number.
4Activity Open the 4Activity spreadsheet and work in the Results (6)
worksheet.
Insert a function in column A to create a code for each athlete
using the following:
• The letters of the province/nationality (column C), followed
by
• any random value between 1–999, followed by
• the current year, and
• separated by a "/" character.
Examples: ETA/50/2022; KZN/845/2022; CGT/3/2022
7Sales Open the 7Sales Commission spreadsheet. (8)
Commission
Work in the Sheet 1 worksheet.
A code is entered for each car consisting of:
• The first 4 letters of the Car Make.
• Then by a dash (-), and
• Followed by the last 2 digits of the Car Year.
Insert a function in cell K9 to display the code for the car in row 9
sold by Mia Acosta; e.g., Chev-22.
3Tickets Open the 3Tickets spreadsheet that contains information for pre- (5)
bookings of tickets to some of South Africa's matches in the
Rugby World Cup.
Work in Sheet1 worksheet
Insert a combination of functions in cell A10 to create a
reference number for Malatji as follows:
• A random three-digit number;
• The first 2 letters of the surname; and
• The number of tickets.

3Stats1 A code is needed for each fatal accident that was recorded in the
worksheet. Create a code for the first accident in cell A7 by
combining the following:
• The first letter of the month (column E)
• A random integer between 2000 and 3000 (inclusive)
2General General information regarding the tournament is given in the (4)
2General spreadsheet.
Work in the A-B worksheet.
Insert a combination of text functions in cell B4 to display the
unique Member number. It will be calculated as follows:

• First 3 letters of first name


• Last letter of the occupation
• Numbers 4 to 6 of the phone number
• Random 3-digit numbers

3Travel Open the 3Travel spreadsheet, about the arrival and departures
of tourists to and from South Africa between January 2021 and
January 2022.
Work in the Tourist worksheet:

The country code (column E) consists of the first three letters of


the Country of Residence and the last two letters of the
Continent.
The first three letters have already been extracted in the building
blocks area in column H and it has been connected to column E
where the answer should appear.
Do the following to complete the country code:
• Use a text function in column G to extract the last two letters of the
Continent (column B).
• Fill down column G to complete the Country Code in column E.
• Add a text function to the function in E4 to display the code for
Algeria in capital letters.

HINT: The code for Australia, for example, will be displayed as:
IAAUS.
3Platform Each user has a unique code to access the platform for movies.
Insert a function in cell A11 to determine the code based on:
• the first two letters of a user (column B), followed by
• the '@' symbol, followed by
• the platform (column C) that the user prefers.

Ensure that the code appears in lowercase letters


Q4_Springboks. 2.1 All players at world cup must be registered. A registration code is (4)
generated from the

• first three characters of the first name,


• year of birth and it must reflect the country.
There was an attempt to generate a registration code for Bongi
Mbonambi in cell G3, however the code is wrong.
Correct the function(s) so that the code resembles the code like all
other players in column G.

3. Open the 4Bookings spreadsheet which contains data about


travellers to various islands.

Work in the Travellers worksheet. (5)


3.1 The name and surname of a traveller is stored in column A.
Insert a combination of text functions in column B to extract the
traveller's surname from column A.
4Bookings NOTE: You may assume that a traveller only has ONE first
name.
3.2 The name and surname of a traveller is stored in column A.
Insert a combination of text functions in column C to extract the
traveller's name from column A.
NOTE: You may assume that a traveller only has ONE first
name.
4Sales 4. Open the 4Sales spreadsheet which contains information on (4)
cars bought in September 2023 at Sam's Dealership.
NOTE: A dialogue box will display when opening the file. Click on
OK.
Work in the Sales worksheet.
4.1 Modify the function in cell A11 to only display the initial(s) of
the customer (column B).
4Trails Open the 4Trails spreadsheet and work in the Trail worksheet. (7)
The identification code for a route is determined by extracting
the first character of each of the two words of the name of the
route (column B), e.g. BA for the Bright Angel route
The function to extract the left character of the identification code
has been inserted in cell A5.
Modify the function in cell A5 to display the identification code.

3Stats Open the 3Stats spreadsheet and work in the info worksheet.
An identification code for each of the volunteers has been
generated in Column A.
The code is formed by taking the second and third letters of the
surname and combining this with the age (column E) of the
volunteer.
For example: Liena MARX, age 19, will have an identification
code of AR19.
Similarly, Linda MSIMEKI, age 20, will have an identification code
of SI20.
Use suitable functions to create an identification code in cell A3
for Mpho Podile.
3Hikings Open the 3Hiking spreadsheet, which contains data about 6
China Hiking Tours.

Work in the Tours worksheet.


Each hiking tour must have a Twitter tag.

Create a Twitter tag in cell I3 for the Beijing Knot hiking


tour by combiningthe following:

• The # character
• Followed by the first word of the tour name in column A
Followed only by the year of the starting date in column B
2Tours Each guest is given a username to access wifi at the hotel. (8)
In cell K6, insert a function or formula to determine the first four
characters of the username as by using the following:
• The date of birth (column C)
• And the Lookup table in the Months worksheet
The first four characters of the username are made up of :
• The last two digits of the year of birth followed by
• The month of birth as a two-digit number.
The cell should work correctly if it is copied down to the rest of
the cells.
4Income The Region and Division of an employer are stored in column D. (8)

Insert a combination of text functions in column C to extract the


Employee's region from column D.

4Visitors Open the 4Visitors spreadsheet which contains data about


visitors to the pyramids.
Work in the Pyr_Pir worksheet.
Use a combination of text functions in cell D3 to extract ONLY the
text after the '@' sign from the e-mail address in column C.
Example: If the e-mail address is zulul@in.com, then ONLY in.com must
display.

Simple IF/IFS/ NESTED IF/Combination of Logical Functions/Lookup/SWITCH


A nested IF function is used, when you need to consider TWO or more conditions to
display various outputs for the condition, if it is true.
LOGICAL TEST RESULT/MESSAGE
Reference
TEST Operator Compare
(Cell (What should display?)
vs ?
reference)
st
IF 1 test TRUE: D3 > 30 "Well"
st nd
IF 1 test FALSE, 2 test TRUE: D3 > 25 "Moderate"
IF 1st & 2nd Test FALSE: "Poor"
4Activity Open the 4Activity spreadsheet and work in the (5)
Results worksheet.
Athletes are rewarded for their participation as
follows:
Medal Amount
Platinum R10 000.00
Gold R8000.00
Silver R5000.00
Bronze R3000.00
No Medal -
Insert a suitable function in cell J10 to display the
amount that Beck Cantu will be rewarded with.
4Transport Open the 4Transport spreadsheet and work in (5)
the Modes worksheet.

Insert a nested IF function in cells N10:N13 to


classify the respective age groups according to
their willingness to pay higher prices for car
sharing (column G) based on the following:
• Less than 60% classified as “Reluctant”.
• Between 60% and 70% classified as “Cautious”.
• 70% and higher classified as “Willing”.

4Authors Open the 4Authors spreadsheet that contains (5)


information about various authors and books they
have written.
Work in the Sheet1 worksheet.
The books that are not recommended will go on
discount for 5%.
Use an IF function in column J to calculate the
new price for the books that are not
recommended, otherwise the original price must
display.
4Income Insert a function in cell G5 to display the word (6)
'Qualify’ only if the income for an employee is
more than R20 000 (Column E) AND is more
than 60 years (Column F), otherwise, the cell
should be left blank.
4GameSpeel Discount on subscriptions is calculated according (4)
to the age of the gamer.
• Gamers older than 50 years get a discount
of 10%
• Gamers between 25 and 50 get a discount
of 5%
• No discount is given to gamers younger
than 25.
The subscription amount is found in N1.
An attempt has been made to calculate the
discount in cell N3 for the first gamer, but the
function does not display the correct answer.
Change the function to a nested IF statement to
make provision for all three conditions above.
An empty cell must be displayed if a gamer is
younger than 25, but the discounted amount
must be displayed for gamers 25 and older.
Fill the function down to the remaining cells in the
column.
3_Survey Work in the summary worksheet (4)
The learners were asked to list the social media
they frequently use. Those who listed WhatsApp
first and Facebook second are old users and the
others are new users.
Use a function in cell K5 to determine what type
of a user Emery Schwartz is.
2General Work in Sheet 1
A member who has the Emerald or Emerald
Value Option and belongs to the fund for a year
or longer, qualifies for 'Gap cover'.
Use a nested if function in cell J4 together with other
functions and formulae, to show the word 'Qualify' if
the member qualifies. Leave the cell empty if the
member does not qualify.
3Platform Work in platform worksheet
Insert a nested IF-function in cell D11 to display
the subscription fee for the platforms (column C)
as follows:
• R900 for users who use 'Showmax' or 'DSTV'
• R99 for users who use 'Netflix'
• R35 (cell L1) for users who use 'BoxOffice'
• All other platforms should display an empty cell.
Ensure that the function will work correctly when
copied to the other cells.
4BestMovies Open the 4BestMovies spreadsheet, which
contains the data of the best superhero movies.
Work in the Powers worksheet.

Use an If function in cell P4 to determine which


superhero is the best superhero based on the
amount of superpowers he has.
If the amount of powers of the superhero is equal
to the maximum amount of powers for each
superhero, then he is the best and the words
'Best Superhero' must display in the cell,
otherwise no value must be displayed in the cell.

3Tourists Open the 3Tourists spreadsheet which contains


data about the number of tourists to Egypt.
Work in the Data worksheet.
The totals in column H should calculate the total
number of tourists per month from 2015 to 2019;
however, this does not happen as expected for
all the months.

Insert a formula in cell I8 to display the text


'Correct' if the total in column H corresponds
with the total number of tourists from 2015 to
2019, or else the text 'Error' must display.
Copy the formula down to the other cells.
3projects Open 3projects and work in sheet 1
The project coordinator will send notifications to
prospective participants for projects that will start
within the next 60 days (column E), inclusive of
the current date.
Use a nested IF function/formula in cell K6
to display the following messages:

• 'Notify' if a project will start within 60 days


from the current date, OR
• '*' if the project starts after 60 days from
the current date, OR
• 'Complete' if the project has been
completed.
Apply the function/formula to the rest of column
K.
4Trails Work in Trails worksheet
Columns I to M show which amenities, e.g.
drinking water, toilets, emergencyphone,
ranger station and camping site are available.
Use a combination of IF functions (formulae)
in cell Q3 to determine if the route(column B)
is Bright Angel AND has a 'Yes' for all the
amenities, or not.
Display the word 'True' if all the amenities are
available and 'False' if it is not.
4Sales Open the 4Sales spreadsheet which contains 4
information on cars bought in September 2023 at
Sam's Dealership. NOTE: A dialogue box will
display when opening the file. Click on OK.

Work in the Sales worksheet.


The total cost for a car is calculated by adding
the price and the interest. However, if a buyer
wants extra accessories (column G), an
additional 5% is added to the total cost. Insert a
formula/function in cell H10 to calculate the final
total cost for Basson.

3Tourists2
Open the 3Tourists2 spreadsheet which contains
data about the total spending by South African
tourists during trips to eThekwini and its
surrounding areas in 2020 and 2021.

Work in the Data worksheet.


The monthly total in column G is calculated by
adding the amounts in each column (columns B to
F). If a cell in one of the columns is empty, the cell
in column G must also be empty.
Insert a combination of functions in cell G5 to
display the total spending for the month (January)
and which will leave the cell empty if any data is
missing in that row.

Copy the function down to cells G6:G16.


Game drives are classified as follows: 4

Part of day Time of day


Morning Start before 12:00
Afternoon Start from 12:00 and end before
17:30
Night Start from 17:30

Insert a nested IF function in cell D7 to classify the


game drive time using the time in cell E7 and the
time of day in cells J1:O3.
7BigFive Open the 7BigFive spreadsheet.

The KZN Travel Agency is running a competition


to promote awareness of the
Big Five animals.
As tourists see the animals within the week, it is
recorded in cells B2:H7. Each animal seen can be
recorded only ONCE during the week.
Determine whether a tourist has seen all the Big
Five animals (B10:B15) at the
end of the week, by using the following steps:
• The data in cells I2:O7 will indicate whether
each animal seen, is part of the Big Five or not.
• Use an OR function (NOT an IF statement) in
cell M2 to determine whether the animal in cell
F2 is a Big Five animal or not. Copy the
function down to the other cells.
Use a formula in cell P3 to determine whether
Bonakele saw all the Big Five animals.
4Accommodation Open the 4Accommodation spreadsheet that
contains information about the price and grading
of accommodation in Cape Town
Distance from the airport to a place of
accommodation is displayed as follows:
• The six shortest distances: Short
• Distances between the six shortest
distances and 100 km: Medium
• Distances greater than 100 km: Long
Insert a nested IF function in cell F10 to display
the distance for the Boutique Hotel and Guest
House.
4Accommodation Use an AND function in cell G10 to return 'TRUE'
if the price per room is less than R1 000 and the
place has a pool.
7discount Open the 7Discount spreadsheet.

Work in the Code worksheet.


The travel company has decided to give some of
their travellers a pensioner's discount if their year
of birth is before 1960 (column B). The travel style
(column C) will determine the discount code that a
pensioner will receive.

Use a nested IF function or a formula in cell D2 to


display the following values:
• 5 if the traveller is a pensioner and has a
mid-range travel style OR
• 4 if the traveller is a pensioner and has a
luxury travel style OR
0 for all other travellers
7Reorder
Open the 7Reorder spreadsheet.

Work in Order worksheet.


Use an IF function in cell C5 to display the
quantity of the stock item that must be reordered,
e.g. 74 764 Drips.

NOTE:
• The reorder quantity is the number of items that
must be ordered if the number of items in stock
(Stock worksheet) is less than the minimum of
items required.
Display the result of the function with the quantity
required, followed by a space, followed by the
name of the item.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy