Excel Formulas and Data Analysis Course:Text and date functions
不限时专题测验:关于Text and date functions的17道题,每道题作答后都有解释。每次题目和选项都会重新打乱。
专题测验4:Text and date functions
-
第1题,共17题
显示答案
答案: B. CGY
LEFT returns characters from the start of the text. The first 3 characters of CGY-0412 are CGY.
-
第2题,共17题
显示答案
答案: B. 0087
RIGHT returns the last 4 characters as text, so the leading zeros stay: 0087.
-
第3题,共17题
显示答案
答案: A. 11
MID starts at character 5 and takes 2 characters. In RED-1150, characters 5 and 6 are 1 and 1.
-
第4题,共17题
显示答案
答案: C. 7
LEN counts every character, and spaces count. "Jo Tran" has 6 letters and 1 space.
-
第5题,共17题
显示答案
答案: A. Leo Martin
TRIM removes spaces at the start and end and leaves single spaces between words.
-
第6题,共17题
显示答案
答案: C. J, L and R
PROPER capitalizes the first letter and any letter after a non-letter (such as a hyphen or space), and makes all other letters lowercase, so the result is Jean-Luc Roy.
-
第7题,共17题
显示答案
答案: C. PriyaNair
CONCAT joins the text exactly as given and does not add a delimiter. Add " " between the parts, or use TEXTJOIN, to get a space.
-
第8题,共17题
显示答案
答案: B. Calgary, Red Deer, Lethbridge
TEXTJOIN puts the delimiter ", " between items. With ignore_empty set to TRUE, the empty cell is skipped.
-
第9题,共17题
显示答案
答案: A. 7
SEARCH is not case sensitive, so "lock" matches "Lock", which starts at the 7th character (the space is character 6).
-
第10题,共17题
显示答案
答案: D. FIND
SEARCH ignores case. Microsoft says to use FIND when you need a case-sensitive search.
-
第11题,共17题
显示答案
答案: C. Use TEXT(B2,"yyyy-mm-dd") in the formula
When numbers are joined to text, Excel drops their number format. TEXT turns the date into text in the format you choose.
-
第12题,共17题
显示答案
答案: C. As a serial number
Excel stores dates as serial numbers so it can calculate with them. January 1, 1900 is serial number 1.
-
第13题,共17题
显示答案
答案: A. 2027-02-01
A month over 12 rolls into the next year. Month 14 of 2026 is February 2027.
-
第14题,共17题
显示答案
答案: B. 2
With no return_type, WEEKDAY numbers the days 1 (Sunday) to 7 (Saturday), so Monday is 2. Use return_type 2 to make Monday 1.
-
第15题,共17题
显示答案
答案: B. 9
March 2 to 13 has 10 weekdays, counting both the start and end dates. The holiday on Monday, March 9 is removed, leaving 9.
-
第16题,共17题
显示答案
答案: B. 2026-02-28
EOMONTH returns the last day of the month, 0 months away. 2026 is not a leap year, so February ends on the 28th.
-
第17题,共17题
显示答案
答案: D. 6
The "Y" unit counts complete years. From June 15, 2019 to March 2, 2026 is 6 full years; the 7th year is not complete until June 15, 2026.
键盘:按1–4作答,按 Enter 进入下一题。