YouTube2Text

Excel for Data Analytics - Full Course for Beginners — Transcript

by Luke Barousse · 127,250 words · 17,114 segments · language en · Watch on YouTube

Full transcript

  1. 0:00dat nerds welcome to this full course
  2. 0:01tutorial on Excel for data analytics
  3. 0:04this is the course I wish I would have
  4. 0:06had when I first started as a data
  5. 0:08analyst you're going to be working right
  6. 0:09alongside me as we Master how to use a
  7. 0:11spreadsheet starting with the basics of
  8. 0:13functions charts and tables working our
  9. 0:15way up to our first portfolio project
  10. 0:17we'll then shift gears into advanced
  11. 0:19features like pivot tables power query
  12. 0:21and power pivot ultimately building our
  13. 0:22second and final project analyzing real
  14. 0:25world data now to master this tool we're
  15. 0:27not going to go straight for 11 hours
  16. 0:29instead we're going to break it down
  17. 0:30into 10 to 20 minute lessons during this
  18. 0:33we'll have exercises for you to learn
  19. 0:35while doing not just watching followed
  20. 0:37by practice problems to reinforce your
  21. 0:39newly learned skills now Excel is the
  22. 0:41most popular spreadsheet tool in the
  23. 0:43world it's estimated to have over 1
  24. 0:45billion users that's one in eight people
  25. 0:48in the world and for data nerds it's one
  26. 0:50of the most popular skills for data
  27. 0:52analysts coming only behind SQL oh and
  28. 0:55the same can be said for business
  29. 0:56analysts in this Tool's popularity truth
  30. 0:58be told Excel was one of the only skills
  31. 1:01that I knew when I landed my first role
  32. 1:03in data analytics but it was able to
  33. 1:06handle everything thrown at me and so
  34. 1:08I've been cataloging over the years all
  35. 1:11of the most important features to
  36. 1:13perform data analytics and I compiled it
  37. 1:15in this course and this video is for
  38. 1:17absolute beginners you don't need any
  39. 1:19analytic or spreadsheet experience we'll
  40. 1:22be starting with the first half on the
  41. 1:23basic chapters which will build up your
  42. 1:25knowledge on the fundamentals with
  43. 1:27covering which versions of excel you can
  44. 1:29use for the course along with installing
  45. 1:31it then we'll get you familiar with
  46. 1:32working around how to manipulate a
  47. 1:34spreadsheet from there we'll shift into
  48. 1:36practical exercises analyzing data using
  49. 1:38formulas and functions and then
  50. 1:40visualizing it using common charts and
  51. 1:41statistical analysis at the end of the
  52. 1:43basics chapters we'll put your skills to
  53. 1:45the test to build an interactive
  54. 1:47dashboard to predict one salary based on
  55. 1:49job and location for the second half of
  56. 1:52the course we're going to ramp up our
  57. 1:53learnings diving into Advanced
  58. 1:54Analytical features focusing on using
  59. 1:56pivot tables and add-ins to dive quickly
  60. 1:59into Data in sites we'll learn power
  61. 2:01query to connect to a variety of data
  62. 2:03sets and perform ETL or extract
  63. 2:05transform and load finally we'll learn
  64. 2:07data modeling with power pivot and
  65. 2:09perform Advanced calculations with the
  66. 2:10Dax Language by the end of the advanced
  67. 2:13chapters we'll have built a full data
  68. 2:15analytics project analyzing the data
  69. 2:17science job market which you'll be able
  70. 2:19to share this and the previous project
  71. 2:21in order to Showcase your experience
  72. 2:23with analyzing data in Excel now I'm a
  73. 2:25big believer in open- sourcing education
  74. 2:28so this course and all the content
  75. 2:30required to complete the course is
  76. 2:31completely free I not only get you set
  77. 2:33up with Excel but I also provide all the
  78. 2:36different Excel workbooks and sheets
  79. 2:38needed to complete this course with this
  80. 2:40you'll get access to the data sets
  81. 2:41needed to make those final projects and
  82. 2:43even how to share them now unfortunately
  83. 2:46the AdSense Revenue alone from this
  84. 2:48course isn't enough in order to support
  85. 2:51all the different costs associated with
  86. 2:53building this so I have an option for
  87. 2:55those that want to support and help out
  88. 2:57for those that purchase my supporter
  89. 2:59resources you're you're going to get
  90. 3:00access to a lot of features that are
  91. 3:02going to help speed up your learning all
  92. 3:03provided through this custom dashboard
  93. 3:05to track your progress you'll get guided
  94. 3:07practice problems to perform after each
  95. 3:08lesson that will not only provide the
  96. 3:10solution but also walk you through how
  97. 3:12to get it if you get stuck along the way
  98. 3:14you'll have access to a community of
  99. 3:16others in order to jump in and comment
  100. 3:18and ask for help additionally you'll be
  101. 3:20getting my step-by-step instructions
  102. 3:22that walk through each of the lessons as
  103. 3:24I perform it and finally when you
  104. 3:25complete the course I'll email you a
  105. 3:27certificate of completion that you can
  106. 3:28upload to LinkedIn now one quick shout
  107. 3:31out before we jump in and that's to
  108. 3:32Kelly Adams she helped me plan out a lot
  109. 3:34of the different lessons for this course
  110. 3:36along with being the brains behind a lot
  111. 3:39of the different practice problems and
  112. 3:41frankly if I didn't have help I probably
  113. 3:42couldn't have completed this course so
  114. 3:44before we go any further with what we
  115. 3:46need to and actually diving into this
  116. 3:48course we need to First understand what
  117. 3:50is Excel and where the heck it came from
  118. 3:54so in order to understand this we need
  119. 3:56to go back oh a little too far back
  120. 4:00ah just right ancient Babylon when we
  121. 4:03used to trade livestock like it was
  122. 4:04crypto now it's during this time that we
  123. 4:06started recordkeeping and we didn't have
  124. 4:09paper so we used Stone and we partition
  125. 4:11it into rows and columns during the time
  126. 4:13of the Romans they began to perfect this
  127. 4:15even further with accounting eventually
  128. 4:17we get some advancements in technology
  129. 4:18we start getting this on paper this is
  130. 4:20when the term spreadsheets gets the
  131. 4:23introduction this maintained that
  132. 4:24familiar row and column format in order
  133. 4:27to catalog different things spread AC
  134. 4:29across different sheets spread sheet
  135. 4:33fast forward to the 1900s and we pack
  136. 4:36rooms full of underpaid people in order
  137. 4:38to maintain and keep track of all the
  138. 4:40different transactions on paper
  139. 4:42spreadsheets with the Advent of
  140. 4:43computers in the late '70s we started to
  141. 4:45see our first spreadsheet softwares vial
  142. 4:48and Lotus 123 then our boy here decided
  143. 4:51to revolutionize the world little
  144. 4:54bit okay not with that but with this I'm
  145. 4:58Bill Gates chairman of my
  146. 5:00Microsoft in this video you're going to
  147. 5:03see the future since its launch in 1985
  148. 5:06it's been wreaking havoc in the
  149. 5:08spreadsheet software Community
  150. 5:09dominating market share and to continue
  151. 5:12to dominate over the years Microsoft has
  152. 5:13added more and more features it
  153. 5:16initially started out to where you'd
  154. 5:17only be using it for the cells of
  155. 5:19entering different formulas and forming
  156. 5:20quick calculations along with getting
  157. 5:22different charts and Analysis shortly
  158. 5:24thereafter it was upgraded with pivot
  159. 5:26tables and that's my secret weapon to
  160. 5:28quickly analyzing data as I no longer
  161. 5:30have to remember which comes first and
  162. 5:32index and match now VBA or Visual Basic
  163. 5:35for applications was included in the
  164. 5:37mid90s and it's a programming language
  165. 5:39in order for you to automate task in
  166. 5:40Microsoft applications now we're not
  167. 5:42going to waste any time in this course
  168. 5:44learning VBA frankly I feel it's
  169. 5:46outdated you should learn python instead
  170. 5:48and there's newer tools that actually
  171. 5:50automate the process of data analysis
  172. 5:53like powerquery this was first
  173. 5:54introduced as 2010 and then rebranded to
  174. 5:57get and transform and then rebranded
  175. 5:59again to power query sort of similar to
  176. 6:02what Google does with renaming products
  177. 6:03anyway this bad boy is like washing down
  178. 6:06a couple caffeine pills with a shot of
  179. 6:08espresso it can ingest and clean so much
  180. 6:10data in the blink of an eye hardcore
  181. 6:12data nerds call this ETL or extract
  182. 6:15transform and load power pivot was also
  183. 6:18introduced during this time of power
  184. 6:20query and it's like putting your
  185. 6:22spreadsheets on steroids this allows us
  186. 6:24to perform data modeling on data sets
  187. 6:27greater than a million rows greater than
  188. 6:29what Excel actually holding the
  189. 6:30spreadsheets and combined with the power
  190. 6:32of Dax or data analysis Expressions we
  191. 6:34can supercharge our calculations fast
  192. 6:37forward to today and there's been two
  193. 6:38other major features added to excel
  194. 6:41co-pilot which is basically chat GPT
  195. 6:43inside of Microsoft Excel and python
  196. 6:46Excel which is basically python inside
  197. 6:48of excel anyway co-pilot is great wait
  198. 6:51that's a lie so I do believe AI chat
  199. 6:53rots are great at helping us out when we
  200. 6:55get stuck but I don't want you rely on
  201. 6:57that to actually learn this technology
  202. 6:59of Excel and for Python and Excel you
  203. 7:01need to know well python if you don't
  204. 7:04know this yet it's completely useless
  205. 7:06now with all these features it can make
  206. 7:08it seem like Excel is overwhelming which
  207. 7:10I completely get that but when you focus
  208. 7:13on the basics and work from there I
  209. 7:15think it makes a lot easier to learn it
  210. 7:17it's also why this course is almost 11
  211. 7:19hours long all right enough with the
  212. 7:21history lesson let's actually get into
  213. 7:22the course material and what you're
  214. 7:24going to need for this also we're going
  215. 7:25to be going over what data set or what
  216. 7:27data we're going to be analyzing for the
  217. 7:29project for this with the link provided
  218. 7:30below you can navigate to this which is
  219. 7:33the GitHub repo that has all the
  220. 7:35different folders and files needed to
  221. 7:37take the course now don't understand if
  222. 7:38you're not familiar with GitHub we're
  223. 7:39going to walk through this this pane
  224. 7:41here basically outlines all the
  225. 7:42different folders that you have access
  226. 7:44to and if I navigate in something like
  227. 7:45resources I can see I have a data sets
  228. 7:47folder images folder and even a problems
  229. 7:49folder so for those that purchase the
  230. 7:51course practice problems you have access
  231. 7:53to the problems inside of here and
  232. 7:55they're broken down by chapter along
  233. 7:56with the lesson in addition to that
  234. 7:58resources folder you can see numbered
  235. 7:59here we have each of those eight
  236. 8:01chapters and if we navigate into
  237. 8:03something like spreadsheets intro we
  238. 8:04have a workbook for each one of the
  239. 8:06lessons so you want to download this
  240. 8:07file you just navigate to it click the
  241. 8:09three dots and click download but have
  242. 8:11an alternate method coming up in a bit
  243. 8:13inside the workbooks I provide a blank
  244. 8:15template for you to go through and
  245. 8:16actually fill in and we'll be getting to
  246. 8:18what's in this final sheet of actually
  247. 8:20being filled in now as we move into the
  248. 8:22advanced chapters they're going to have
  249. 8:24something like the data sheet or you're
  250. 8:25going to use the data from the data
  251. 8:27sheets in order to do different
  252. 8:28operations and we'll put those in
  253. 8:30different sheets as well so how do we
  254. 8:32get these files well the easiest way is
  255. 8:33to come up here to this code and go to
  256. 8:35download zip with the file downloaded
  257. 8:37all you need is to unzip it and then
  258. 8:39from there it has all the different
  259. 8:41folders with the appropriate workbooks
  260. 8:43inside of them now after going through a
  261. 8:44lesson I then have practice problems for
  262. 8:47those that purchase the course perks to
  263. 8:48go through here's the course dashboard
  264. 8:50that you'll get access to that breaks it
  265. 8:52all down for the problems based on the
  266. 8:54chapter itself and then by the lesson
  267. 8:57and inside of each of these lessons is
  268. 8:59multip multiple different problems for
  269. 9:00you go through and work the other perk
  270. 9:02that you'll receive with those practice
  271. 9:03problems are the course notes these
  272. 9:05break down the concepts in a similar
  273. 9:07format of all the different chapters and
  274. 9:09lesson here's the one on Excel install
  275. 9:12which is going to be what we're covering
  276. 9:13next but it provides all the different
  277. 9:15background on all the different material
  278. 9:16that be covering this and it's in the
  279. 9:18same format that I'm covering it in the
  280. 9:21video so you can follow right along just
  281. 9:23as a reminder there's no requirement to
  282. 9:25purchase these practice problems or
  283. 9:26course notes just helps support me
  284. 9:28anyway what are we actually going to be
  285. 9:30covering in this data analysis that
  286. 9:32we're going to be doing inside of excel
  287. 9:33well you're going to be taking the role
  288. 9:35of a job Seeker in exploring what are
  289. 9:37some of the top paying roles along with
  290. 9:39skills of data nerds for this we're
  291. 9:42going to use the data from my app dat
  292. 9:44nerd. Tech that is collected to this
  293. 9:46point up to 3 million jobs it tells
  294. 9:49based on a job title and also on a
  295. 9:52location what are the top skills and it
  296. 9:54not only tells us the salary of these
  297. 9:55skills for a particular job but also the
  298. 9:57salaries of the jobs themselves now the
  299. 9:59main data set we're going to be using
  300. 10:01for the majority of this course is this
  301. 10:03one here inside the data sets folder of
  302. 10:05data job salary all this data set
  303. 10:07includes over 30,000 job postings from
  304. 10:102023 and it includes a wealth of
  305. 10:12information such as company name salary
  306. 10:14and location as we go through these
  307. 10:16examples I'm going to be doing it from
  308. 10:17the perspective of a data analyst which
  309. 10:19is their top job in the data set but as
  310. 10:22shown here there's a lot of different
  311. 10:23other job titles that you can check out
  312. 10:25and use as well so feel free to deviate
  313. 10:27additionally I'll be primarily focusing
  314. 10:29on the United States but there's a lot
  315. 10:31of different countries in there as well
  316. 10:33so feel free to plug in your home
  317. 10:35country and analyze this instead now
  318. 10:37with any course you're probably going to
  319. 10:38get stuck along the way and so how do
  320. 10:40you get help for this well I don't
  321. 10:42recommend just jumping into the comment
  322. 10:44section and waiting for somebody to help
  323. 10:45you out instead I recommend using a chat
  324. 10:48bot like chat GPT in it you can provide
  325. 10:50whatever era you're seeing and it will
  326. 10:52help you out and guide you along the way
  327. 10:54on what to do and there's other great
  328. 10:55options as well such as gemini or even
  329. 10:57Claude so feel free to use whichever one
  330. 10:59you're most comfortable with all right
  331. 11:00if you haven't done so already it's your
  332. 11:02turn now to go in and download that
  333. 11:04GitHub repo with all the different
  334. 11:05workbooks needed for this course in the
  335. 11:08next lesson we're going to be getting
  336. 11:10into installing Excel and mainly
  337. 11:12understanding what are the different
  338. 11:13versions that you can actually get with
  339. 11:15Excel and which one you need for the
  340. 11:17course with it I'll see you
  341. 11:21there let's now actually get into
  342. 11:23working with Excel so in this lesson
  343. 11:27we're going to be going through how to
  344. 11:28actually inst install Excel onto your
  345. 11:30computer assuming you don't have it but
  346. 11:33before we get to that for those that
  347. 11:35maybe have Excel or an older version of
  348. 11:37Excel or have different computers we're
  349. 11:40going to actually go through what are
  350. 11:41the preliminary requirements you need to
  351. 11:43have or set up in order to be able to
  352. 11:45have the Excel you need for this
  353. 11:49course now here's a breakdown of the
  354. 11:52different chapters within this course
  355. 11:55that is the rows here and then for the
  356. 11:57columns are the different micro Micosoft
  357. 11:59products that you can get in order to
  358. 12:02have Excel now if you're running Excel
  359. 12:05on a Windows machine either through
  360. 12:07Microsoft 365 Microsoft Office at home
  361. 12:09and student or even an older version of
  362. 12:13excel up to about
  363. 12:152010 you're going to be fine with
  364. 12:17completing all the different course
  365. 12:19content however if you have the Mac
  366. 12:22version or Mac operating system and
  367. 12:24Excel is installed directly on that
  368. 12:26operating system you're not going to be
  369. 12:27able to complete the Advanced chapter
  370. 12:30specifically on power query and on power
  371. 12:32pivot along with the project and it's
  372. 12:35similar as well for Microsoft 365 online
  373. 12:39as you won't also be able to complete
  374. 12:40the Advanced Data analysis section now
  375. 12:43if you have any of these first three
  376. 12:45versions of excel installed on your
  377. 12:47computer you can skip to the next lesson
  378. 12:50if you want I'm just be going through
  379. 12:52before the install process of breaking
  380. 12:55down each of these different versions so
  381. 12:57you understand your options what you can
  382. 13:02get so let's get into breaking down all
  383. 13:05these different versions available first
  384. 13:07up is Microsoft
  385. 13:09365 now with Microsoft 365 you're going
  386. 13:12to get a host of different Microsoft
  387. 13:14applications not only Excel but also
  388. 13:16things like word PowerPoint and even
  389. 13:18Outlook and there's two major plans I'm
  390. 13:20going to recommend for this either the
  391. 13:22family plan which allows you to give out
  392. 13:25these keys for these different services
  393. 13:26to up to six people or a personal plan
  394. 13:29which allows you to give it to well
  395. 13:30yourself now I do want to call out that
  396. 13:32if you're a college student or maybe you
  397. 13:34work for a big Corporation you may have
  398. 13:37access to a free Microsoft 365 plan so
  399. 13:41if you're in college check with your
  400. 13:42college and if you're working for a
  401. 13:43business check for your business if you
  402. 13:44have access to this so you don't have to
  403. 13:46pay money for it but regardless of that
  404. 13:48if money is an issue Microsoft 365
  405. 13:51family offers this free one-month trial
  406. 13:54which I think you can complete this
  407. 13:56course within a month so technically you
  408. 13:58could do this for free if you don't want
  409. 14:00to get charged you will need to actually
  410. 14:02cancel before the end of that 30 days
  411. 14:04and at that point you'll still have
  412. 14:06Microsoft Excel installed on your
  413. 14:08computer just everything will be in view
  414. 14:10only mode you won't actually be able to
  415. 14:12edit any of the different spreadsheets
  416. 14:14that we've operated on during this
  417. 14:16course let's now move into Microsoft
  418. 14:18Office home and
  419. 14:22student now this bad boy is the
  420. 14:24alternate recommendation I'm going to
  421. 14:26give you if you don't want to pay for a
  422. 14:28Microsoft 3 365 subscription this is
  423. 14:31only a onetime purchase and it gives you
  424. 14:34keys to Microsoft Office so you can
  425. 14:36install all the different Microsoft
  426. 14:38products of excel word and PowerPoint
  427. 14:41onto your computer for the low low price
  428. 14:43of $150 similar to Microsoft 365
  429. 14:47subscription this will not only work on
  430. 14:49a Windows machine but it will also work
  431. 14:51on a Mac machine Let's now move to this
  432. 14:54last option because it's sort of in the
  433. 14:55bundle of it of Microsoft 365 online
  434. 15:01now this version of Microsoft 365 is
  435. 15:04completely free but sort of a catch to
  436. 15:07this here I am on my web browser logged
  437. 15:10into Microsoft 365 online and I have
  438. 15:13access to all the different apps within
  439. 15:16the browser including something like
  440. 15:18Excel so we can go to it now this
  441. 15:20version looks very similar to the
  442. 15:22version that you can actually install
  443. 15:23the applications on your Windows or Mac
  444. 15:25machine there are limitations like a
  445. 15:28disuss before about power query and
  446. 15:30power pivot so you're going to be
  447. 15:32limited if you're trying to follow along
  448. 15:34in this course when we get to those
  449. 15:35Advanced chapters also the layout on the
  450. 15:38web browser version of this app is much
  451. 15:40different from that that's installing
  452. 15:42your computer so I'm not going to be
  453. 15:43providing any support on this course on
  454. 15:45actually actually how to navigate this
  455. 15:47so you're going to have to figure that
  456. 15:48out yourself so we've discussed
  457. 15:49everything except for these Mac versions
  458. 15:52of Microsoft 365 and office so here's a
  459. 15:55quick recap of all the different
  460. 15:58features and cost of the three major
  461. 16:01versions of Microsoft that you can get
  462. 16:03in order to get Excel on your computer
  463. 16:05for this personally I'm using the
  464. 16:08Microsoft 365 family plan because it
  465. 16:10includes all the different features that
  466. 16:13I need and it also I save cost because
  467. 16:15I'm splitting with my brother who now
  468. 16:17that I think of it is actually paying
  469. 16:18for it but it provides everything that I
  470. 16:21need and so it's the one I'm
  471. 16:22recommending for this
  472. 16:26course now before we get into the
  473. 16:27install I want to briefly show what are
  474. 16:30the differences between using Mac with
  475. 16:33Excel installed Vice windows and Excel
  476. 16:35installed on it anyway here's Excel
  477. 16:37installed on my Windows operating system
  478. 16:41and Excel on this operating system is in
  479. 16:43my opinion the flagship product from
  480. 16:47Microsoft so they're investing all of
  481. 16:49their effort and resources into
  482. 16:51designing this application to make it
  483. 16:54the best possible and then from there
  484. 16:56Excel online and then Excel for Mac are
  485. 16:59really just copycats of this anyway the
  486. 17:02two main differences and the problems
  487. 17:03I've run into in the past that Excel for
  488. 17:07Mac doesn't have are in this data tab I
  489. 17:10have a lot of different data sources I
  490. 17:12can choose from and that's specifically
  491. 17:14related to our power query lesson and
  492. 17:16then finally it has power pivot which is
  493. 17:20just completely non-existent on Excel
  494. 17:22for Mac now here I am on a Mac machine
  495. 17:25and we can see that it looks very
  496. 17:27similar to before but there's a lot of
  497. 17:30limitations that we're going to find
  498. 17:31with this specifically going back to
  499. 17:33that power query not a lot of different
  500. 17:34sources you can choose from and then
  501. 17:36yeah Power pivot is just completely
  502. 17:38non-existent you may be like Luke I have
  503. 17:41a Mac machine what do I need to do in
  504. 17:43order to have the most premier version
  505. 17:45of Excel and use for this well for that
  506. 17:48I recommend installing a virtual machine
  507. 17:51and virtual machines like parallels
  508. 17:53shown here allows you to host a
  509. 17:57different operating system on your Mac
  510. 18:00machine this Windows example that I was
  511. 18:02showing earlier if I actually expanded
  512. 18:04out you can see in the background here
  513. 18:07I'm running this on a Mac machine and I
  514. 18:11have full capabilities en able to carry
  515. 18:14out and running Windows on this now I've
  516. 18:16been paying for and using parallels over
  517. 18:18the past 3 years and I can tell you the
  518. 18:20support and the offers from it are
  519. 18:22perfectly fine and I love using it now
  520. 18:24personally I'm using the Parallels
  521. 18:27Desktop Pro Edition but you can get by
  522. 18:29with just using the standard edition now
  523. 18:31they also have this onetime purchase
  524. 18:33that you could do which is 129 but it
  525. 18:35doesn't get any further updates and I
  526. 18:37really like how it actually updates and
  527. 18:40fixes any bugs that may run into now the
  528. 18:42other reason why I like parallels is
  529. 18:44because it has this coherence mode I
  530. 18:46have this blue little icon that I can
  531. 18:49click up at the top to go into coherence
  532. 18:51mode and then wait for it it allows me
  533. 18:54to access any of those windows inside of
  534. 18:57my windows vers virtual machine inside
  535. 19:00of Mac so here is Excel running right
  536. 19:02here inside my Mac and this is not only
  537. 19:04limited to Microsoft Excel but also
  538. 19:06products like powerbi which I'm using
  539. 19:08pretty frequently as a data analyst I
  540. 19:10can also run this into coherence mode
  541. 19:12but enough about
  542. 19:14that now that they got that out of the
  543. 19:16way let's actually get into installing
  544. 19:19Excel via in your Windows machine or on
  545. 19:21your Windows Virtual Machine so the
  546. 19:23first thing we need to do is navigate
  547. 19:24over to
  548. 19:26microsoft.com and I'm going to click up
  549. 19:27here to Microsoft 3 365 we're going to
  550. 19:30be going through setting up the free
  551. 19:3230-day version so I'm going to click
  552. 19:33this of try for free and from there
  553. 19:36start my one month trial it's going to
  554. 19:38ask me to sync my data I'm assume you
  555. 19:39don't have it I'm also going to assume
  556. 19:41you don't have an account so we're going
  557. 19:42to create one I'm going to put in my
  558. 19:44email
  559. 19:45address and then from there create a
  560. 19:47password after providing some personal
  561. 19:49information you're going to need to
  562. 19:50verify your email with the code they
  563. 19:51send you now to be clear this is the
  564. 19:54Microsoft 365 family plan which after
  565. 19:57that 1 month trial it's going to be
  566. 19:59charging you at
  567. 20:00$99 every year so if you're just one
  568. 20:03person and you're trying to switch to
  569. 20:05the personal plane after this you'll
  570. 20:06need to do that at the end or near the
  571. 20:08end of those 30 days from there like any
  572. 20:11company they're going to ask for some
  573. 20:12payment methods I'm going to just go
  574. 20:13ahead with PayPal PayPal's all set go
  575. 20:16ahead and do more paperwork of adding
  576. 20:18Bell and address and with that I can
  577. 20:20start trial and pay later so now that
  578. 20:22I'm logged in I want to install the
  579. 20:24desktop app so it gives me access to
  580. 20:26right here it's going to go ahead and
  581. 20:27begin this it's going to ask if want to
  582. 20:29allow this app to make changes to your
  583. 20:30device yeah I trust them so only took a
  584. 20:33few minutes and all the different
  585. 20:34Microsoft 365 office apps were installed
  586. 20:37so I just come down to the search bar
  587. 20:39down here type in Excel let's pop it
  588. 20:42open make sure it's working and in order
  589. 20:44to get started you need to sign in in
  590. 20:46order to verify that it's your
  591. 20:48subscription so I put in my email and
  592. 20:51password and already forgot my
  593. 20:53password now I'm resetting my password
  594. 20:56and now I'm all set up all right and we
  595. 20:58got agre to some lawyer talk of
  596. 21:00accepting licensing agreements at this
  597. 21:02point I'm pretty worn out of going
  598. 21:03through this process so I'm just going
  599. 21:05to click through everything I'm not
  600. 21:06going to send any optional data
  601. 21:08personally I don't like to do that I
  602. 21:10don't want to personalize right now and
  603. 21:13it looks like I'm finally done all right
  604. 21:15I'm into it and now that we're into
  605. 21:17Excel we can see up here it should have
  606. 21:18your name or your account that you're
  607. 21:20going into and go in here into the blank
  608. 21:22workbook all right so that basically
  609. 21:24concludes this lesson on installing
  610. 21:25Excel I do want to show real quick how
  611. 21:27easy it is to actually cancel your
  612. 21:29membership should you want to go about
  613. 21:31just getting the free version or the
  614. 21:33free 30-day trial and you want to cancel
  615. 21:34it before any if I go back to my account
  616. 21:37I can go in here to manage
  617. 21:39subscriptions and here I'm inside my
  618. 21:41Microsoft account which tells me I'm
  619. 21:43subscribed to Microsoft 365 family I can
  620. 21:45share it with up to zero to five people
  621. 21:49and for that I just click on it and I
  622. 21:50can copy a link and provide it to
  623. 21:52whoever I want to share it with we're
  624. 21:54going to cancel it so we can go to
  625. 21:55manage subscriptions right here and all
  626. 21:57we got to do is click cancel
  627. 21:59subscriptions it's going to have me
  628. 22:01confirm that I do want to cancel this
  629. 22:03family plan makes me scroll all the way
  630. 22:05to the bottom after showing me all these
  631. 22:06different prices that I could get
  632. 22:08instead and I'm going to say yeah I
  633. 22:10don't want my subscription and as I'm
  634. 22:13filming this on August 27th it basically
  635. 22:16says hey you still have access this for
  636. 22:1830 days until September 26th so still
  637. 22:21technically have access to it so if you
  638. 22:23haven't done it already it's your turn
  639. 22:24to now go and install Microsoft Excel
  640. 22:26the one of the options that I've shown
  641. 22:28here in the next chapter we're going to
  642. 22:30get into a spreadsheets intro to get you
  643. 22:32familiar with how to actually use all
  644. 22:35the different functionality or graphical
  645. 22:37unit or interface gooey of excel with
  646. 22:39that see you in the next
  647. 22:44one welcome to this chapter on an intro
  648. 22:47to spreadsheets and this chapter has
  649. 22:50three different lessons in order to
  650. 22:53understand what we're covering those
  651. 22:54three different lessons we need to
  652. 22:55explore some vocabulary with it so let's
  653. 22:57jump into Excel for this lesson we're
  654. 22:59going to be focusing on worksheets and
  655. 23:02that is basically as you can see this
  656. 23:03tab here called sheet one that is how to
  657. 23:07manipulate these different cells within
  658. 23:10this worksheet or also known as a sheet
  659. 23:13in the next lesson we're going to be
  660. 23:14going into workbooks so workbooks
  661. 23:17basically captures either one sheet like
  662. 23:19this one sheet one if I add another one
  663. 23:20sheet two so it encapsulates multiple
  664. 23:23different sheets within this program of
  665. 23:25Excel and then finally in the third
  666. 23:27lesson of this chapter we're going to be
  667. 23:28moving into the ribbon which is up here
  668. 23:30at the top and has a bunch of different
  669. 23:32functionality to extend into those
  670. 23:34spreadsheets along with using this file
  671. 23:37tab up here that has a whole bunch of
  672. 23:39features within it as well now this
  673. 23:41chapter was designed for those that may
  674. 23:43not have experience with using Microsoft
  675. 23:46Excel before so if you don't fall in
  676. 23:48that category as in you've used excel in
  677. 23:51your job and you're pretty familiar with
  678. 23:53all those different features I just
  679. 23:54shown you can feel free to skip this
  680. 23:56chapter and then move into the next one
  681. 23:59on functions along with all those
  682. 24:00different practice problems but if
  683. 24:02you're not comfortable with that stick
  684. 24:03around we're going to get into
  685. 24:06it all right so the first thing you need
  686. 24:08to do is open up that first Excel sheet
  687. 24:11in the files you should have downloaded
  688. 24:12from GitHub on onecore worksheets inside
  689. 24:16of here I have an original sheet that
  690. 24:18allows you to actually go in and fill in
  691. 24:20everything we're going to be doing and
  692. 24:21manipulating during the course of this
  693. 24:23lesson then if you get lost along the
  694. 24:25way or want to peek ahead to see what
  695. 24:26we're actually going to do you can
  696. 24:28actually scroll over here or select the
  697. 24:29final sheet to see that now I want to
  698. 24:32make this as big as possible for you to
  699. 24:33see so I'm going to go ahead and close
  700. 24:35out this ribbon up here and you can just
  701. 24:36do that by double clicking on any one of
  702. 24:38these different items up here and then
  703. 24:40from there I also want to zoom in so I'm
  704. 24:41going to come down here to the bottom
  705. 24:43right and I'm going to just zoom in to
  706. 24:45about 200% and scroll on over now inside
  707. 24:48the spreadsheet it has all these
  708. 24:50different cells and it's organized in a
  709. 24:52manner where it has rows and the rows
  710. 24:55are labeled with numbers 1 2 3 all the
  711. 24:58way down to about a million and then we
  712. 25:00have the columns and the columns are
  713. 25:03alphabetical and they all go all the way
  714. 25:05to where they start duplicating where
  715. 25:07they'll put another letter in front of
  716. 25:08the other and it'll go all the way
  717. 25:09through xfd so let's practice some data
  718. 25:12entry here I have a table we're going to
  719. 25:13be filling in for this lesson basically
  720. 25:15has all the different skills associated
  721. 25:18with it and then I want you to actually
  722. 25:20go through while we're going through
  723. 25:21this and you don't have to provide the
  724. 25:23values I do you can if you want we're
  725. 25:25going to be filling it in based on our
  726. 25:27difficulty when we made have started it
  727. 25:28or level and then filling out some other
  728. 25:30self formulas as we go so we're going to
  729. 25:32start first with Excel and then the
  730. 25:35difficulty so I'm going to select right
  731. 25:36here and I can see which cell is
  732. 25:38selected because it's sort of
  733. 25:40highlighted here on this B and also two
  734. 25:42but also right up here next to this
  735. 25:45formula bar I just call that formula bar
  736. 25:48we can see that we're calling out the
  737. 25:50name of B2 so anytime we reference any
  738. 25:54cells it first references the column
  739. 25:56letter and then the row number so in
  740. 25:59this case I'm selected in C7 so I'm
  741. 26:01going to go ahead and give this a number
  742. 26:03I'm going to say four for myself as you
  743. 26:05notice I I just put it right in the Box
  744. 26:07alternatively I can also select the cell
  745. 26:10I want to go to and then come up here
  746. 26:11into the formula bar press what I want
  747. 26:14so I want five for Python and go from
  748. 26:16there whenever I press enter it then
  749. 26:18goes down to the next cell so
  750. 26:20technically I could just go through and
  751. 26:21enter this all in using my keyboard and
  752. 26:24I don't have to click or move manipulate
  753. 26:26at all except to select the cell that
  754. 26:28wanted so those were all numerical
  755. 26:30values when we move into the skill known
  756. 26:33on whether we know it or not we want to
  757. 26:35put in whether it's known or not we want
  758. 26:36to put true or false this is known as a
  759. 26:38Boolean value so typing in something
  760. 26:41like true I can see when I press enter
  761. 26:44it actually updates to be all caps for
  762. 26:47this Tru so it recognizes the data type
  763. 26:49of this as Boolean now if you're taking
  764. 26:51this course you probably don't know
  765. 26:52Excel so we're going to put in false
  766. 26:54instead now say I want to update the
  767. 26:56rest of these for false false I can yeah
  768. 26:59go through and actually type it up or I
  769. 27:01can select this lower right hand corner
  770. 27:04of cell C2 and now I can drag these
  771. 27:07values down and it will autofill it in
  772. 27:11now autofills not just limited to
  773. 27:14Boolean values let's say I had something
  774. 27:16like Luke I could put that here and just
  775. 27:19drag it down it's going to fill in Luke
  776. 27:21all the way through here a cool feature
  777. 27:23about Excel is say I have something like
  778. 27:25one and then two I could select both of
  779. 27:28these cells and then when I drag it down
  780. 27:30it's going to actually fill in three or
  781. 27:32four now autofill can also throw you off
  782. 27:35especially for dates so let's say we're
  783. 27:37filling in when we're starting Excel
  784. 27:39which is we'll put in for the today's
  785. 27:40date in my case it's August 27
  786. 27:4420124 I'm going to go ahead press enter
  787. 27:47to save that in it automatically updates
  788. 27:48to this formatting here in America if in
  789. 27:51Europe you may see the month in a
  790. 27:52different location anyway if I select
  791. 27:55this and actually drag down what you'll
  792. 27:57see is is it will do that auto fill in
  793. 28:00but it's not going to keep that same day
  794. 28:02per it assumes we want to increment by
  795. 28:04one day now specifically with dates if I
  796. 28:07want to change the format I can actually
  797. 28:09come up here and I'll expand out this
  798. 28:11home ribbon again and right now it's Rec
  799. 28:14recognizing that the number is of date
  800. 28:18and for date I have a few different
  801. 28:19options I can do short date which is
  802. 28:20shown here or even something like long
  803. 28:22date I can also go even further which
  804. 28:25we'll explore as we get further into
  805. 28:27this course into this more number
  806. 28:28formats and date actually has a whole
  807. 28:30bunch of other different options that we
  808. 28:32can choose from but for right now we're
  809. 28:34just going to keep it this simple date
  810. 28:35format and I'm going to click okay now
  811. 28:38assuming you haven't started any of
  812. 28:39these I'm going to go ahead and actually
  813. 28:40just select all the different cells that
  814. 28:42I want and if you were to press delete
  815. 28:45it's only going to delete that top cell
  816. 28:47and that's sort of annoying because I
  817. 28:49want to delete all these different cells
  818. 28:52instead what I'm going to do if I'm on a
  819. 28:53Windows machine I'm G to press delete or
  820. 28:55in my case I'm using a Mac Windows VM
  821. 28:58I'm press function delete and it's going
  822. 29:00to delete all the different content
  823. 29:01right I'm also going to go ahead while
  824. 29:03I'm here delete all that different
  825. 29:04content down there we don't need it now
  826. 29:05we're going to move on to level type of
  827. 29:07diet we're going to put into this is
  828. 29:08text so in the case of excel you're
  829. 29:10probably a beginner so I'll put in
  830. 29:12beginner and then if I want to I can go
  831. 29:14through and fill out different levels
  832. 29:15for each of these so python Advanced RBI
  833. 29:18Advanced and so on for all these now one
  834. 29:21thing to notice real quick is for the
  835. 29:23date it does specify in here under this
  836. 29:26home ribbon that it is a date but all
  837. 29:28these other one it just characterizes as
  838. 29:30general which is perfectly fine now for
  839. 29:33these other options down here let's go
  840. 29:35ahead and say I wanted to put in
  841. 29:36beginner for all the rest of these can't
  842. 29:38necessarily drag and drop this but what
  843. 29:39I can do is I can actually copy it
  844. 29:41specifically I could right click the
  845. 29:42cell and come up here and copy it but I
  846. 29:44don't recommend that also over here on
  847. 29:46the home menu they have an option as
  848. 29:48well to copy or even cut something so I
  849. 29:51can select something like copy as well
  850. 29:53and it's going to put these marching
  851. 29:55ants as they call it around the cell to
  852. 29:57tell you that hey it's actually selected
  853. 30:00and then if I wanted to paste it I go
  854. 30:02ahead and select down here and I could
  855. 30:04paste it down below that's not what we
  856. 30:05want to do I don't like going through
  857. 30:06and actually selecting all these
  858. 30:07different buttons I want to minimize it
  859. 30:09as much as possible and I want to use
  860. 30:11shortcuts so in order to stop these
  861. 30:13marching ants I can go ahead and press
  862. 30:15escape and I'll select the cell that I
  863. 30:17want to copy and from there I'll press
  864. 30:20contrl C and that copies it and then I
  865. 30:23can go ahead and paste it below by
  866. 30:25selecting the cell that I want and
  867. 30:27pressing control contr V now you'll be
  868. 30:29noticing that when I'm going through
  869. 30:31this I have these shortcuts peing right
  870. 30:33here next to me on the screen so you'll
  871. 30:34be able to follow along as well as I'm
  872. 30:36using these shortcuts the other option
  873. 30:38is I could cut this so I could press crl
  874. 30:41X and then paste it in here crl V but
  875. 30:45this is going to go ahead and take this
  876. 30:46value out of here we don't want to
  877. 30:47necessarily do that so I'll just copy
  878. 30:49this again crl C and then paste it right
  879. 30:51above here contrl V shortcuts are going
  880. 30:54to be a big timesaver and we're going to
  881. 30:56be using them a lot throughout this
  882. 30:58course in order to save you time and
  883. 30:59having you to go back to your mouse in
  884. 31:01order to manipulate it and select the
  885. 31:03different
  886. 31:05cells all right so let's step this up a
  887. 31:07notch and we're now going to get into
  888. 31:09using formulas and formulas are denoted
  889. 31:13by whenever we go into a cell like
  890. 31:15difficulty here which we want it to be
  891. 31:17on a 1 to 10 scale we denote formulas by
  892. 31:21an equal sign and in this case we want
  893. 31:24the difficulty to be on a 10-point scale
  894. 31:26basically transition from that 5 point
  895. 31:28scale so we need to multiply it times
  896. 31:29two so we could do something like 4 * 2
  897. 31:34and I press enter and it's going to give
  898. 31:36me as I expect eight but I actually
  899. 31:38don't recommend hardcoding values that
  900. 31:41are already inside of excel here
  901. 31:44specifically this four so instead of
  902. 31:46this I'm going to remove this and I can
  903. 31:50either type in the cell coordinates of
  904. 31:52the cell so I could type in
  905. 31:54B2 and as you notice it's highlighting
  906. 31:57one the B2 is blue but then the cell B2
  907. 32:01is highlighted in blue alternatively I
  908. 32:03can have an equal sign here and just go
  909. 32:05over and actually select it as well
  910. 32:07whenever I press enter it's going to go
  911. 32:09ahead and say a it's four now now that
  912. 32:12I'm referencing that four I want to say
  913. 32:14that this is 4 * 2 pressing enter we
  914. 32:20have 8 once again we're going to use
  915. 32:22that power of autofill so I can select
  916. 32:24that cell of F2 and now drag it down and
  917. 32:28what's going to be pretty interesting
  918. 32:30about this is the two as denoted in the
  919. 32:33formula bar and actually whenever I
  920. 32:35click into it as well the two Remains
  921. 32:37the Same but autofill automatically
  922. 32:40knows to adjust the formula or the cell
  923. 32:44coordinates for the next cell Down based
  924. 32:47on how I did that autofill just to show
  925. 32:50this as well I could say hey let's equal
  926. 32:52this to B6 right below it and then if I
  927. 32:55were to drag this over it's going going
  928. 32:58to then put in C6 D6 E6 then F6 so
  929. 33:02pretty cool I'm going go ahead and
  930. 33:03delete this now the last column we're
  931. 33:05going to be filling in is skill and
  932. 33:07level we're also be using a formula for
  933. 33:09this and we'll set this equal to this
  934. 33:11skill thing and also this level so I'll
  935. 33:15start by putting in an equal sign and
  936. 33:17then it's not on the screen right now
  937. 33:19but I know it's in b or sorry A2 and I
  938. 33:22can see that selected by scrolling over
  939. 33:25here now how am I going to get in that
  940. 33:28F2 well I can do an Amper sand now and
  941. 33:32from there I'll put in F2 and it has
  942. 33:35this selected as well pressing enter
  943. 33:37ended up in the wrong one sorry about
  944. 33:38that should have been E2 and now I have
  945. 33:41Excel beginner but there's no space in
  946. 33:43between there this is sort of hard to
  947. 33:45read so what I can do is actually
  948. 33:47manipulate this to include another Amper
  949. 33:50sand and then in between this I'm going
  950. 33:53to put quotes and this is hey insert
  951. 33:55this text character in between it
  952. 33:57specifically I want to have a space then
  953. 33:59a dash and then another space and then
  954. 34:02press enter now if I tried to do this
  955. 34:05without the quote if I just did this and
  956. 34:08press enter I'm going to get a typo in
  957. 34:11my formula you have to actually put
  958. 34:13those quotes around to show that it's
  959. 34:14text and it's trying to correct it for
  960. 34:17some minus sign I don't really like how
  961. 34:19it's doing it oh my gosh it's freaking
  962. 34:21out now anyway I put the quotes back in
  963. 34:23there pressing enter boom we have it and
  964. 34:26like before I'm going to just do
  965. 34:28autofill to fill all those
  966. 34:31in so let's zoom out a little bit cuz
  967. 34:34we're going to be now be working with
  968. 34:36ranges which is a collection of cells
  969. 34:39now if you notice whenever I select in
  970. 34:42this case I'm selecting B2 it says B2 up
  971. 34:44the top but if I go to select more of
  972. 34:46this it will actually call out that five
  973. 34:49r or five rows by two c or two columns
  974. 34:52and then when I Let Go it just goes back
  975. 34:54to B2 anyway ranges are a selection of
  976. 34:57multiple of cells so if I come over here
  977. 35:00to i1 put it in equal sign and then if I
  978. 35:02want to say copy this entire range I can
  979. 35:06go ahead and select this all so it's
  980. 35:09saying it's A1 colon G6 so start the
  981. 35:13upper left hand corner of A1 and the
  982. 35:14bottom right hand corner of G6 now this
  983. 35:17is pretty cool there's a new feature of
  984. 35:19excel of dynamic rages it's going to go
  985. 35:21ahead and fill this in there's only one
  986. 35:24formula in here of that A1 through j6
  987. 35:26but you see that has this Shadow border
  988. 35:29around here that's showing that this
  989. 35:31dynamic range is now filling in for all
  990. 35:34these different things and if we look at
  991. 35:35the formula bar it's sort of gray out
  992. 35:37here too for it only at the very
  993. 35:40beginning does it show that A1 and G6
  994. 35:43and then you could manipulate it so if I
  995. 35:44wanted to I could change it to G5 and it
  996. 35:46would just go down a row now we're not
  997. 35:48limited to just that we could in fact
  998. 35:51select an entire column so in this case
  999. 35:53I'll put an equal sign and let's say I
  1000. 35:56want to do the the full column of column
  1001. 35:59a right here I can select up here a it's
  1002. 36:02going to select all the way down and if
  1003. 36:05we go over to the formula bar itself we
  1004. 36:07can see that it's saying a colon a that
  1005. 36:10means all the contents of column A are
  1006. 36:12going to be included in this and from
  1007. 36:14there it's putting a copy putting all
  1008. 36:16these different things and then when
  1009. 36:17there's not a value in it because it's a
  1010. 36:19copy similar to over here for these
  1011. 36:21dates of zero we're going to see Zero in
  1012. 36:24all these different values all the way
  1013. 36:25down now similarly I can also do a copy
  1014. 36:28of a row so in this case if I wanted to
  1015. 36:30or multiple rows if I wanted to do rows
  1016. 36:33five and six I could press enter going
  1017. 36:35to get an erir with this though and that
  1018. 36:37has to do with this Q column right here
  1019. 36:40that we're copy and pasting here so I'm
  1020. 36:41going to go ahead and delete that real
  1021. 36:43quick get rid of it and now we have that
  1022. 36:47rows five and six duplicated below along
  1023. 36:50with that shadow around it and all there
  1024. 36:53now these ranges are going to save us a
  1025. 36:55lot of time later so I'm going to go
  1026. 36:56ahead and delete this right now I don't
  1027. 36:57want any of that as later on when we get
  1028. 36:59into actually using functions within
  1029. 37:02formulas I can use something like the
  1030. 37:04average function put in a range in here
  1031. 37:08so it selects all of it and then get the
  1032. 37:10average of it in this case now one last
  1033. 37:13thing to note on this before we wrap up
  1034. 37:16here on how to save this is you may have
  1035. 37:18noticed that this date started over here
  1036. 37:20is a number and that's because that's
  1037. 37:24how Excel stores dates with within this
  1038. 37:28spreadsheet right here so if I actually
  1039. 37:29click on it go back up to home right now
  1040. 37:32it's St storing it under the format of
  1041. 37:35General right now so if I were to make
  1042. 37:38this into an actual date we can see that
  1043. 37:40it is in fact 827 2024 now just some fun
  1044. 37:44little trivia if I were to put in number
  1045. 37:46one and transition it to a date so
  1046. 37:51coming up here and selecting date that
  1047. 37:54first date starts at January 1st 19900
  1048. 37:58and then they move on the numbers from
  1049. 38:00there all right last thing we need to do
  1050. 38:02is now save the work that you just
  1051. 38:04completed with this you can do this
  1052. 38:06multiple different ways we can come up
  1053. 38:07here to the top of your Excel workbook
  1054. 38:11right here and click save you can also
  1055. 38:13as shown you can use contrs
  1056. 38:15alternatively you can come over here to
  1057. 38:17the file menu and then come on down to
  1058. 38:20save or save as and then if you wanted
  1059. 38:23to you can specify the location where
  1060. 38:26you actually want to save your file and
  1061. 38:28save it there now you do have the option
  1062. 38:31which I highly recommend if you're
  1063. 38:32working with real world files you want
  1064. 38:35to actually save them to save this
  1065. 38:37autosave feature the one caveat to this
  1066. 38:41is that your files have to be stored on
  1067. 38:44one drive right now with the plan that I
  1068. 38:46have I can store about one terabyte of
  1069. 38:48files on there so if you'd like to do
  1070. 38:50that feel free to transition your files
  1071. 38:52there I'm not going to um and I won't
  1072. 38:54have Auto saave on for this but for very
  1073. 38:56important files definitely do have
  1074. 38:58autosave set up all right for those that
  1075. 39:00have purchased the practice problems and
  1076. 39:02notes you have some practice problems to
  1077. 39:05go through and get even more familiar
  1078. 39:06with manipulating cells inside of a
  1079. 39:08spreadsheet after that we're going to be
  1080. 39:10going into manipulating a workbook with
  1081. 39:12that see you in the next
  1082. 39:17one all right we're going to be
  1083. 39:18continuing on with this spreadsheets
  1084. 39:20intro focusing now on workbooks so
  1085. 39:24previously we were focusing on
  1086. 39:25worksheets which are a sheet inside of a
  1087. 39:28workbook now we're going to be focusing
  1088. 39:29on manipulating and moving data between
  1089. 39:36workbooks now for this I don't want you
  1090. 39:38immediately jumping into that 2or
  1091. 39:41workbooks Excel file this really just
  1092. 39:43has all the answers in it it doesn't
  1093. 39:45have really what we need for it instead
  1094. 39:47we're going to be starting with a new
  1095. 39:49notebook and instead importing in some
  1096. 39:52data so specifically if we go into this
  1097. 39:54folder of zore resource
  1098. 39:58into data sets we have this one Excel
  1099. 40:01file called Data job salary monthly now
  1100. 40:06this is similar to the data that we're
  1101. 40:08going to be using for the remainder of
  1102. 40:09the course we're actually going to use
  1103. 40:10another Excel sheet but this one here is
  1104. 40:12pretty neat because it's broken up by
  1105. 40:14months into different sheets so all the
  1106. 40:16job postings for January are in this
  1107. 40:18sheet called Jan and so on for February
  1108. 40:22and so on for March so what we're going
  1109. 40:24to be doing in this lesson is moving we
  1110. 40:26want to just evaluate the January data
  1111. 40:28move that into a new workbook so to get
  1112. 40:31a new workbook as easy as possible we're
  1113. 40:33going to come over here to the file menu
  1114. 40:35I'm just going go to new and click blank
  1115. 40:38workbook now here I have that new Bo
  1116. 40:40notebook right now it's titled book two
  1117. 40:42because it hasn't been saved anyway
  1118. 40:44going back to that file menu just to
  1119. 40:45show you I have different options I can
  1120. 40:48get a new notebook so we went into new
  1121. 40:50and just selected uh a blank workbook
  1122. 40:53also we could use this Home tab and
  1123. 40:56select a bank blank workbook based on
  1124. 40:58that also have a bunch of different
  1125. 40:59tutorials you can check out also we have
  1126. 41:01this open tab right here which allows
  1127. 41:04you on the left hand side to select a
  1128. 41:06location like this PC or even browse
  1129. 41:09different locations in your file system
  1130. 41:11but frankly I'm using more often than
  1131. 41:13not over here on the right hand side
  1132. 41:16this right here where this shows a past
  1133. 41:18history of Excel files I've worked with
  1134. 41:19so I can go through and actually select
  1135. 41:21an Excel file pretty easily we're going
  1136. 41:23to explore more about this file menu
  1137. 41:25more in a bit let's get moving some data
  1138. 41:28first now before we get into copying
  1139. 41:30this data into the new workbook itself I
  1140. 41:34want to actually just copy it within its
  1141. 41:38own workbook so if we noce some controls
  1142. 41:40down here at the bottom we have all the
  1143. 41:42different Sheets if we want to add
  1144. 41:43another sheet which I want to copy it to
  1145. 41:45I'm just going to add this in right here
  1146. 41:47and I'm going to call this Jan copy
  1147. 41:50press enter and that's new sheet and I
  1148. 41:52and I added that by just double clicking
  1149. 41:54in there and then allowing it to addit
  1150. 41:56addition I can rightclick it and I can
  1151. 41:59do things like rename it and that will
  1152. 42:01do the same thing now there's also some
  1153. 42:03controls around here you notice there's
  1154. 42:05some arrows on right here and what that
  1155. 42:08does is just Scrolls all the way over or
  1156. 42:11incrementally over so I can see all the
  1157. 42:13different sheets in this case there's
  1158. 42:14more sheets than I'd actually see in one
  1159. 42:17view then we have the scroll bar over on
  1160. 42:19the right hand side this is actually
  1161. 42:20just controlling the scroll area within
  1162. 42:22our new sheet of Jan copy so previously
  1163. 42:26we we saw how we can copy ranges using a
  1164. 42:30formula in this case I'm entering equal
  1165. 42:31to and then I'm just going to select
  1166. 42:33this range right here press enter and I
  1167. 42:37can get it inserted in and then actually
  1168. 42:39looking at the formula it's just equal
  1169. 42:40to
  1170. 42:41J1 uh colon p8 and this has its range
  1171. 42:45right there all right so I want to get
  1172. 42:47the contents into this sheet so I'm
  1173. 42:49going to start by putting an equal sign
  1174. 42:51and then I'm I go over to that Jan sheet
  1175. 42:54and when I go over here you're going to
  1176. 42:55notice that now next to that equal sign
  1177. 42:58I have Jan the name of the sheet and an
  1178. 43:00exclamation point this is identifying
  1179. 43:02the sheet and I want all this different
  1180. 43:04items so as I go to select it all you
  1181. 43:08can see that it's updating in the
  1182. 43:09formula bar right now I have A1 through
  1183. 43:11P2 selected but I actually want to
  1184. 43:13select everything in this sheet and
  1185. 43:16we're about at 3,000 rows and right now
  1186. 43:20I'm only about 500 of those this is
  1187. 43:22going to take forever so I don't
  1188. 43:23recommend necessarily doing this type of
  1189. 43:26method to try to select all your data so
  1190. 43:28I'm going to go ahead and Escape out of
  1191. 43:30this and go back to where we were at the
  1192. 43:33Gen copy instead once again I'm going to
  1193. 43:35press that equal sign go back to that
  1194. 43:37Jan sheet right up in the form bar once
  1195. 43:40again I can see that it has the Jan and
  1196. 43:41the exclamation point I'm going to
  1197. 43:43select A1 to start with and I'm going to
  1198. 43:46press the shortcut contrl shift and then
  1199. 43:49the right arrow key and now all the top
  1200. 43:52row is selected from here I'm going to
  1201. 43:55continue to hold control shift and press
  1202. 43:57control shift down and it's going to
  1203. 44:00select all the different arrows so as we
  1204. 44:03can see up here A1 to P 3103 scrolling
  1205. 44:06down we don't have any more data now all
  1206. 44:09I have to do is press enter and I did
  1207. 44:11this to basically show the nomenclature
  1208. 44:14now so now we're not only selecting a
  1209. 44:16range but we're also selecting a range
  1210. 44:18from a different sheet and this is how
  1211. 44:21Excel does the nclat or the formula
  1212. 44:23necessary to make this work and once
  1213. 44:25again this is a dynamic range appearing
  1214. 44:28inside of here but we really want to put
  1215. 44:31it inside of here into this new workbook
  1216. 44:35so what I'm going to do is I'm going to
  1217. 44:37actually delete this sheet right here
  1218. 44:39because we don't need this copy sheet in
  1219. 44:40here I don't want to actually manipulate
  1220. 44:42my data at all going to right click it
  1221. 44:43and select delete it's going to prompt
  1222. 44:46me any time that hey you're going to
  1223. 44:48permanently delete a sheet do you want
  1224. 44:49to continue yeah I want to continue now
  1225. 44:52once again I'm going to go back to that
  1226. 44:55original blank sheet that we have I want
  1227. 44:57to put it into here so I'm actually
  1228. 44:58going to name this one Jan and then
  1229. 45:02we'll call this one formula CU
  1230. 45:03technically it was a formula not a copy
  1231. 45:04I don't know why I did copy before
  1232. 45:06anyway back into A1 once again I'll
  1233. 45:08press that equal sign and then going
  1234. 45:10back to that other workbook I will
  1235. 45:13select it the first cell in there which
  1236. 45:16is actually A1 and now we can see we
  1237. 45:19have in the formul of the bar which is
  1238. 45:21actually the front of the bar which is
  1239. 45:23sort of strange in the other sheet that
  1240. 45:25our other workbook that we work with we
  1241. 45:27have inside of brackets the Excel file
  1242. 45:30name the sheet that we're in and then
  1243. 45:33the actual uh cell range of A1 we have
  1244. 45:37dollar signs around this this locks the
  1245. 45:39references of it which we're going to go
  1246. 45:41into more detail on but the main thing
  1247. 45:42to understand is this has A1 selector
  1248. 45:44right now but we want to select all this
  1249. 45:45data so that shortcut of control shift
  1250. 45:48right select all the different columns
  1251. 45:50and then control shift down okay it's
  1252. 45:53all selected I'm going to go ahead and
  1253. 45:54press enter and it's going to take me
  1254. 45:55back to my original workbook that I was
  1255. 45:58trying to work with this now that was
  1256. 46:00using formulas to copy this data we're
  1257. 46:03going to explore two more options the
  1258. 46:05second one is going to be somewhat
  1259. 46:07familiar using copy and paste so I'm
  1260. 46:09going to create this new sheet I'm going
  1261. 46:10to call it Jan copy and
  1262. 46:13paste from here I'm going to go back to
  1263. 46:15our original data that we have and since
  1264. 46:18we're at the bottom of the sheet I'm
  1265. 46:19just going to select the bottom right
  1266. 46:21hand corner press control shift left now
  1267. 46:24if you noticed it went and stopped
  1268. 46:26stopped at this Blank cell right here
  1269. 46:29which isn't a big deal I'll press it one
  1270. 46:31more time it'll go to the next cell over
  1271. 46:33that actually has a value in it and then
  1272. 46:35once again it's going to go all the way
  1273. 46:38to the end of a
  1274. 46:403103 so basically if there's any blanks
  1275. 46:42while you're trying to do this it's
  1276. 46:43going to stop at those values there okay
  1277. 46:46and then from there I'm going to press
  1278. 46:47control shift up and as we're saying
  1279. 46:50it's going to stop at every different
  1280. 46:51Blank cell along the way this is going
  1281. 46:53to take forever unfortunately I don't
  1282. 46:55recommend you actually do that ever
  1283. 46:56again
  1284. 46:57instead start up at the top left and do
  1285. 46:59the control shift over to the right and
  1286. 47:02then all the way down in order to select
  1287. 47:04all the cells now like we did before we
  1288. 47:06want to copy it I could either use this
  1289. 47:07up at the top in the home ribbon right
  1290. 47:10here I could actually select copy or the
  1291. 47:13shortcut which I'm going to recommend of
  1292. 47:15contrl c and from there going back into
  1293. 47:17our new workbook selecting cell A1 and
  1294. 47:21then using contrl V and pasting all this
  1295. 47:24data in now moving on to the third
  1296. 47:25example which is is actually the one I
  1297. 47:28recommend you do anytime you need to
  1298. 47:29move sheets of data basically in both of
  1299. 47:32those previous approaches you could go
  1300. 47:34about missing getting data to move over
  1301. 47:37so I don't really recommend doing that
  1302. 47:39instead I would come down here to the
  1303. 47:41Jan sheet write click it and select move
  1304. 47:45or copy so we have this new window that
  1305. 47:47pops up and it has two book right now it
  1306. 47:50has this Excel sheet selected of data
  1307. 47:52job salary monthly we don't want to move
  1308. 47:54to that we want to move to book two we
  1309. 47:57also move to a new book but book two is
  1310. 47:59open that's what we've been working in
  1311. 48:00that's what we're going move to okay we
  1312. 48:02can see we have the different sheets
  1313. 48:04that we've already made in there and it
  1314. 48:06says in this dialogue this is where you
  1315. 48:08want to put this before this sheet and
  1316. 48:11we want at the end so we'll select move
  1317. 48:13to end now we don't want to take this
  1318. 48:17sheet Jan out of here we just want a
  1319. 48:19copy of it so we're going to select this
  1320. 48:21create a copy and then click okay now JN
  1321. 48:24has moved over here but I do want to
  1322. 48:26actually differentiate this so I'm going
  1323. 48:28to
  1324. 48:29put mover
  1325. 48:33copy now in the next lesson we're going
  1326. 48:35to be exploring more about the ribbon
  1327. 48:36but we're going to be exploring now more
  1328. 48:38about the file menu or also known as
  1329. 48:42backstage view we've gone through this
  1330. 48:44home new and open we also have this here
  1331. 48:47for share this is available for well if
  1332. 48:50you're sharing it via one drive this
  1333. 48:52makes it super easy to share with your
  1334. 48:54co-workers we're not going to go into a
  1335. 48:56lot of detail but this is a great option
  1336. 48:58if you're working in one drive and you
  1337. 48:59want to actually collaborate with other
  1338. 49:01co-workers you can work on Excel files
  1339. 49:03at the same time moving down to the list
  1340. 49:05here we also have get add-ins and we're
  1341. 49:08going to be actually looking at
  1342. 49:10different addins we can use in the
  1343. 49:13advanced chapters whenever we get to
  1344. 49:15that so we working with some addins with
  1345. 49:17that next up is info which has over here
  1346. 49:19on the right hand side some key metadata
  1347. 49:22about our Excel file itself then if we
  1348. 49:25want get into actually protecting our
  1349. 49:27workbook which we're going to cover in a
  1350. 49:29few chapters down the road you can get
  1351. 49:31into actually doing that the only other
  1352. 49:33thing that I find myself doing from time
  1353. 49:34to time in this section is on version
  1354. 49:36history once again this requires you to
  1355. 49:37be using one drive for it but you could
  1356. 49:40go back and revert back into a previous
  1357. 49:42version that you work with so it's great
  1358. 49:44for that now moving into save or even
  1359. 49:48save as since we haven't saved yes
  1360. 49:50they're both the same right here I'm
  1361. 49:51going to go ahead and save this but I
  1362. 49:53don't want to save this on one drive
  1363. 49:54personal I'm just going to shave this on
  1364. 49:56my desktop so I'll come and select
  1365. 49:58desktop and then I'll name this two
  1366. 50:01workbooks and save it now Beyond save as
  1367. 50:05we also have things like print which I
  1368. 50:07really don't find myself doing that too
  1369. 50:09often should be sending an electronic
  1370. 50:11version export if I wanted a pdf version
  1371. 50:14of something and then finally close as
  1372. 50:16well same thing as this x up here just a
  1373. 50:18x out of it and there's two more areas
  1374. 50:20down here that I want to call out and
  1375. 50:22that's a count and that allows you to
  1376. 50:24actually see behind the scenes of what
  1377. 50:26going on with your Microsoft account and
  1378. 50:29this is generic to all the different
  1379. 50:31Microsoft products that you have so not
  1380. 50:34just Microsoft Excel as you can see from
  1381. 50:36my information I'm actually inside the
  1382. 50:38Microsoft 365 Insider program so I get a
  1383. 50:41lot of access to Insider features get to
  1384. 50:45experiment with new stuff before any
  1385. 50:47other people do anyway this is where you
  1386. 50:48want to come anytime you want to make
  1387. 50:50sure that you have your Microsoft
  1388. 50:52products up to dat I have automatic
  1389. 50:55updates available so even I'm I check to
  1390. 50:57update now it's going to tell me hey I'm
  1391. 50:59up to date the other thing to note on
  1392. 51:00this is the different office themes that
  1393. 51:02you have on this I'm actually going to
  1394. 51:03change this right now to use system
  1395. 51:06settings which on my Mac I use dark
  1396. 51:09theme so it's going to go to that last
  1397. 51:11two options are hting down here behind
  1398. 51:12more I have feedback so if I wanted to
  1399. 51:15give feedback to this product i'
  1400. 51:17probably go to something like X or
  1401. 51:18Twitter instead and then finally options
  1402. 51:21we'll be getting to options later on in
  1403. 51:23this but this allows a very much more
  1404. 51:27advanced features that we can actually
  1405. 51:28go in and customize using this menu
  1406. 51:31especially whenever we get into add-ins
  1407. 51:33we're going to be doing that from here
  1408. 51:35all right so now you become an expert at
  1409. 51:37how to manipulate different spreadsheets
  1410. 51:38or sheets along with manipulating them
  1411. 51:42between different workbooks in the next
  1412. 51:45lesson we're going to be going into this
  1413. 51:47ribbon up here and actually exploring
  1414. 51:50everything a little bit further and
  1415. 51:51getting a sneak peek into each one of
  1416. 51:53these for those that purchase the
  1417. 51:55practice problems and course notes you
  1418. 51:57have some practice problems to go
  1419. 51:58through now and experiment working with
  1420. 52:01different workbooks with that see you in
  1421. 52:03the next one where we get into the
  1422. 52:04ribbon see you
  1423. 52:08there all right this final lesson of the
  1424. 52:11spreadsheets intro we're going to be
  1425. 52:13getting into the ribbon inside of Excel
  1426. 52:17and better understanding what are all
  1427. 52:19the different tabs and what are the
  1428. 52:20capabilities by doing some simple
  1429. 52:22exercises for this we're going to
  1430. 52:24continue to be analyzing that January
  1431. 52:26data set that we worked from the last
  1432. 52:27Lon and we're going to actually get into
  1433. 52:29actually performing some data analysis
  1434. 52:31with it so for this lesson you can open
  1435. 52:34and use that ribbon menu Excel file
  1436. 52:37which I have right here and all the data
  1437. 52:40that we're going to be working with are
  1438. 52:41that January data is in this data tab
  1439. 52:43along with all the examples and all the
  1440. 52:45different tabs but I don't need this I'm
  1441. 52:47not going to work with this so I'm going
  1442. 52:48to close this out instead I'm going to
  1443. 52:50be working off where we left from last
  1444. 52:52time in that two workbooks where we
  1445. 52:55actually moved over that January data
  1446. 52:57set now quick disclaimer for any of
  1447. 52:59these files that you're opening up if
  1448. 53:01you're noticing the security warning of
  1449. 53:03automatic updates of links have been
  1450. 53:05disabled can go ahead and just enable
  1451. 53:08the content and then click right here on
  1452. 53:10do not ask me again for network files
  1453. 53:13and select yes cuz I want to make it a
  1454. 53:15trusted document now if you're getting
  1455. 53:17any of these areas that the file has
  1456. 53:19been moved renamed or deleted cuz mainly
  1457. 53:21you have it in a different location of
  1458. 53:23what I had it here's actually the
  1459. 53:25address of the file that I'm using I
  1460. 53:28open it up anyway this is the actual
  1461. 53:30address of where the file is anyway you
  1462. 53:32can come down here and select these
  1463. 53:33three dots on the file in question and
  1464. 53:35just select change Source go into browse
  1465. 53:40and then from there inside the actual
  1466. 53:42file itself select where this is so in
  1467. 53:45this case it's looking for that data set
  1468. 53:46file with the data job salary monthly
  1469. 53:48I'm going to select it select okay and
  1470. 53:50then it's prompting me now that this
  1471. 53:52link workbook hasn't been refreshed want
  1472. 53:54to and go ahead and refresh it and it's
  1473. 53:55going to update it all right close out
  1474. 53:57of this now anyway that was all s silly
  1475. 53:59because I'm going to go ahead and delete
  1476. 54:02this formula one right here and also
  1477. 54:04this copy and paste tab right here we
  1478. 54:07only want to keep the Mover copy which
  1479. 54:09is the actual sheet that we moved over
  1480. 54:12that has all the data for this lesson
  1481. 54:15okay I'm just going to rename the sheet
  1482. 54:19data so let's dive into this Home tab
  1483. 54:21and this thing has a lot to do with
  1484. 54:24formatting the text and how things
  1485. 54:27appear within the spreadsheet for
  1486. 54:29example I can select all these top rows
  1487. 54:32right here so basically A1 all the way
  1488. 54:34to P1 I can change this font size to
  1489. 54:37something like 12 for the fill color or
  1490. 54:39the background color I can change it to
  1491. 54:41something like a light gray right now it
  1492. 54:43looks like it's already bold I could
  1493. 54:45turn it off or turn it back on
  1494. 54:46inspecting all these different columns I
  1495. 54:48can see that some of it is hidden
  1496. 54:50especially here this date column I can
  1497. 54:52see inside of here this is the actual
  1498. 54:54value but whenever we actually look look
  1499. 54:56at it from afar like it it has these
  1500. 54:58Amper sand signs so double clicking on
  1501. 55:01the edge of that H column right here it
  1502. 55:04actually expands out and moves it where
  1503. 55:05it needs to go you can actually do this
  1504. 55:07for all the column by just selecting all
  1505. 55:09of them and then double clicking that
  1506. 55:12last one and then that expands it all
  1507. 55:14the way we can see that that last column
  1508. 55:16is well super long so it has all the
  1509. 55:17different skills typically these titles
  1510. 55:19up the top I'd like to maintain centered
  1511. 55:22so that way I know that it's a title but
  1512. 55:23I could move it to either side also so I
  1513. 55:26can move it up or down if I wanted to
  1514. 55:28but we'll leave it right there in the
  1515. 55:29center as well getting into the number
  1516. 55:31formatting itself I can actually go and
  1517. 55:34select something like job post to date
  1518. 55:35it's going to select that whole column
  1519. 55:37if I wanted to I can turn this into a
  1520. 55:39date so in our case I want to do a short
  1521. 55:42date now other columns I would want to
  1522. 55:44format are these salary year average and
  1523. 55:48also salary hour average so besides just
  1524. 55:52clicking here I can also just select
  1525. 55:54that hey I want to use this as an
  1526. 55:56accounting number format and it's going
  1527. 55:58to automatically put these decimal
  1528. 55:59places at the end two decimal places
  1529. 56:01since we're in the 100 thousands I don't
  1530. 56:03really care about so I'm actually going
  1531. 56:04to remove them by saying decrease
  1532. 56:06decimal I'm going to do that twice now
  1533. 56:08for something like salary hour average
  1534. 56:10I'm going to also convert this to a
  1535. 56:12currency but for these these may have
  1536. 56:14two decimal places of values included in
  1537. 56:17it so I'm going to leave it now so for
  1538. 56:19the Styles and cells portion we're going
  1539. 56:21to be getting into this more especially
  1540. 56:23into conditional formatting in the
  1541. 56:25spreadsheets Advanced chapter and
  1542. 56:27chapter 4 so we'll save that for then
  1543. 56:29the next thing I want to do is get into
  1544. 56:31this editing and this is a pretty
  1545. 56:33powerful feature we can actually sort
  1546. 56:36and filter our data if we wanted to so
  1547. 56:39what I'm going to do is actually select
  1548. 56:41all these cells from P1 all the way to
  1549. 56:44A1 and then come in here inside of
  1550. 56:47editing select sord and filter and apply
  1551. 56:50this filter so let's actually get into
  1552. 56:52filtering this data specifically I'm
  1553. 56:54wanting to investigate
  1554. 56:57jobs or data analyst jobs in the United
  1555. 56:59States and specifically full-time jobs
  1556. 57:02we're going to be looking at the salary
  1557. 57:03data for this so I want to filter it
  1558. 57:05down for it so I'm going to select here
  1559. 57:08I'm going to unclick select all and
  1560. 57:10select data analyst and now it's going
  1561. 57:12to filter for all the different data
  1562. 57:14analyst roles there nothing else that's
  1563. 57:15not there additionally that job schedule
  1564. 57:18type I want to be looking at full-time
  1565. 57:20roles only I don't want to include any
  1566. 57:22other ones so I'll select fulltime I
  1567. 57:24want the country I don't want to be
  1568. 57:26skewed by any other countries I live in
  1569. 57:28the United States so I'm going to then
  1570. 57:30select United States and then finally I
  1571. 57:33only want to look at the salary or the
  1572. 57:36yearly salary data so I can actually
  1573. 57:39come over here to the salary rate and
  1574. 57:40select here I only want to look at the
  1575. 57:43year data okay so now this has
  1576. 57:45everything in it that I want we're going
  1577. 57:46to get to analyzing and visualizing this
  1578. 57:48in a second before that I want to talk
  1579. 57:50about two other features addins which we
  1580. 57:52talked about before on how you access to
  1581. 57:53the file menu you can get to addin via
  1582. 57:56this and finally analyze data which in
  1583. 58:01my opinion isn't that strong of a
  1584. 58:03feature this tab uses a little bit of
  1585. 58:06artificial intelligence behind the
  1586. 58:08scenes for you to investigate so it'll
  1587. 58:10actually provide you different
  1588. 58:11visualizations that you could actually
  1589. 58:13visualize out of your data and or even
  1590. 58:16you can go as far as asking a question
  1591. 58:19about maybe you want to see hey the
  1592. 58:20distribution of salary rate or something
  1593. 58:22like that all you have to do is come
  1594. 58:24down here and then insert in the chart
  1595. 58:26that you want to insert in I'm going to
  1596. 58:28close out of this now we can see that
  1597. 58:30we've made this salary distribution um
  1598. 58:33that we maybe want to visualize overall
  1599. 58:35though I find that this analyzed data is
  1600. 58:37pretty hit or miss so I'm not using it
  1601. 58:40very
  1602. 58:43often now the insert tab is where I
  1603. 58:45spend the second most of my time after
  1604. 58:47the Home tab they conveniently put in
  1605. 58:48the correct order there's three major
  1606. 58:50use cases that I'm using out of this in
  1607. 58:53chapter 4 on the advanced use of spread
  1608. 58:56sheets we're going to be going into
  1609. 58:57tables and then in chapter five we're
  1610. 59:00going to be going into pivot tables but
  1611. 59:03even closer to that in chapter 3 we're
  1612. 59:05going to be going all into depth on how
  1613. 59:07to use these charts but let's get a
  1614. 59:09sneak peek into this specifically
  1615. 59:11remember we filtered this table down to
  1616. 59:13data analyst jobs in the United States
  1617. 59:16and specifically full-time roles we want
  1618. 59:18to visualize this salary year average
  1619. 59:22column so with column M selected I come
  1620. 59:25up here to recommend charts and it's
  1621. 59:27going to give me a visualization of some
  1622. 59:29well recommended charts now there's only
  1623. 59:30four here I can also select this other
  1624. 59:32tab up here on all chart and actually
  1625. 59:35try to see hey what would this look like
  1626. 59:37maybe in a pie chart or a bar chart
  1627. 59:40anyway I want this in a histogram which
  1628. 59:41we're going to go into more detail on
  1629. 59:42how to read this later what all have to
  1630. 59:44do is just come in here double click it
  1631. 59:46it'll insert it in now notice how
  1632. 59:49whenever this was created we now have
  1633. 59:52new tabs appear inside of here
  1634. 59:55specifically with this selected we have
  1635. 59:56this chart design and format tab if I
  1636. 59:58select off of it those tabs disappear
  1637. 1:00:01and select it again they reappear this
  1638. 1:00:04tab allows me to dive in and actually
  1639. 1:00:06further customize these visualizations
  1640. 1:00:08to how I want them to appear I can even
  1641. 1:00:11move them to let's say a new sheet and I
  1642. 1:00:14can title this something like histogram
  1643. 1:00:16and then move it the charge Stone always
  1644. 1:00:19necessarily appear just like that let's
  1645. 1:00:21actually do a deeper analysis to see
  1646. 1:00:23what are the different job title short
  1647. 1:00:25columns available I want to clear all
  1648. 1:00:27these different filters on here so I'm
  1649. 1:00:29going to come back up here with this one
  1650. 1:00:31row selected come into editing sort in
  1651. 1:00:33filter and I'm going to say hey clear
  1652. 1:00:35all the different filters now selecting
  1653. 1:00:38column A going into insert and into
  1654. 1:00:40recommended charts it's recommended this
  1655. 1:00:43clustered bar chart which is actually
  1656. 1:00:45what I want to view so double clicking
  1657. 1:00:47on this this provides me a breakdown of
  1658. 1:00:50all the different counts of the
  1659. 1:00:52different job titles within our our data
  1660. 1:00:56set and we can see things like data
  1661. 1:00:58scientist engineer and analyst are some
  1662. 1:01:00of the highest amount of job postings in
  1663. 1:01:03this data set now unlike our histogram
  1664. 1:01:05example this actually provides this data
  1665. 1:01:08in a pivot table which we're going to be
  1666. 1:01:10going into in the pivot table chapter
  1667. 1:01:12which allows me to further manipulate
  1668. 1:01:14the data so say I want to actually sort
  1669. 1:01:16this I could rightclick the values right
  1670. 1:01:18here and clict hey sort smallest to
  1671. 1:01:20largest and then closing out this pivot
  1672. 1:01:23table tab right here I can actually see
  1673. 1:01:26what is the highest amount of job
  1674. 1:01:28compared to the lowest which is cloud
  1675. 1:01:32engineer now there's remaining tabs
  1676. 1:01:34we're going to be going and hopefully
  1677. 1:01:35rapid fire in order to cover these as I
  1678. 1:01:37find I'm using these less frequently
  1679. 1:01:39than these other tabs that we previously
  1680. 1:01:41talked about the draw tab allows you to
  1681. 1:01:43well draw on your spreadsheet so I can
  1682. 1:01:46just write on it if I wanted to but I
  1683. 1:01:48don't really find myself doing that
  1684. 1:01:49except for maybe being I'm building
  1685. 1:01:50dashboards besides that use case is
  1686. 1:01:52pretty rare if I want to end do this
  1687. 1:01:54drawing right here I can come up here
  1688. 1:01:56and click undo or I can select contrl Z
  1689. 1:01:59and it'll remove it page layout tab is
  1690. 1:02:02great if you're having to print out any
  1691. 1:02:04data for those co-workers that are
  1692. 1:02:05living in the past and don't know how to
  1693. 1:02:07accept things digitally you can do
  1694. 1:02:09everything from adjusting your page
  1695. 1:02:10layout to adjusting the scale that
  1696. 1:02:12you're actually viewing things now
  1697. 1:02:14personally I find myself more using
  1698. 1:02:16these sheet options right here so if I
  1699. 1:02:18go to this job count tab right here if I
  1700. 1:02:20wanted to I could turn off the grid
  1701. 1:02:24lines on here as you can can see it got
  1702. 1:02:26white on the background I really like
  1703. 1:02:28that now if I wanted to make sure they
  1704. 1:02:30had actual grid lines around my table I
  1705. 1:02:32come back to the Home tab and for here I
  1706. 1:02:35can select borders and from there I want
  1707. 1:02:37to put all borders on there so now I
  1708. 1:02:39look like I have this table right here
  1709. 1:02:41along with my graph super fancy next up
  1710. 1:02:43is formulas this is where you need to go
  1711. 1:02:45if you can't remember a function that
  1712. 1:02:47maybe you want to use if it's a text
  1713. 1:02:49function you come in here select
  1714. 1:02:50something like text you can scroll
  1715. 1:02:52through and actually see even a
  1716. 1:02:54description of of the different
  1717. 1:02:56functions that are available so in this
  1718. 1:02:58case replace it tells you hey replace
  1719. 1:03:00this part of a text string with a
  1720. 1:03:01different text string depending on what
  1721. 1:03:03version of excel you have and the newer
  1722. 1:03:04ones you'll have this insert python to
  1723. 1:03:07insert python functions and then finally
  1724. 1:03:09they have more advanced features with
  1725. 1:03:12maintaining and updating and formatting
  1726. 1:03:14your different formulas and functions
  1727. 1:03:16which we'll be diving to in the next
  1728. 1:03:17chapter now besides the home and insert
  1729. 1:03:20tab the data tab is the next tab that I
  1730. 1:03:24find myself using all the time in
  1731. 1:03:26chapter 7 we'll be diving into Power
  1732. 1:03:29query and we're going to be focusing
  1733. 1:03:30heavily on this getting transform data
  1734. 1:03:32and also queries and connections and
  1735. 1:03:35then in chapter 8 when we get to power
  1736. 1:03:37pivot we're going to be going into
  1737. 1:03:39managing our data model with power pivot
  1738. 1:03:42in chapter 4 we're going to be going
  1739. 1:03:43into this forecasting and we're also
  1740. 1:03:45going to be adding in some extra add-ins
  1741. 1:03:47that are going to appear in this data
  1742. 1:03:48tab now I sort of skipped over the data
  1743. 1:03:50types and sort and filter because we've
  1744. 1:03:51saw them on the Home tab they're just
  1745. 1:03:54conveniently located here in bigger
  1746. 1:03:56format for you use also all right this
  1747. 1:03:58tab on review is probably the least
  1748. 1:04:00likely for me to actually use I can
  1749. 1:04:02actually go through and check things
  1750. 1:04:03like spelling and add comments or even
  1751. 1:04:05protect my sheet besides that I'm not
  1752. 1:04:08finding I'm using that this often view
  1753. 1:04:10tab is similar to the review Tab and
  1754. 1:04:12that I'm using it a little bit more you
  1755. 1:04:14can change the format of how you
  1756. 1:04:15actually want to view things but mainly
  1757. 1:04:18I'm finding myself using this the most
  1758. 1:04:20of freeze pains let's say you see I'm
  1759. 1:04:22scrolling down here and I don't know
  1760. 1:04:24what the job or what the he headers are
  1761. 1:04:26right here so going over to this data
  1762. 1:04:28tab I can actually come in here to
  1763. 1:04:29freeze panes and select freeze top row
  1764. 1:04:32or even freeze First Column so in this
  1765. 1:04:35case that top row actually stays up
  1766. 1:04:36there and I really like it like that now
  1767. 1:04:38let's say I want to freeze both the top
  1768. 1:04:40row and that First Column there's not
  1769. 1:04:41really a selection for that so here's
  1770. 1:04:43what you can do you can come over here
  1771. 1:04:44to freeze panes and select unfreeze
  1772. 1:04:46paines and then select something like a
  1773. 1:04:48cell like B2 that means I want
  1774. 1:04:50everything above this and to the left of
  1775. 1:04:52it to freeze so now when I select freeze
  1776. 1:04:54panes this upper or top row is actually
  1777. 1:04:57Frozen and then the actual First Column
  1778. 1:05:00is Frozen as well all right final tab is
  1779. 1:05:02help and I'll be honest I think this is
  1780. 1:05:05pretty useless if I get stuck with
  1781. 1:05:06anything along the way I'm finding
  1782. 1:05:08myself navigating to something like chat
  1783. 1:05:10GPT and it's helping me a lot quicker
  1784. 1:05:13than trying to navigate through this
  1785. 1:05:14help box that it provides and I'm
  1786. 1:05:16already getting an error message with
  1787. 1:05:18even accessing it so you can see how
  1788. 1:05:19often I even use it
  1789. 1:05:22then now we've been doing a lot of
  1790. 1:05:24manual clicking with using the ribbon
  1791. 1:05:27and I think a good resource that goes
  1792. 1:05:29with this is shortcuts so if you come
  1793. 1:05:31inside of the resources folder we have a
  1794. 1:05:34Excel file here called Excel shortcuts
  1795. 1:05:37and what this has in it is a list of all
  1796. 1:05:39the different shortcuts that I find
  1797. 1:05:41myself using anytime I'm inside of excel
  1798. 1:05:44so it's worth having all of these I'm
  1799. 1:05:46not going to lie committed to memory it
  1800. 1:05:48looks like a long list but I'm telling
  1801. 1:05:49you by the end of this you're going to
  1802. 1:05:51have all of these basically committed to
  1803. 1:05:52memory they're going to be timesaver now
  1804. 1:05:55although I shed on people that print out
  1805. 1:05:57stuff this would be something that I do
  1806. 1:05:59recommend actually printing out and
  1807. 1:06:01having next to you so that way you can
  1808. 1:06:02reference really quickly while going
  1809. 1:06:04through this course all right now I know
  1810. 1:06:06we move fast through that but we're
  1811. 1:06:08really going to be diving into as I
  1812. 1:06:09called out during this lesson all of
  1813. 1:06:12these different tabs even more as we
  1814. 1:06:14advance through all the different
  1815. 1:06:15chapters that was more of a sneak peek
  1816. 1:06:16into what you're going to be exposed to
  1817. 1:06:19coming up in this course all right for
  1818. 1:06:21those that purchas the practice problems
  1819. 1:06:22you have some problems to go through and
  1820. 1:06:24actually experiment more with with the
  1821. 1:06:26tabs in the next chapter we're going to
  1822. 1:06:27be jumping into functions and also more
  1823. 1:06:30specifically formulas order to build
  1824. 1:06:32them out and form data analysis on that
  1825. 1:06:34data science job posting data set with
  1826. 1:06:36that I'll see you in the next
  1827. 1:06:40one all right welcome to this chapter on
  1828. 1:06:43formulas and functions in this lesson
  1829. 1:06:46we're going to be focusing specifically
  1830. 1:06:48on going a deep dive and understanding
  1831. 1:06:51formulas then in all the follow on
  1832. 1:06:54lessons this we're going to spend the
  1833. 1:06:55majority of our time working on
  1834. 1:06:57functions for that we'll be exploring
  1835. 1:07:00the entire function Library focusing on
  1836. 1:07:02the key functions within this library
  1837. 1:07:05that I find that I'm using time and time
  1838. 1:07:08again in data analytics so what are we
  1839. 1:07:10going to be doing in this lesson well
  1840. 1:07:11we're going to be focusing on a
  1841. 1:07:13fictitious data set we're going to keep
  1842. 1:07:15it small in order for us to get more
  1843. 1:07:17familiar with operating with formulas
  1844. 1:07:19and operating on this data set
  1845. 1:07:21specifically by the end of this we're
  1846. 1:07:23going to be able to input into into this
  1847. 1:07:26worksheet a number of years of
  1848. 1:07:27experience or total salary and be able
  1849. 1:07:30to see whether these jobs meet those
  1850. 1:07:33conditions specifically me that I meet
  1851. 1:07:35both of those conditions so for this you
  1852. 1:07:37can follow along by opening that
  1853. 1:07:39formulas intro workbook in this workbook
  1854. 1:07:41will be staying in this data sheet right
  1855. 1:07:43here all the different answers when we
  1856. 1:07:45get to the math operators comparison
  1857. 1:07:47operators or cell referencing are shown
  1858. 1:07:49via that sheet but we'll just be
  1859. 1:07:51sticking for data for
  1860. 1:07:54now first as math operators and as shown
  1861. 1:07:57by this table here you can use a variety
  1862. 1:08:00of different symbols for to conduct
  1863. 1:08:02different multiplication subtraction
  1864. 1:08:04division operations that you want to do
  1865. 1:08:06so let's dive into testing some of these
  1866. 1:08:07out we're going to be filling in each of
  1867. 1:08:09these columns that correlate with the
  1868. 1:08:11associated job title as we go through
  1869. 1:08:13this so the first one's going to be
  1870. 1:08:15experience pretty simple right we talked
  1871. 1:08:16about before in order to reference
  1872. 1:08:18another cell we would use an equal sign
  1873. 1:08:21and then from there we can either type
  1874. 1:08:22or select a cell I'm going to recommend
  1875. 1:08:25just typing it to make it go faster C3
  1876. 1:08:27it's highlighted blue because that's the
  1877. 1:08:29cell that's highlighted then we'll be
  1878. 1:08:30using the autofill feature of this to
  1879. 1:08:33fill in all the cells below and we
  1880. 1:08:35notice that it updates to here this
  1881. 1:08:37one's equal to C12 which correlates to
  1882. 1:08:39this one right to the left of it so
  1883. 1:08:41let's calculate our total salary and
  1884. 1:08:43this is going to be taking our annual
  1885. 1:08:44salary in column D and adding it to our
  1886. 1:08:47bonus Max in column e so we can do this
  1887. 1:08:50by specifying
  1888. 1:08:52D3 plus E3 and from there there pressing
  1889. 1:08:56enter once again to autofill it I select
  1890. 1:08:58that cell that I want and drag it on
  1891. 1:09:00down now if I want to calculate what is
  1892. 1:09:02the rate of bonus or the bonus rate that
  1893. 1:09:05is going to be the bonus divided by that
  1894. 1:09:09salary so in this case E3 / D3 once
  1895. 1:09:15again going to use autofill drag and
  1896. 1:09:16drop it all the way down now for all
  1897. 1:09:18these values I don't like what it's
  1898. 1:09:19formatted as right now I'm actually
  1899. 1:09:21going to change this to a percentage and
  1900. 1:09:23I want to see one decimal place so I'll
  1901. 1:09:26press this one to expand out one now
  1902. 1:09:28anytime I do any type of mathematical
  1903. 1:09:30operation in Excel I always want to try
  1904. 1:09:32to confirm it that it's correct I did
  1905. 1:09:35the operation correctly so in the case
  1906. 1:09:37of this bonus rate I can do this by
  1907. 1:09:40confirming what we got for total salary
  1908. 1:09:43previously so if we took that bonus rate
  1909. 1:09:45is which we want to confirm right so
  1910. 1:09:47we're going to take that and multiply it
  1911. 1:09:50times our annual salary right so that
  1912. 1:09:53should give us that bonus rate right
  1913. 1:09:55there then if we wanted to like we said
  1914. 1:09:57we want to confirm total salary right
  1915. 1:09:58here so I can just add in that we want
  1916. 1:10:02to also add in that annual salary itself
  1917. 1:10:06and we do have that total salary right
  1918. 1:10:08here to actually confirm what's going on
  1919. 1:10:10dragging it down and doing an autofill
  1920. 1:10:12all these values look like they
  1921. 1:10:14correlate to what it should be for total
  1922. 1:10:16salary so I feel we calculate a bonus
  1923. 1:10:18rate correctly now going back into the
  1924. 1:10:20formula itself you can see we have
  1925. 1:10:22multiple operations in here how do we
  1926. 1:10:24know whether multiplication addition
  1927. 1:10:26subtraction what comes first well really
  1928. 1:10:29if you know the order of operations it
  1929. 1:10:31really is the same here here the
  1930. 1:10:33different operators listed in their
  1931. 1:10:35order of Precedence exponentiation comes
  1932. 1:10:38first multiplication division or second
  1933. 1:10:41then addition and subtraction are third
  1934. 1:10:43it's Then followed by concatenation
  1935. 1:10:45which we did in one of the previous
  1936. 1:10:46lessons followed by the comparison
  1937. 1:10:48operators which we're about to get
  1938. 1:10:52to so with that segue here we are
  1939. 1:10:54comparison operators
  1940. 1:10:56for this you probably are familiar with
  1941. 1:10:57the first three the last three are
  1942. 1:10:59something that get a little bit more
  1943. 1:11:00complicated whenever you have a greater
  1944. 1:11:02than or equal to less than or equal to
  1945. 1:11:04or in this case a not equal to so
  1946. 1:11:07previously I just sort of did a cursor
  1947. 1:11:09check to make sure this confirmed t
  1948. 1:11:11total salary column equals this other
  1949. 1:11:13total salary column but imagine you have
  1950. 1:11:16hundreds of thousands of rows how can we
  1951. 1:11:17actually compare this and find these
  1952. 1:11:19values well what we can do is we can say
  1953. 1:11:22hey is G3
  1954. 1:11:25equal to I3 this looks a little bit
  1955. 1:11:28confusing right CU you have two equal
  1956. 1:11:30signs in there but everything to the
  1957. 1:11:31right of the equal sign it's basically a
  1958. 1:11:33comparison and from there it either ends
  1959. 1:11:36up as a true or a false and we can drag
  1960. 1:11:39and autofile this in and everything is
  1961. 1:11:41true similarly if we want to find
  1962. 1:11:43something like is the bonus Max greater
  1963. 1:11:45than the annual salary we can do hey is
  1964. 1:11:48bonus Max at E3 greater than that at D3
  1965. 1:11:53and the typical of any data a science
  1966. 1:11:55job none of these really exceed that at
  1967. 1:12:00all all right now that we're familiar
  1968. 1:12:02with math operators and also comparison
  1969. 1:12:04operators let's dive deeper into cell
  1970. 1:12:07referencing and we've been doing this
  1971. 1:12:09previously whenever we reference another
  1972. 1:12:10cell like A2 but we're going to add a
  1973. 1:12:13little twist to this I'm going to go
  1974. 1:12:14ahead and hide some of these columns
  1975. 1:12:16that way we clear up the Clutter going
  1976. 1:12:18to hide column F by right clicking it
  1977. 1:12:20and selecting hide then I'm also going
  1978. 1:12:22to select all the columns H through k
  1979. 1:12:25and also hide them want everything to
  1980. 1:12:28appear on the same sheet so we're going
  1981. 1:12:29to be referencing this table down here
  1982. 1:12:32for this portion of the exercise and
  1983. 1:12:35this is potentially goals that you may
  1984. 1:12:37have when you're trying to land a job
  1985. 1:12:39you may know how many years of
  1986. 1:12:40experience or you should have know how
  1987. 1:12:42many years of experience you have along
  1988. 1:12:43with a goal total salary that you want
  1989. 1:12:45to achieve and so we're going to be
  1990. 1:12:47building out formulas with this in order
  1991. 1:12:49to be able to find out which of these
  1992. 1:12:52jobs actually meet our conditions of the
  1993. 1:12:55expected years of experience and total
  1994. 1:12:58salary for so for this we'll go with
  1995. 1:12:59that I have five years of experience
  1996. 1:13:01then I'm looking at
  1997. 1:13:03$90,000 the first we want to calculate
  1998. 1:13:05in column L is whether it meets our
  1999. 1:13:08experience so for this we'll say hey is
  2000. 1:13:11C15 right here less than or equal to the
  2001. 1:13:16value right here in our experience and
  2002. 1:13:19as expected five is less than or equal
  2003. 1:13:21to basically equal to 5 it's true now
  2004. 1:13:24we're going to run a problem now when we
  2005. 1:13:25try to autofill this if I try to
  2006. 1:13:27autofill this down I'm getting this one
  2007. 1:13:30is false and then these all is true but
  2008. 1:13:33I would expect especially this AI
  2009. 1:13:34specialist at three it would be false
  2010. 1:13:37and so let's actually inspect this well
  2011. 1:13:40as we can see from this this is
  2012. 1:13:42referencing well c23 which is way down
  2013. 1:13:45here but it's still referencing the
  2014. 1:13:47correct C11 right here the problem is we
  2015. 1:13:50didn't really want this value up here
  2016. 1:13:54this C15 to actually change whenever we
  2017. 1:13:56went to do the autofill down below it so
  2018. 1:13:59what we can do here is provide a fixed
  2019. 1:14:02reference of that cell in order to do
  2020. 1:14:04this we're going to insert those dollar
  2021. 1:14:06signs that we saw
  2022. 1:14:08previously before the column and then
  2023. 1:14:10also the row so in this case I have C
  2024. 1:14:14locked and I have 15 locked now the
  2025. 1:14:16formula itself doesn't change at all but
  2026. 1:14:18now when I drag and drop this down all
  2027. 1:14:23of these are updating correctly as
  2028. 1:14:24expected AI specialist is going to be
  2029. 1:14:26false whenever I actually click on it to
  2030. 1:14:28inspect it it's still referencing that
  2031. 1:14:30C15 C11 next we're going to move on to
  2032. 1:14:33column M of seeing if it meets our
  2033. 1:14:35salary requirements so for this one
  2034. 1:14:37we'll be seeing hey is the salary or
  2035. 1:14:41total salary in G3 greater than or equal
  2036. 1:14:45to our total salary down here of 90,000
  2037. 1:14:49now we already know we need to lock c16
  2038. 1:14:52of this 990,000 because we're going to
  2039. 1:14:53be autofilling it down I can manually
  2040. 1:14:56type in the dollar signs but a shortcut
  2041. 1:14:58to this is just pressing F4 if you're on
  2042. 1:15:01a Mac you'll need to press function F4
  2043. 1:15:04anyway this locks this in so now
  2044. 1:15:07whenever I drag and drop this down as
  2045. 1:15:10expected the only other one that's less
  2046. 1:15:11than 990,000 is this data analyst rule
  2047. 1:15:13right here now I want to play with this
  2048. 1:15:15just a little bit more so we talked
  2049. 1:15:16about this right here putting a dollar
  2050. 1:15:18sign in front of the column and then a
  2051. 1:15:20dollar sign some of the row is a fixed
  2052. 1:15:23reference they also have what is called
  2053. 1:15:24a mixed reference so I'm going to go
  2054. 1:15:26ahead and put my cursor right there next
  2055. 1:15:29to G3 I'm going to press F4 and it's
  2056. 1:15:32going to do the absolute reference but
  2057. 1:15:34if I press it one more time it's going
  2058. 1:15:36to do a mix reference if you notice
  2059. 1:15:38there's only a dollar sign in front of
  2060. 1:15:39the three or if I press it again there's
  2061. 1:15:41only a dollar sign in front of the G now
  2062. 1:15:45technically this is going to work but
  2063. 1:15:46fine because we're going to now lock
  2064. 1:15:48this G column for this but it's going to
  2065. 1:15:50allow the three to update so I'm going
  2066. 1:15:52to show you this now by actually
  2067. 1:15:54dragging and dropping this down and from
  2068. 1:15:57there inspecting that last cell contents
  2069. 1:16:00we can see that that g is locked as
  2070. 1:16:01expected but it moved down now instead
  2071. 1:16:04of locking just the column we could also
  2072. 1:16:06lock the rows so I could also do change
  2073. 1:16:09up c16 now instead and lock the rows of
  2074. 1:16:13c16 cuz we're going to still stay in
  2075. 1:16:15that c column right there pressing enter
  2076. 1:16:17now autofill we don't have to just go
  2077. 1:16:19down we can also go up so inspecting it
  2078. 1:16:22locking it didn't really change by only
  2079. 1:16:24locking the row of 16 so let's wrap this
  2080. 1:16:27all up by actually def finding out which
  2081. 1:16:29of these actually meet both of our
  2082. 1:16:32conditions of 5 years and 990,000 well
  2083. 1:16:34it turns out that behind the scenes true
  2084. 1:16:37is equal to 1 and Z is equal to false so
  2085. 1:16:40if actually were to take this and add
  2086. 1:16:42this true to this true right here we
  2087. 1:16:44should get two autofilling it all the
  2088. 1:16:47way down we have two1 2 1 so basically
  2089. 1:16:50confirm that hey zero yeah false is zero
  2090. 1:16:53because 0 plus 0 is Zer now I recommend
  2091. 1:16:56instead we're going to be going through
  2092. 1:16:57and doing L3 * M3 so that way anytime
  2093. 1:17:00either one of these are true they will
  2094. 1:17:03return a one and now in order to get a
  2095. 1:17:06true or false back on whether it meets
  2096. 1:17:08both we can select that N3 and see hey
  2097. 1:17:13is it equal to one type over there equal
  2098. 1:17:16to one and it evaluates to true so now
  2099. 1:17:19I'm going to go ahead and just hide
  2100. 1:17:21these columns so we can actually see
  2101. 1:17:22this a little bit better but we can
  2102. 1:17:25find values in here that meet our
  2103. 1:17:28conditions of the 90,000 or 5 years and
  2104. 1:17:30let's say we're doing job searching and
  2105. 1:17:32it lasts over a year um we have to
  2106. 1:17:34change this to six this will
  2107. 1:17:36automatically update the formulas that
  2108. 1:17:38we've used here as shown here so that's
  2109. 1:17:41our intro to formulas and for me the
  2110. 1:17:43hardest thing to wrap my head around
  2111. 1:17:45when I was first tackling this was
  2112. 1:17:46around absolute and mixed references so
  2113. 1:17:49we have some practice problems for those
  2114. 1:17:51that purchased the course practice
  2115. 1:17:52problems in order to go through and test
  2116. 1:17:54this out and understanding what happens
  2117. 1:17:56whenever you lock the row or lock the
  2118. 1:17:58column all right and after that we'll
  2119. 1:18:00next be diving into an intro into
  2120. 1:18:02formulas which I'll be covering for the
  2121. 1:18:04remainder of this chapter with that see
  2122. 1:18:06you in the next
  2123. 1:18:10one for this lesson we're going to be
  2124. 1:18:12focusing on an intro into functions
  2125. 1:18:15specifically we're going to be going
  2126. 1:18:16over all the different functions that
  2127. 1:18:18we're going to be deep diving within
  2128. 1:18:20this chapter itself along with some
  2129. 1:18:22common problems you may run into and
  2130. 1:18:24errors and how to troubleshoot it to do
  2131. 1:18:26this we'll be continuing on from that
  2132. 1:18:29data set that we used in the last lesson
  2133. 1:18:31specifically we'll be calculating things
  2134. 1:18:33like averages and counts and how many
  2135. 1:18:36jobs actually meet our goals and we'll
  2136. 1:18:39be using functions for this so you can
  2137. 1:18:42continue working in that workbook that
  2138. 1:18:43you had from last time or open this
  2139. 1:18:46function intros workbook in this
  2140. 1:18:49function intros workbook I've gone ahead
  2141. 1:18:51and moved our job goals over here to
  2142. 1:18:53that column RNs and then added in this
  2143. 1:18:56bottom portion right here for the
  2144. 1:18:57averages and total counts really you can
  2145. 1:19:00do and manipulate as you
  2146. 1:19:03want so why use functions let's look at
  2147. 1:19:06a couple quick examples on the
  2148. 1:19:08importance of these things let's say we
  2149. 1:19:10wanted to get the average of each one of
  2150. 1:19:13these Columns of experience annual
  2151. 1:19:14salary and bonus Max previously we know
  2152. 1:19:17we can actually reference each one of
  2153. 1:19:19these cells to calculate the average we
  2154. 1:19:21wanted to do that we would have to
  2155. 1:19:23actually add up all the values so I have
  2156. 1:19:25to go through select C3 C4 all the way
  2157. 1:19:28down to
  2158. 1:19:29C12 and we would need to divide it by
  2159. 1:19:33that total number of 1 2 3 4 5 6 7 8 9
  2160. 1:19:3710 in that case we' get the average also
  2161. 1:19:40that me count that 10 wasn't necessarily
  2162. 1:19:42perfect so I don't really recommend
  2163. 1:19:43doing this but anyway nonetheless we can
  2164. 1:19:45actually do autofill to calculate the
  2165. 1:19:48averages as the is as well as it
  2166. 1:19:50automatically update the referencing
  2167. 1:19:52correctly to it but I don't recommend
  2168. 1:19:54doing that instead I recommend using
  2169. 1:19:57functions specifically we can use
  2170. 1:19:58something like the average function as
  2171. 1:20:00soon as I start typing a function a in
  2172. 1:20:04this case all the functions that have
  2173. 1:20:06the a name pop up if I wanted to well I
  2174. 1:20:08do know I want average right here I can
  2175. 1:20:11select it it provides a brief statement
  2176. 1:20:13of what it's actually going to do and
  2177. 1:20:15then I can doubleclick it to insert it
  2178. 1:20:18below here it actually specifies what's
  2179. 1:20:21going on with this function here and
  2180. 1:20:24specifically to provides me to hey
  2181. 1:20:26provide in these numbers now I could
  2182. 1:20:28select these number by number as we can
  2183. 1:20:30see that there's in Brackets here this
  2184. 1:20:32number two that means it's an optional
  2185. 1:20:34parameter but instead what we'll do is
  2186. 1:20:36we'll just provide a range providing it
  2187. 1:20:39from C3 all the way to C12 in that case
  2188. 1:20:43I got 5.3 similar to above and then
  2189. 1:20:45dragging this over we can get all the
  2190. 1:20:47other values as well as a quick example
  2191. 1:20:49also previously we had made this sort of
  2192. 1:20:52convoluted formula in order to calculate
  2193. 1:20:54calate whether we met both conditions of
  2194. 1:20:58mean our experience and also our salary
  2195. 1:21:00which we're specified over here well
  2196. 1:21:02there's actually a formula for that and
  2197. 1:21:04it's called the and formula and what it
  2198. 1:21:07takes for its arguments are logical
  2199. 1:21:09values so it can take a logical one for
  2200. 1:21:11the first parameter I can specify L3 and
  2201. 1:21:15then for the second parameter I can
  2202. 1:21:17specify M3 and notice how this second
  2203. 1:21:20parameter now highlights or becomes more
  2204. 1:21:22bold as I put it in so you can keep
  2205. 1:21:24track of where you are in the formula
  2206. 1:21:26any I'm going to close the parenthesis
  2207. 1:21:27press enter and it evaluates to True
  2208. 1:21:30dragging it all down these should match
  2209. 1:21:32these other ones and yeah this is
  2210. 1:21:34definitely something I'd use over these
  2211. 1:21:35formulas that I've used
  2212. 1:21:38before so let's dive into this formula
  2213. 1:21:41tab more and understand the capabilities
  2214. 1:21:44that we're going to be carrying out the
  2215. 1:21:45next lessons in this chapter the most
  2216. 1:21:48powerful of these especially for those
  2217. 1:21:49new to excel is this insert function
  2218. 1:21:52anytime you're looking for a function
  2219. 1:21:54and maybe can't can't recall the name
  2220. 1:21:56and you're not sure what even starts
  2221. 1:21:57with you can put something in here so
  2222. 1:21:59say I wanted maybe the average I can
  2223. 1:22:02type in average and then everything that
  2224. 1:22:04basically calculates a different average
  2225. 1:22:07off of it even if they're closely
  2226. 1:22:08related like this rank average will pop
  2227. 1:22:10up in here along with a description
  2228. 1:22:12below explaining it if you've used a
  2229. 1:22:15formula recently you can come in here
  2230. 1:22:17under recently used and I frequently
  2231. 1:22:20find myself just going back to this in
  2232. 1:22:21order to select something I may have
  2233. 1:22:23used recently now in the next seven
  2234. 1:22:24lessons we're going to be diving into
  2235. 1:22:27each one of these all the way through it
  2236. 1:22:29from logical and text to look up and
  2237. 1:22:32also math and trick now one note we
  2238. 1:22:34won't be going into detail on this
  2239. 1:22:37financial functions because I find
  2240. 1:22:39they're sort of nuanced but we will be
  2241. 1:22:41going into all the different ones that
  2242. 1:22:43I'm using on a daily basis as a data
  2243. 1:22:46analyst that aren't specific to
  2244. 1:22:49financial
  2245. 1:22:52applications so let's get into
  2246. 1:22:54understanding the basics about formulas
  2247. 1:22:57by calculating these different counts
  2248. 1:22:58and especially counts around whether any
  2249. 1:23:01of these jobs meet our goals for this I
  2250. 1:23:04know I want to use a count function so
  2251. 1:23:06I'm going to go to this insert function
  2252. 1:23:08I'm going to type in count now there's a
  2253. 1:23:10bunch of different ones that pop up
  2254. 1:23:12count itself just counts the number of
  2255. 1:23:13cells in a Range that contain numbers it
  2256. 1:23:15has to have numbers in it if I wanted to
  2257. 1:23:17do something more around text I would
  2258. 1:23:19say hey count the number of cells in
  2259. 1:23:21range that are not empty I could do even
  2260. 1:23:24do something conversely of counting the
  2261. 1:23:25number of blank cells for us we want to
  2262. 1:23:27actually do count so as we showed before
  2263. 1:23:30I'm just going to come in type count
  2264. 1:23:32it's going to prompt me that I need to
  2265. 1:23:33at least put at minimum a value and I
  2266. 1:23:36want to count all these cells here so
  2267. 1:23:39using autofill to fill it over um we can
  2268. 1:23:43see that all the different values are 10
  2269. 1:23:44nothing really spectacular here but now
  2270. 1:23:47let's get into a pretty unique use case
  2271. 1:23:50of count so in this scenario that I'm
  2272. 1:23:52count trying to calculate in cell c16
  2273. 1:23:54I'm trying to find out how many jobs
  2274. 1:23:57above here in these 10 right here how
  2275. 1:24:00many meet our goal of less than or equal
  2276. 1:24:03to 5 years and I want to count the
  2277. 1:24:06number of these so I know I want a type
  2278. 1:24:09of count I can go into insert function I
  2279. 1:24:11know it's here inside these different
  2280. 1:24:13statistical functions specifically I
  2281. 1:24:16have these different counts right here
  2282. 1:24:19and I'm going to scroll over this count
  2283. 1:24:20if right here and it's going to provide
  2284. 1:24:21me a description it says Hey counts the
  2285. 1:24:23number of cells Within range that meet
  2286. 1:24:25the given condition and that's what we
  2287. 1:24:28want to do we want to meet a condition
  2288. 1:24:29of a certain amount of experience now it
  2289. 1:24:31provides this box in order to help me
  2290. 1:24:34input in these values so for the range
  2291. 1:24:37here what I can do is specify hey I want
  2292. 1:24:39to count inside of here if they meet a
  2293. 1:24:43certain criteria and just going back to
  2294. 1:24:45that range right here we can see that it
  2295. 1:24:47already input all those different values
  2296. 1:24:50into an array likee object okay so the
  2297. 1:24:53criteria right now is NX want to put
  2298. 1:24:54something in here I can also press this
  2299. 1:24:57box and it'll make it disappear and I
  2300. 1:24:59want to compare it to this experience
  2301. 1:25:02but I want it to be less than or equal
  2302. 1:25:04to five so I can press enter to accept
  2303. 1:25:06it but the problem is it's going to
  2304. 1:25:11evaluate whether five is any of these
  2305. 1:25:15columns here and right now we see that
  2306. 1:25:17there are two I'm going go ahead and
  2307. 1:25:18close up so we can see this better right
  2308. 1:25:20now we can see that there's two fives in
  2309. 1:25:22here that's not what we we want we want
  2310. 1:25:25to see everything that is less than or
  2311. 1:25:27equal to 5 so instead what we need to
  2312. 1:25:30put in here is less than or equal to 5
  2313. 1:25:34now I'm going to press enter and we're
  2314. 1:25:36going to get an error this is pretty
  2315. 1:25:38common whenever you are manipulating
  2316. 1:25:41different formulas and you have in this
  2317. 1:25:43case I have this less than or equal to
  2318. 1:25:45right here so Excel is confused by this
  2319. 1:25:48what we need to do is actually put
  2320. 1:25:51parentheses around this which basically
  2321. 1:25:54sort of makes it into a string or text
  2322. 1:25:56if you will but now it knows hey I want
  2323. 1:25:59you to look for less than or equal to 5
  2324. 1:26:01I want you to evaluate this entire thing
  2325. 1:26:03pressing enter bam we have six values
  2326. 1:26:06here that are less than or equal to five
  2327. 1:26:10now similarly I can drag this over
  2328. 1:26:12because we want to also do this for
  2329. 1:26:13experience but I don't want to do less
  2330. 1:26:16than or equal to five I want to do
  2331. 1:26:17greater than or equal to
  2332. 1:26:2090,000 and in this case we have nine cuz
  2333. 1:26:23we only have have one that's less than
  2334. 1:26:25this but as you find out on this course
  2335. 1:26:27I don't like hardcoding values into my
  2336. 1:26:31formulas in this case I have five inside
  2337. 1:26:34of here but I'm already having five
  2338. 1:26:35right here what happens if I want to
  2339. 1:26:36change this maybe to say something like
  2340. 1:26:38three well it's not going to actually
  2341. 1:26:41update these values right here so I'm
  2342. 1:26:44going to go ahead and actually change
  2343. 1:26:45that back to five and we're going to
  2344. 1:26:47make another formula that actually fixed
  2345. 1:26:49this so I want to drag these down but we
  2346. 1:26:52actually didn't lock either one of the
  2347. 1:26:54these cells and it will cause errors if
  2348. 1:26:57we do so I'll just select right next to
  2349. 1:26:58it press F4 next to C3 I'll do the same
  2350. 1:27:02of f4 doing the same in this cell as
  2351. 1:27:04well all right now I'll take this and
  2352. 1:27:06I'll drag this down so now let's
  2353. 1:27:09actually fix this to be more Dynamic we
  2354. 1:27:11don't want it to be less than or equal
  2355. 1:27:13to this five right now what we can do is
  2356. 1:27:15that Amper sand operator and then from
  2357. 1:27:19there put in reference to S3 which
  2358. 1:27:24contains our five pressing enter bam we
  2359. 1:27:26got six same thing here I can delete
  2360. 1:27:29that 90,000 put in an Amper sand and
  2361. 1:27:32then from there we're going to be
  2362. 1:27:34basically putting it to mashing it
  2363. 1:27:36together with that 90,000 and it
  2364. 1:27:38evaluates now when we change this
  2365. 1:27:39experience to say something like two we
  2366. 1:27:42can see that it actually updates
  2367. 1:27:44appropriately to see that oh only one
  2368. 1:27:46job meets this requirement so pretty
  2369. 1:27:49cool I'm going change that back to
  2370. 1:27:52five now frequently you're going to run
  2371. 1:27:54into errors with your formulas let's say
  2372. 1:27:57I wanted to divide one by zero not a
  2373. 1:28:00good thing that we need to do anyway I'm
  2374. 1:28:02going to get this error right now you
  2375. 1:28:03can notice it because it has this green
  2376. 1:28:04check on the upper left hand corner but
  2377. 1:28:07also it starts with this hashtag and
  2378. 1:28:09it's saying hey you have a divide by
  2379. 1:28:12zero error I can even come down into
  2380. 1:28:15here and it tells me even more on this
  2381. 1:28:19provides help on this or if I wanted to
  2382. 1:28:20even ignore it now in this sheet of this
  2383. 1:28:23work workbook I have a bunch of
  2384. 1:28:25different errors in here that you may
  2385. 1:28:27run into from time to time again and
  2386. 1:28:29we're going to be running into these
  2387. 1:28:31errors as we go through the rest of this
  2388. 1:28:32chapter so if you get stuck along the
  2389. 1:28:35way while we're going through this I
  2390. 1:28:37feel like this is a good reference for
  2391. 1:28:38you to maybe save somewhere in order to
  2392. 1:28:40understand what is going on with the
  2393. 1:28:42different errors you may encounter now
  2394. 1:28:44the biggest time saer I've found with
  2395. 1:28:46any of these errors is using some sort
  2396. 1:28:49of chatbot specifically me I'm going to
  2397. 1:28:50go to something like chat GPT or even
  2398. 1:28:52claw they're going to be able to provide
  2399. 1:28:54really quick help in understanding what
  2400. 1:28:56an error is and what I need to do to fix
  2401. 1:28:58it all right so now it's your turn to
  2402. 1:29:00dive into and test Out These intro into
  2403. 1:29:03functions and play with them and
  2404. 1:29:04experience some of the errors of your
  2405. 1:29:06own after that we'll be diving into
  2406. 1:29:08logical functions a major type of
  2407. 1:29:10function that you need to be aware of
  2408. 1:29:11with that I'll see you in the next
  2409. 1:29:16one now that we have the basics down on
  2410. 1:29:19formulas and also functions we're going
  2411. 1:29:21to be moving into one of the most
  2412. 1:29:23important typ of functions to know
  2413. 1:29:26logical ones the most popular of these
  2414. 1:29:28are an if condition basically looking at
  2415. 1:29:30something and then providing a response
  2416. 1:29:33based on it so for this analysis we're
  2417. 1:29:35going to be jumping into our data
  2418. 1:29:37science job salary data set but we're
  2419. 1:29:40only going to focus on the first 20 rows
  2420. 1:29:43of it here and on the next few lessons
  2421. 1:29:45as well as I don't want to overwhelm you
  2422. 1:29:47with the all the data just yet now for
  2423. 1:29:50the final results we're going to be
  2424. 1:29:51doing two major things the first is
  2425. 1:29:54determining within this list of jobs
  2426. 1:29:57whether they meet our conditions of
  2427. 1:29:59finding the job we want of a data
  2428. 1:30:01analyst or business analyst and will
  2429. 1:30:03Market not desired or Ro desired
  2430. 1:30:05additionally we're going to do a common
  2431. 1:30:07practice and analytics of bucketing
  2432. 1:30:09basically taking those salaries and
  2433. 1:30:11depending on the amount value putting it
  2434. 1:30:13into a certain bucket for us we're going
  2435. 1:30:15to be looking at whether they have
  2436. 1:30:17salary data in this data set or more
  2437. 1:30:20specifically if they are greater than
  2438. 1:30:22our goal of 85,000
  2439. 1:30:27so why are these logical functions
  2440. 1:30:28needed well let's jump into that last
  2441. 1:30:30data set real quick and simplify how we
  2442. 1:30:33can actually use these as a quick
  2443. 1:30:35example previously in this P column we
  2444. 1:30:37were evaluating whether they met both of
  2445. 1:30:40our conditions of experience or salary
  2446. 1:30:42we can use an if statement in order to
  2447. 1:30:46clarify this so I can specifically call
  2448. 1:30:48out with an if statement saying if it
  2449. 1:30:51has The Logical test that we want to
  2450. 1:30:54actually evaluate so I'm going to put in
  2451. 1:30:56P3 in this case as it's going to return
  2452. 1:30:58true or false and then from there the
  2453. 1:31:01next value in there is value if true
  2454. 1:31:03which what do we want to return if it is
  2455. 1:31:05true well that our goal is met and then
  2456. 1:31:08if it's not met we want to have well not
  2457. 1:31:11met okay and then this whenever we drag
  2458. 1:31:14this down will provide not met or goal
  2459. 1:31:18met depending on if this is true or
  2460. 1:31:20false and so that's the power of these
  2461. 1:31:23if statements in helping us actually
  2462. 1:31:25provide this
  2463. 1:31:28value so that was just a quick example
  2464. 1:31:30of if let's actually jump into some more
  2465. 1:31:32examples so you get more familiar with
  2466. 1:31:33how to use this so here we are in this
  2467. 1:31:35data set and I don't need all the
  2468. 1:31:37columns of this data set so I'm just
  2469. 1:31:39going to select the columns that I don't
  2470. 1:31:41need I'm going select B through G and
  2471. 1:31:44then hide it additionally I'm not going
  2472. 1:31:46to need I or J so I'll hide these as
  2473. 1:31:49well so our first goal is to identify
  2474. 1:31:52whether these jobs meter conditions of
  2475. 1:31:54either a data analyst or a business
  2476. 1:31:56analyst we're going to start simple by
  2477. 1:31:58just finding out which one is a data
  2478. 1:32:00analyst first and then which one is a
  2479. 1:32:01business analyst and meets those
  2480. 1:32:03conditions so once again we'll start
  2481. 1:32:05with that if condition and for this
  2482. 1:32:07we're going to put in that logical test
  2483. 1:32:08remember pretty the example we need to
  2484. 1:32:09have a return either true or false so
  2485. 1:32:13we're wanting to check whether senior
  2486. 1:32:14data engineer in A2 is equal to data
  2487. 1:32:19analyst in K1 now we're going to be
  2488. 1:32:22autofilling this down so we need to make
  2489. 1:32:25sure that the A2 we're fine with it
  2490. 1:32:27actually adjusting as necessary K1 we
  2491. 1:32:29want it to lock at least lock on the row
  2492. 1:32:33value of one then if it's true we'll be
  2493. 1:32:35roll desired and if it's not it's not
  2494. 1:32:37desired as expected senior data engineer
  2495. 1:32:40is not desired let's drag this all the
  2496. 1:32:42way down and just double checking it we
  2497. 1:32:44see that the data analyst roles are R
  2498. 1:32:45desired okay so I can drag this over now
  2499. 1:32:49and just to double check it shifted over
  2500. 1:32:51to B2 but it's still but it's selecting
  2501. 1:32:53a right one of L1 so actually what I'm
  2502. 1:32:55going to do is I'm going to delete this
  2503. 1:32:57go back up here I'm sort of a
  2504. 1:32:59perfectionist I'm going to end up
  2505. 1:33:01locking that a value so it stays in that
  2506. 1:33:04a column none my values are going to
  2507. 1:33:06change here and then when I actually
  2508. 1:33:08drag it over I can check that okay A2 is
  2509. 1:33:11the correct one I once selected to
  2510. 1:33:13compare it to business analyst in
  2511. 1:33:15L1 okay then I'm going to autofill all
  2512. 1:33:17the way down looks like there's only two
  2513. 1:33:20business analyst roles here so now how
  2514. 1:33:22can we identify that it meets both of
  2515. 1:33:25those conditions both data analyst and a
  2516. 1:33:28business analyst well we're going to do
  2517. 1:33:30one approach first and it's called a
  2518. 1:33:32nested if statement and it's not really
  2519. 1:33:35the approach I'm going to recommend but
  2520. 1:33:37it's something that you should be aware
  2521. 1:33:38of so what I'm going to do is I'm going
  2522. 1:33:39to select cell K2 I'm going to go ahead
  2523. 1:33:42and copy this formula plugging it in
  2524. 1:33:45here we have it here and making sure
  2525. 1:33:48that it operates correctly yep it does
  2526. 1:33:50so how does this nested if statement
  2527. 1:33:52work well we're going to still evaluate
  2528. 1:33:54our first condition is the first role
  2529. 1:33:57evaluated as data analyst does it meet
  2530. 1:34:00that if it is we want to mark it as rule
  2531. 1:34:02desired now we get into what happens if
  2532. 1:34:05it's not a data analyst well now we want
  2533. 1:34:07to now check if it's a business analyst
  2534. 1:34:09so I'm going to close out this and what
  2535. 1:34:11we can do is I'm going to take this
  2536. 1:34:13business analyst formula right here
  2537. 1:34:15everything up to the if and I'm going to
  2538. 1:34:17go back in here and I'm going to drop it
  2539. 1:34:20in right here inside of the value if
  2540. 1:34:24false so it's an nested if statement an
  2541. 1:34:27if inside of another if so now if we
  2542. 1:34:30don't meet this first condition of the
  2543. 1:34:31value if isn't true it will go into the
  2544. 1:34:33nested if statement and start checking
  2545. 1:34:35this condition is now the software data
  2546. 1:34:38engineer equal to data analyst if it is
  2547. 1:34:40it's R desired if not it's not desired
  2548. 1:34:43so let's now drag and drop this all the
  2549. 1:34:45way down I'm going to expand this out a
  2550. 1:34:47little bit and now we can see if it's
  2551. 1:34:50data analyst we get rule desired along
  2552. 1:34:52now with if it's business analyst also R
  2553. 1:34:57desired but I'm not a fan of nessf as
  2554. 1:35:00they're hard to read instead I like
  2555. 1:35:02using the functions of and and or and
  2556. 1:35:06should be a little bit familiar because
  2557. 1:35:08we saw it from the intro lessons that we
  2558. 1:35:10did previously with and it evaluates
  2559. 1:35:14whether both conditions are true so in
  2560. 1:35:17this case I'll put in condition one of
  2561. 1:35:20B3 and then condition two of C E3 and
  2562. 1:35:24both conditions are true so it satisfies
  2563. 1:35:26as true dragging this all down in all
  2564. 1:35:29the following condition cases they're
  2565. 1:35:32not true for both conditions so
  2566. 1:35:34therefore it evaluates as false in or it
  2567. 1:35:37checks whether condition one or
  2568. 1:35:39condition two is true and then will
  2569. 1:35:42return true so inputting in the
  2570. 1:35:45conditions of B3 and C3 one of the
  2571. 1:35:47conditions here are true actually both
  2572. 1:35:49are dragging it down I expect yeah the
  2573. 1:35:52second and third rows are also true
  2574. 1:35:54where the final one both are false so
  2575. 1:35:55therefore it is false so let's run the
  2576. 1:35:57same Andor logic that we've run before
  2577. 1:36:00in order to determine which one we
  2578. 1:36:01actually use so in this one we're
  2579. 1:36:03checking whether both of these jobs of
  2580. 1:36:05data analyst and business analyst are
  2581. 1:36:07equal to this one here senior data
  2582. 1:36:08engineer as expected false and what
  2583. 1:36:12should we should expect for all of these
  2584. 1:36:13all of them are false because none of
  2585. 1:36:15these are going to be both data analyst
  2586. 1:36:16and business analyst so as you can
  2587. 1:36:18probably guess or it's probably going to
  2588. 1:36:20be the one that's going to work for us
  2589. 1:36:21we're evaluating whether either data
  2590. 1:36:23anal or business analyst are going to
  2591. 1:36:25match up to that value of senior data
  2592. 1:36:27engineer in this case we're getting
  2593. 1:36:29those tree values for data analyst and
  2594. 1:36:31True Values for business analyst so now
  2595. 1:36:33we're going to put that or function
  2596. 1:36:36inside of that if for The Logical test
  2597. 1:36:39and from there we can determine whether
  2598. 1:36:41it's rule desired not desired dragging
  2599. 1:36:43all down all of it's matching as
  2600. 1:36:45expected okay I'm going to go ahead and
  2601. 1:36:46hide these
  2602. 1:36:50rows so now what happens if we don't
  2603. 1:36:52want just a evaluate for a true or false
  2604. 1:36:56condition basically we want to evaluate
  2605. 1:36:57for multiple different conditions well
  2606. 1:37:00that's going to be something that comes
  2607. 1:37:01up if you need to ever bucket data which
  2608. 1:37:03we're going to be doing with salaries
  2609. 1:37:04now for this first one we're going to
  2610. 1:37:06just use a simple if statement we want
  2611. 1:37:08to determine whether a salary is greater
  2612. 1:37:11than 85,000 or if it's not we want to
  2613. 1:37:14just specify that the salary is low so
  2614. 1:37:16for this we're going to be evaluating if
  2615. 1:37:18H2 we're going to go ahead and lock that
  2616. 1:37:20H column is greater than that 85,000
  2617. 1:37:26which will lock that completely for the
  2618. 1:37:2885,000 then we want to say the salary is
  2619. 1:37:31greater than 85,000 conversely if it
  2620. 1:37:34doesn't meet this we want to say that
  2621. 1:37:35the salary is low I'm going to expand
  2622. 1:37:38this out a little bit and then we're
  2623. 1:37:39going to drag this down as expected we
  2624. 1:37:43have the values returning those are
  2625. 1:37:4585,000 and then this one at 35,000 it is
  2626. 1:37:48Mark is low now the problem we're
  2627. 1:37:50running into and why we need multiple
  2628. 1:37:52conditions is this is the salary is low
  2629. 1:37:55but there's actually no data there we
  2630. 1:37:57need specify in these conditions that
  2631. 1:37:58well there's no data so for this we can
  2632. 1:38:01use an ifs formula and what happens with
  2633. 1:38:05this is you provide a test and then a
  2634. 1:38:07value if true and that's just the first
  2635. 1:38:09one we can then provide another logical
  2636. 1:38:12test and the value of true so the first
  2637. 1:38:14thing I'm going to test is if there is
  2638. 1:38:16no value there I'm going to go ahead and
  2639. 1:38:18lock that H column as well and when I'm
  2640. 1:38:20looking for a blank I'm just going to
  2641. 1:38:22put in two quot Mark say signifying that
  2642. 1:38:25it's blank and the value of true is no
  2643. 1:38:28data okay put another comma we can see
  2644. 1:38:30we now we're on to logical test number
  2645. 1:38:32two the next thing we want to test is if
  2646. 1:38:34it's greater than 85,000 so we'll see H2
  2647. 1:38:38again locking that H and we want send it
  2648. 1:38:41if it's greater than or equal to that
  2649. 1:38:4485,000 which will lock if it is we want
  2650. 1:38:47to return back that salary is greater
  2651. 1:38:50than
  2652. 1:38:5185k and finally we're on to the final
  2653. 1:38:53logical test and basically we want all
  2654. 1:38:56of them to pass this condition so
  2655. 1:38:59instead of providing hey salary less
  2656. 1:39:01than 85,000 we're just going to pass in
  2657. 1:39:03true because we want it to be true and
  2658. 1:39:05we would expect this to be any values
  2659. 1:39:08between a number that are between 0 and
  2660. 1:39:1085,000 so like before we're going to
  2661. 1:39:12specify salary low running this we going
  2662. 1:39:15to expand this out and then drag this
  2663. 1:39:19down we have when it returns no data no
  2664. 1:39:23data salary less than 85,000 return
  2665. 1:39:25salary low and then whenever it's
  2666. 1:39:27greater than 85 the correct results now
  2667. 1:39:30if s functions are one of the more
  2668. 1:39:33complex functions to work with so you do
  2669. 1:39:35need some practice with this like for
  2670. 1:39:37those that purchased course practice
  2671. 1:39:38problems you have some now to go into
  2672. 1:39:40and actually try this out manipulate and
  2673. 1:39:42better understand how to work with this
  2674. 1:39:44with that in the next one we're going to
  2675. 1:39:45be jumping into my next favorite type of
  2676. 1:39:47functions math functions which heavily
  2677. 1:39:49used in data analytics all right with
  2678. 1:39:51that I'll see you in the next one
  2679. 1:39:57now in this lesson we're going to be
  2680. 1:39:59using math functions and also some
  2681. 1:40:01statistical functions in order to
  2682. 1:40:03perform Eda or exploratory data analysis
  2683. 1:40:07on our job posting data set and for this
  2684. 1:40:10we're going to be focusing on the five
  2685. 1:40:11major functions of count sum average and
  2686. 1:40:16also Min and Max and we're not only
  2687. 1:40:18going to focus on the core versions such
  2688. 1:40:20as just count but also the if an ifs
  2689. 1:40:24version so they have multiple different
  2690. 1:40:26versions that we're going to get to now
  2691. 1:40:27for our analysis we're going to be
  2692. 1:40:29diving into the full data set of the
  2693. 1:40:31data science job postings which has over
  2694. 1:40:3330,000 different job postings and in it
  2695. 1:40:36we're going to be specifically diving
  2696. 1:40:38into data jobs that are in the United
  2697. 1:40:41States for data analyst and we're going
  2698. 1:40:43to be able to use these sort of
  2699. 1:40:45different functions that incorporate if
  2700. 1:40:47and ifs in order to fine-tune in what
  2701. 1:40:50we're looking for one quick note you're
  2702. 1:40:51not limited to using un States and data
  2703. 1:40:54analyst you can use the scenario that
  2704. 1:40:56you're in of what country you're in and
  2705. 1:40:58what job title you're most interested in
  2706. 1:41:03instead so we're going to be filling out
  2707. 1:41:05this table right here and we're going to
  2708. 1:41:07start on Row three focusing on those
  2709. 1:41:09count functions first now the data set
  2710. 1:41:12is actually much larger than this three
  2711. 1:41:14columns I actually I'll unhide between a
  2712. 1:41:17through K but we're not using any of
  2713. 1:41:19these columns in between here so I'm
  2714. 1:41:22just hiding that them and making it
  2715. 1:41:24easier for us to work with for this
  2716. 1:41:26we're going to focus on the core
  2717. 1:41:27function of only count and we're going
  2718. 1:41:30to be looking at those that have all the
  2719. 1:41:33yearly salary data in it as you can see
  2720. 1:41:35over here that there's missing blanks in
  2721. 1:41:36here so we don't want to count those
  2722. 1:41:38that are missing anyway what I'm going
  2723. 1:41:39to do here is Select column M and as you
  2724. 1:41:43knew it selects the range of M colon M
  2725. 1:41:46and then from there press enter so what
  2726. 1:41:48we're finding is that around 22,000 jobs
  2727. 1:41:51out of these 30,000 we're going to find
  2728. 1:41:52out have salary data and how do I know
  2729. 1:41:55about that 30,000 well let's actually
  2730. 1:41:57see we can actually use instead we can
  2731. 1:42:00use a count a function which stands for
  2732. 1:42:04count all and it counts the number of
  2733. 1:42:06cells in a Range that are not empty
  2734. 1:42:09specifically I want to capture those in
  2735. 1:42:12the job title short column right here so
  2736. 1:42:14I'll do a colon alen running this we get
  2737. 1:42:17to see that it's around 32,000 jobs One
  2738. 1:42:20technical note before we continue these
  2739. 1:42:22are since we're doing the columns
  2740. 1:42:24themselves in this case the count M it's
  2741. 1:42:26also counting that column header in this
  2742. 1:42:29case so if we want to be exactly
  2743. 1:42:31accurate which in this case I just need
  2744. 1:42:33roundabout numbers if we want to be
  2745. 1:42:35exactly accurate technically we would
  2746. 1:42:36want to go in and S say subtract one to
  2747. 1:42:40get what the actual value is but frankly
  2748. 1:42:43I'm just trying to look at General
  2749. 1:42:44numbers right now I'm not too car about
  2750. 1:42:46one or two off so now let's dive into
  2751. 1:42:49analyzing this further on my needs
  2752. 1:42:51looking for specifically focus on the
  2753. 1:42:53United States first so we're going to
  2754. 1:42:55find those that have in the job country
  2755. 1:42:58here United States and for this we're
  2756. 1:43:01going to use the count if function and
  2757. 1:43:05this counts the number of cells within a
  2758. 1:43:07range that meets the given condition so
  2759. 1:43:10you provided a range in this case we're
  2760. 1:43:12going to provide the range of that
  2761. 1:43:14column K and then the criteria itself we
  2762. 1:43:16want to filter for United States which I
  2763. 1:43:18conveniently typed above so we'll select
  2764. 1:43:20it right there I'm also going to lock it
  2765. 1:43:22by pressing F4
  2766. 1:43:23and then running this we get that about
  2767. 1:43:2625,000 jobs contain United States so now
  2768. 1:43:29let's evaluate those data analyst jobs
  2769. 1:43:31using that same thing of ctif once again
  2770. 1:43:35we provide the range in this case we're
  2771. 1:43:36looking at that job title short column
  2772. 1:43:38and for this we want to look for data
  2773. 1:43:40analyst locking this cell we get about
  2774. 1:43:439600 jobs for data analyst now next up
  2775. 1:43:47we're going to be using count ifs
  2776. 1:43:49specifically we're doing this because we
  2777. 1:43:50want to find jobs that contain not only
  2778. 1:43:52data an but also contain that they're
  2779. 1:43:55from the United States now we can't just
  2780. 1:43:58add these two columns together because
  2781. 1:44:00one it's going to as we once we add it
  2782. 1:44:02up we see that's even greater than all
  2783. 1:44:03the jobs there that's not what we
  2784. 1:44:04actually want we want conditions like
  2785. 1:44:06here on row 16 where it's a data analyst
  2786. 1:44:09and United States whereas something here
  2787. 1:44:12on roow 223 where it's a data analyst in
  2788. 1:44:14s that's not going to meet our condition
  2789. 1:44:17so we wouldn't count it so using count
  2790. 1:44:20ifs this counts the number of cells
  2791. 1:44:23specified by a given set of conditions
  2792. 1:44:26or criteria for this we need to specify
  2793. 1:44:28a range and then the criteria first
  2794. 1:44:31we'll focus on the range of a for job
  2795. 1:44:33title short and we're looking to match
  2796. 1:44:36that of data analyst which I'll lock by
  2797. 1:44:38pressing F4 then now we're moving on to
  2798. 1:44:41criteria range number two where for this
  2799. 1:44:43one we're looking at Job country now and
  2800. 1:44:46for that we want to look for the
  2801. 1:44:48criteria of United States locking this
  2802. 1:44:50with F4 closing this with parenthesis
  2803. 1:44:53and then running it we get around 8,000
  2804. 1:44:56jobs and this makes sense right because
  2805. 1:44:58it would be less than that 9,000 data
  2806. 1:45:01analyst because some of these aren't
  2807. 1:45:03going to be from the United States now
  2808. 1:45:05with how this is Flowing we could
  2809. 1:45:06actually make a visualization out of
  2810. 1:45:09this data right here so going into
  2811. 1:45:11insert and then recommended charts we
  2812. 1:45:14have here a funnel chart so I'm going go
  2813. 1:45:17ahead and insert that in and this
  2814. 1:45:19basically shows the funnel if you will
  2815. 1:45:21of jobs we have we started with almost
  2816. 1:45:2332,000 jobs and we got towards the end
  2817. 1:45:26of the jobs that we actually care about
  2818. 1:45:28us and data analyst at around 8,000 I'll
  2819. 1:45:31go ahead and move this off to the side
  2820. 1:45:32for
  2821. 1:45:34now all right next moving into the sum
  2822. 1:45:37function and the core one itself of
  2823. 1:45:40actual sum itself it's pretty simple we
  2824. 1:45:43have to just we're going to obviously
  2825. 1:45:44using salary year average column for
  2826. 1:45:46this because we want to sum up the
  2827. 1:45:47numbers in them and I'm put in that
  2828. 1:45:49column of M and we get the sum of values
  2829. 1:45:51there now unlike count where a count has
  2830. 1:45:53a count a or count all where we're
  2831. 1:45:56trying to find if there's blanks or not
  2832. 1:45:58that's not really applicable In Sum and
  2833. 1:46:00average and also in Min or Max so I'm
  2834. 1:46:04actually going to go ahead and just gray
  2835. 1:46:05these out because we're not going to
  2836. 1:46:06need them now moving into suth which
  2837. 1:46:09adds the cells specified by a given
  2838. 1:46:11condition or criteria this one is a
  2839. 1:46:15little bit more complex than we dealt
  2840. 1:46:17with with count because we first want to
  2841. 1:46:20provide the range that we're going to be
  2842. 1:46:22evaluating for a certain criteria which
  2843. 1:46:25in our case the range you want to
  2844. 1:46:26evaluate is job country because we're
  2845. 1:46:29evaluating for if it contains United
  2846. 1:46:31States which I'll lock with that four
  2847. 1:46:33but we're not summing the countries
  2848. 1:46:36because there are text column so we have
  2849. 1:46:37to provide this sum range which is
  2850. 1:46:40column M similarly once again we can do
  2851. 1:46:42that sum if looking for data analyst so
  2852. 1:46:45in this case we're going to be looking
  2853. 1:46:46at column A to evaluate if it has data
  2854. 1:46:49analyst in it and then from there the
  2855. 1:46:51sum range once again is going to be that
  2856. 1:46:53column M now the sum ifs similar to that
  2857. 1:46:57count ifs adds the cell specified by a
  2858. 1:47:00given set of conditions or criteria for
  2859. 1:47:03this one we provide the sum range first
  2860. 1:47:07so it gets a little bit confusing you
  2861. 1:47:08got to make sure that you're actually
  2862. 1:47:09reading the formulas in this case we're
  2863. 1:47:10going to use M because that's the sum
  2864. 1:47:12range we want to use and then we're
  2865. 1:47:14first going to evaluate for that job
  2866. 1:47:16title short that column A which we're
  2867. 1:47:18going to evaluate for data analyst and
  2868. 1:47:21then we'll evaluate for the job country
  2869. 1:47:24evaluating for United States closing the
  2870. 1:47:27parentheses and running this bam as
  2871. 1:47:29expected this value is less than that of
  2872. 1:47:33the data
  2873. 1:47:36analyst now moving into the last three
  2874. 1:47:38of average men and Max which I think are
  2875. 1:47:40actually more valuable than that sum one
  2876. 1:47:42we did I'm not going to walk through
  2877. 1:47:44actually typing in all these in because
  2878. 1:47:47now you've had a familiarity with how I
  2879. 1:47:48did the sum which follows the same
  2880. 1:47:50example for average men in Max feel free
  2881. 1:47:52to if you want to you can go through and
  2882. 1:47:54type it out on your own to get more
  2883. 1:47:55experience doing it but overall I think
  2884. 1:47:58this has some very unique insights from
  2885. 1:48:01it from this analysis we did in it we
  2886. 1:48:03can see that salaries in the United
  2887. 1:48:05States are around 125,000 where the data
  2888. 1:48:08analyst is only around 93 and
  2889. 1:48:11specifically us data analyst is around
  2890. 1:48:1394 so data analysts in general are lower
  2891. 1:48:16salaries than the other jobs in the data
  2892. 1:48:19science Industry as far as Min and Max
  2893. 1:48:21go we're having as low as
  2894. 1:48:2425,000 but we're having as high as well
  2895. 1:48:27at least for a data analyst up to
  2896. 1:48:29650,000 and apparently there's a job in
  2897. 1:48:32here around
  2898. 1:48:34$960,000 and you may be wondering what
  2899. 1:48:37jobs correlate to this $155,000 or
  2900. 1:48:39$960,000 well we're going to be diving
  2901. 1:48:42into that further when we get to that
  2902. 1:48:43lookup functions one last note on errors
  2903. 1:48:46before we go I commonly find the most
  2904. 1:48:47common error with these functions is a
  2905. 1:48:50value error and that usually occurs
  2906. 1:48:52whenever in this case we had column a
  2907. 1:48:54selected initially for criteria range
  2908. 1:48:56number one let's say we accidentally
  2909. 1:48:58selected multiple different columns for
  2910. 1:49:01this obviously we're not trying to
  2911. 1:49:02evaluate all the different columns we
  2912. 1:49:03only want to evaluate one column for
  2913. 1:49:06that criteria of if data analyst Falls
  2914. 1:49:09in it anyway when I run this I get a
  2915. 1:49:12value ER anyway this is a common one
  2916. 1:49:15that I see come up time and time again
  2917. 1:49:17so anytime you're going through this any
  2918. 1:49:19of these or the practice problems
  2919. 1:49:20themselves make sure you're
  2920. 1:49:22investigating to see that you've
  2921. 1:49:24actually input in the correct ranges to
  2922. 1:49:27evaluate cuz it's commonly causing those
  2923. 1:49:30value errors all right with that you
  2924. 1:49:32have some practice problems to dive into
  2925. 1:49:34and next we'll be diving into even more
  2926. 1:49:36statistical functions in order to really
  2927. 1:49:38dive into how deep you can go with Eda
  2928. 1:49:41or exploratory data analysis all right
  2929. 1:49:44with that I'll see you in the next
  2930. 1:49:48one we're now going to be taking this up
  2931. 1:49:51a notch shifting gears from focusing on
  2932. 1:49:53math functions now to statistical
  2933. 1:49:55functions for this we're going to be
  2934. 1:49:57using our job posting data set and
  2935. 1:49:59analyzing the salaries in this
  2936. 1:50:02specifically looking at common
  2937. 1:50:04statistical functions like median
  2938. 1:50:06standard deviation and even quartiles
  2939. 1:50:09once we have the basics we're going to
  2940. 1:50:10shift into an actual analysis looking at
  2941. 1:50:13what is the average salary of different
  2942. 1:50:16job titles and we'll even get a sneak
  2943. 1:50:19peek of visualizing it for this lesson
  2944. 1:50:21you can start by opening this syst
  2945. 1:50:22statistical functions workbook we're
  2946. 1:50:25going to be starting by filling in this
  2947. 1:50:27table here on the different statistical
  2948. 1:50:29functions we're going to be filling out
  2949. 1:50:31and we're still working with that data
  2950. 1:50:32set we did previously if you noticed
  2951. 1:50:34I've hidden a lot of the columns that we
  2952. 1:50:35won't be using for
  2953. 1:50:38this so we've done a few of these
  2954. 1:50:40different type of functions already
  2955. 1:50:42let's go ahead and fill these in for
  2956. 1:50:43count we'll be using the count function
  2957. 1:50:45specifically on that M column of salary
  2958. 1:50:47or average and like before we have
  2959. 1:50:49around 22,000 values for average we'll
  2960. 1:50:51be doing the same on that M column we
  2961. 1:50:53find that's around
  2962. 1:50:55123,000 for men we'll also run this on
  2963. 1:50:57the M column and that's around 15,000
  2964. 1:51:00for Max that's going to be around
  2965. 1:51:02960,000 so let's move on to our first
  2966. 1:51:06true statistical function we're actually
  2967. 1:51:07going to go into this to actually see
  2968. 1:51:09what it does and that's median it
  2969. 1:51:11Returns the median or the number in the
  2970. 1:51:14middle of the set of given numbers so
  2971. 1:51:18let's go ahead and type that out median
  2972. 1:51:20and in there we need to specify number
  2973. 1:51:22or numbers we can specify a range we're
  2974. 1:51:24just going to keep it simple right now
  2975. 1:51:25to actually show what this function is
  2976. 1:51:28actually doing it's selecting the middle
  2977. 1:51:30of numers so I'm just going to select
  2978. 1:51:31these top three numbers right now and
  2979. 1:51:34what I expect for this function to do is
  2980. 1:51:36to provide basically in a set of numbers
  2981. 1:51:38given provide the middle number so it
  2982. 1:51:40should provide us 140,000 which is the
  2983. 1:51:43center number of these three we don't
  2984. 1:51:46care about the center of just three
  2985. 1:51:48values we care about the center of
  2986. 1:51:50basically all of our different values so
  2987. 1:51:53I'm going to place the entire M column
  2988. 1:51:54into it and that is around
  2989. 1:51:58115,000 now why is this average higher
  2990. 1:52:01than this median well let's actually
  2991. 1:52:03visualize it I'm going to select this m
  2992. 1:52:04column and go to the insert tab going to
  2993. 1:52:08histograms I'm going to insert a
  2994. 1:52:10histogram and what this is showing is
  2995. 1:52:12the distribution of salaries from 15,000
  2996. 1:52:16all the way to 950,000 bottom xaxis is a
  2997. 1:52:20little confusing to read but it's
  2998. 1:52:22basically a range so this case 87,000
  2999. 1:52:2593,000 how many counts of salaries are
  3000. 1:52:28falling in between that and that's how
  3001. 1:52:30large the bar is next to it anyway
  3002. 1:52:33getting back to that original question
  3003. 1:52:35why is the average higher than the
  3004. 1:52:38median itself if you call back from
  3005. 1:52:40definition a median is the middle number
  3006. 1:52:43in our set of our list but our average
  3007. 1:52:47however is taking all the different
  3008. 1:52:49values and well averaging it out and as
  3009. 1:52:52we can see from it we have a large
  3010. 1:52:54amount of salaries around well
  3011. 1:52:58$100,000 but we do have some up here
  3012. 1:53:01that are getting close to a million
  3013. 1:53:02dollar these basically outliers are
  3014. 1:53:06causing us to have a higher average so
  3015. 1:53:09basically those values that are near
  3016. 1:53:11960,000 are dragging that average way
  3017. 1:53:14higher so that's why I prefer to use
  3018. 1:53:16something like the median when I can in
  3019. 1:53:18order to analyze these salaries because
  3020. 1:53:21they're not skewed by the these outlier
  3021. 1:53:23salaries that are just something that
  3022. 1:53:25you're probably not going to get all
  3023. 1:53:26right next up is standard deviation and
  3024. 1:53:29for this you have two options standard
  3025. 1:53:31dev. p and standard dev. s the P stands
  3026. 1:53:35for population and the S stands for
  3027. 1:53:38sample this data set is around 30,000
  3028. 1:53:42salaries and there's way more than
  3029. 1:53:4430,000 data science jobs available so
  3030. 1:53:47that's a sample of the actual population
  3031. 1:53:50so we're going to be using standard Dev
  3032. 1:53:52s and for this we can insert a range
  3033. 1:53:54into it so what does this value actually
  3034. 1:53:57mean well if we had something like a
  3035. 1:53:59normal distribution which our salary
  3036. 1:54:01data is somewhat close to that we'll
  3037. 1:54:03find that one standard deviation from
  3038. 1:54:06something like the average has in this
  3039. 1:54:08case right here 34,000 so if we went
  3040. 1:54:11above and below the average by one
  3041. 1:54:14standard deviation around 68% which is a
  3042. 1:54:18heck a lot of data is within this one
  3043. 1:54:21standard deviation so in our case if I
  3044. 1:54:23was to take the average and then
  3045. 1:54:26subtract this standard deviation along
  3046. 1:54:28with taking the average and then adding
  3047. 1:54:31the standard deviation around 70% of the
  3048. 1:54:35salaries are going to be between 75,000
  3049. 1:54:37and 170,000 but what if we wanted to be
  3050. 1:54:40more precise about finding say something
  3051. 1:54:42like where does 50% of the data actually
  3052. 1:54:45fall well we can use quartiles in this
  3053. 1:54:49case specifically calculating the first
  3054. 1:54:51and third quartile here's a graph that I
  3055. 1:54:54did from my python course which when you
  3056. 1:54:56get done with this course feel free to
  3057. 1:54:58check it out but anyway it looks at the
  3058. 1:54:59salary distribution of data analyst
  3059. 1:55:01United States has this histogram right
  3060. 1:55:03here very similar to what we plotted
  3061. 1:55:04previously in Excel but in it I'm able
  3062. 1:55:06to plot out cortile one where the
  3063. 1:55:08quartile one starts and then quartile 3
  3064. 1:55:11where that one starts so between this
  3065. 1:55:13quartile 1 and quartile 3 marker lines
  3066. 1:55:1750% of the data Falls here with this red
  3067. 1:55:20dotted line being the media again which
  3068. 1:55:23let's actually get to calculating this
  3069. 1:55:25so if we want to do something like the
  3070. 1:55:26cortile we're going to see that there's
  3071. 1:55:28a few different functions available for
  3072. 1:55:30this we have exclusive and inclusive
  3073. 1:55:33we're going to do inclusive first and
  3074. 1:55:34then I'll show The Exclusive after to
  3075. 1:55:36basically show how it's different so
  3076. 1:55:38this takes two arguments the first is
  3077. 1:55:40the array so I'll put in that range of
  3078. 1:55:42the M column and then lastly it takes
  3079. 1:55:46the quartile and we have one for the
  3080. 1:55:48first quartile two for the median three
  3081. 1:55:50for the third quartile anyway I have
  3082. 1:55:52these values over in the U column so
  3083. 1:55:54I'll just select that and use that for
  3084. 1:55:57this and for the second quartile we're
  3085. 1:55:59seeing that basically as a just red
  3086. 1:56:01that's also equal to the median now I'm
  3087. 1:56:04going to go ahead and get rid of these
  3088. 1:56:05Min and Max CU we can also use that by
  3089. 1:56:08with our quartile function and I'm going
  3090. 1:56:11to go ahead and drag and drop this up
  3091. 1:56:13and then also below so what we can see
  3092. 1:56:17from this with this first and third
  3093. 1:56:18quartile is that around 50% of the data
  3094. 1:56:20Falls between 90 ,000 and
  3095. 1:56:23150,000 so frankly when it comes to
  3096. 1:56:26using quartiles like here and standard
  3097. 1:56:29deviation I find myself more gravitating
  3098. 1:56:32towards quartiles anyway what about that
  3099. 1:56:34other quartile function specifically
  3100. 1:56:37that one around exclusive values well
  3101. 1:56:40once again I can select the array that
  3102. 1:56:42we're going to use we're going to use M
  3103. 1:56:44and then finally the quartile itself now
  3104. 1:56:47notice for this one this one doesn't
  3105. 1:56:49have a value of 0 and four that you
  3106. 1:56:52actually can put in for the Min and Max
  3107. 1:56:54it's exclusive so it excludes those
  3108. 1:56:57outliers basically of the Min and Max so
  3109. 1:57:00specifying that column next to it when I
  3110. 1:57:03actually drag this down we can see that
  3111. 1:57:05the Min and Max AR provided in this but
  3112. 1:57:08it's the same values for that se first
  3113. 1:57:10second and third quartile if you notice
  3114. 1:57:12here we get this numb error and as we
  3115. 1:57:15inspected when going through this
  3116. 1:57:16formula zero and four were not available
  3117. 1:57:20to actually input into the formula so
  3118. 1:57:22any time you're inputting things into a
  3119. 1:57:24formula that doesn't necessarily exist
  3120. 1:57:26you're going to get this numb error all
  3121. 1:57:28right the last function to investigate
  3122. 1:57:30is the mode and this returns a vertical
  3123. 1:57:33array of the most frequently occurring
  3124. 1:57:35or repetitive values in any array in our
  3125. 1:57:38case we'll once again provide column M
  3126. 1:57:41and surprisingly we find that 90,000 is
  3127. 1:57:43one of the most repetitive values if we
  3128. 1:57:45go back to that histogram we plotted
  3129. 1:57:47earlier we can see that the largest line
  3130. 1:57:50right here with a value of 19 25
  3131. 1:57:52occurrences occurs between 87,000 and
  3132. 1:57:5593,000 so this makes sense on the 90,000
  3133. 1:57:58being the
  3134. 1:58:01mode so let's get into some data
  3135. 1:58:03analysis Now by actually ranking the
  3136. 1:58:05average salaries of these different job
  3137. 1:58:08tiles I'm going to go ahead and hide the
  3138. 1:58:10columns v through R now in order to rank
  3139. 1:58:13the salaries of the different job tiles
  3140. 1:58:15that I have this list here for you where
  3141. 1:58:17you need to First calculate the average
  3142. 1:58:19salaries of each of these job titles so
  3143. 1:58:21for this we're going to be using as last
  3144. 1:58:23time average if first we need to specify
  3145. 1:58:26the range that we're going to be
  3146. 1:58:28basically running that if on not
  3147. 1:58:29necessarily the values but the range of
  3148. 1:58:32the job titles next we need to provide
  3149. 1:58:34the criteria for this we'll provid it of
  3150. 1:58:36data analyst which is in W2 and then
  3151. 1:58:39finally the actual average range of
  3152. 1:58:42column M dragging this all the way down
  3153. 1:58:46we have our different averages for all
  3154. 1:58:47the job tiles one note real quick in
  3155. 1:58:49future lessons we're going to be jumping
  3156. 1:58:51into using
  3157. 1:58:52median to evaluate these job tiles cuz
  3158. 1:58:54personally I like that more but that's a
  3159. 1:58:56slightly more complex problem so we're
  3160. 1:58:58going to stick simple for now anyway
  3161. 1:59:00with these advertisers we can now
  3162. 1:59:02actually rank it and this Returns the
  3163. 1:59:05rank of a number in a list of numbers it
  3164. 1:59:07size relative to other values in the
  3165. 1:59:10list so first we need to put in the
  3166. 1:59:13number that we want to rank in this case
  3167. 1:59:15we're want to do that of data analyst
  3168. 1:59:16and then from there they have the ref or
  3169. 1:59:18the reference array in this case we're
  3170. 1:59:20going to provide it right here from X2
  3171. 1:59:23all the way down to X11 now I can change
  3172. 1:59:26this from descending to ascending but
  3173. 1:59:28I'm going to keep it how it is now I'm
  3174. 1:59:30going to drag and drop all the rest of
  3175. 1:59:31these and we had a little bit of an
  3176. 1:59:33issue CU we have repeating numbers right
  3177. 1:59:35here it's obviously because I didn't
  3178. 1:59:37lock my cells appropriately so selecting
  3179. 1:59:40this range that I want to actually lock
  3180. 1:59:42and pressing F4 go ahead and lock that
  3181. 1:59:45and then we'll drag and drop this again
  3182. 1:59:47hopefully this works this time and boom
  3183. 1:59:49we have all these ranked from highest to
  3184. 1:59:51lowest we can see business analyst or
  3185. 1:59:53some of the lowest thata analyst not far
  3186. 1:59:55behind and Senior data scientist has the
  3187. 1:59:57highest I'm going to take this one step
  3188. 2:00:00further I'm going to highlight
  3189. 2:00:01everything from job title down to the
  3190. 2:00:03bottom salary for software Engineers
  3191. 2:00:05going to go into insert in here and go
  3192. 2:00:07to recommended charts and basically the
  3193. 2:00:09first one that pops up this clustered
  3194. 2:00:10bar chart I'm going to insert in and I
  3195. 2:00:13can just change the salary up here by
  3196. 2:00:15double clicking in here and I put
  3197. 2:00:16average salary of data science jobs and
  3198. 2:00:20there we have some data analysis is
  3199. 2:00:22actually viewing these one minor touch
  3200. 2:00:24to this I really don't like how these
  3201. 2:00:25are unordered right now so I could
  3202. 2:00:27actually go up here select these three
  3203. 2:00:29titles right here and then under the
  3204. 2:00:31Home tab select I want to actually
  3205. 2:00:33filter it and then order this rank from
  3206. 2:00:37well we'll say largest to smallest one
  3207. 2:00:39note you may not have been able to see
  3208. 2:00:40it but it actually rearranged the data
  3209. 2:00:42inside of our data set that's not a big
  3210. 2:00:44deal for me I'm not caring too much but
  3211. 2:00:47that is something that will be effective
  3212. 2:00:48whenever you do this anyway with this we
  3213. 2:00:50can see things like senior roles or
  3214. 2:00:52getting paid the most and things like
  3215. 2:00:54analyst are sometimes getting paid the
  3216. 2:00:56least compared to these all right you
  3217. 2:00:58now have some practice problems to go
  3218. 2:01:00into and thus practice your skills with
  3219. 2:01:02these statistical functions after that
  3220. 2:01:04we're going to be jumping in the next
  3221. 2:01:05lesson into arrays which is a super
  3222. 2:01:08powerful feature sort of new to excel in
  3223. 2:01:10the past few years all right with that
  3224. 2:01:12I'll see you in the next
  3225. 2:01:16one we're going to be now shifting gears
  3226. 2:01:19and jumping into a more advanced topic
  3227. 2:01:22of arrays and with arrays what you can
  3228. 2:01:24do is typing a formula in a single cell
  3229. 2:01:27we can use this to fill in cells below
  3230. 2:01:30it or cells to the side of it all with
  3231. 2:01:32one single formula so we're going to be
  3232. 2:01:34slowly working up to an easy then a
  3233. 2:01:37medium and then a hard problem and how
  3234. 2:01:40to use these first up with the easy one
  3235. 2:01:42we're going to go through and basically
  3236. 2:01:44identify all the unique job titles and
  3237. 2:01:47then go through and actually sort it
  3238. 2:01:49alphabetically using arrays next we're
  3239. 2:01:51going to move into to our median problem
  3240. 2:01:53of calculating the median salary if you
  3241. 2:01:56recall back to our last lesson we were
  3242. 2:01:58calculating the average salary based on
  3243. 2:02:00a job tile well we can use a raise to
  3244. 2:02:02calculate the median and then finally
  3245. 2:02:05one of the most hardest problems we're
  3246. 2:02:07going to get into actually looking at
  3247. 2:02:09based on the month how many different
  3248. 2:02:12jobs were submitted during that month
  3249. 2:02:15and before this we'll be using the Su
  3250. 2:02:17product formula and a combination of
  3251. 2:02:19other ones using arrays for this be
  3252. 2:02:22using the arrays formula Excel
  3253. 2:02:26workbook now before we jump into those
  3254. 2:02:29problems we need to First understand
  3255. 2:02:31that there's actually two different
  3256. 2:02:33types of arrays we're going to start
  3257. 2:02:35with the first one of modern dynamic
  3258. 2:02:36arrays which we've seen before and with
  3259. 2:02:39this what we can do is using a formula
  3260. 2:02:41we can specify a range to identify and
  3261. 2:02:44then whenever we press enter B2 to B5
  3262. 2:02:46it's going to actually fill in with all
  3263. 2:02:48these we can see that it's modern or
  3264. 2:02:51dynamic because it has this Shadow
  3265. 2:02:54around the edge if I select any of the
  3266. 2:02:56other ones and not the core one where
  3267. 2:02:58this one's actually highlighted when the
  3268. 2:03:00other ones these are grayed out taking
  3269. 2:03:03this a step further with array
  3270. 2:03:04multiplication we can actually go in and
  3271. 2:03:07multiply this column one of A2 to A5 and
  3272. 2:03:11multiply it times B2 to B5 anyway in
  3273. 2:03:15this sequence you can see that it goes
  3274. 2:03:16down 1 * 1 is 1 whereas 4 * 4 is well 16
  3275. 2:03:20anyway that's modern dynamic arrays
  3276. 2:03:22classical arrays let's say we want to do
  3277. 2:03:24the same thing in this case well we're
  3278. 2:03:26going to have to go about it a little
  3279. 2:03:28bit differently we need to select all
  3280. 2:03:30the cells that we want to fill in first
  3281. 2:03:32is a very key concept to get for right
  3282. 2:03:34first then from there we can start
  3283. 2:03:36entering our formula so I put in equal
  3284. 2:03:38in this case we want to do the same
  3285. 2:03:39array multiplication I'll take A2 to A5
  3286. 2:03:43times it time B2 to B5 now whenever I am
  3287. 2:03:48done with this and I want to actually
  3288. 2:03:50execute this I don't just press enter I
  3289. 2:03:52have to press contrl shift enter and
  3290. 2:03:54then it fills in the array notice it's
  3291. 2:03:56not grayed out around the edges like
  3292. 2:03:58this as a shadow this one does not do
  3293. 2:04:01that and all of the different formulas
  3294. 2:04:03are now filled in below this and you'll
  3295. 2:04:05notice that there's a curly bracket
  3296. 2:04:07around this this was used prior to
  3297. 2:04:10around
  3298. 2:04:112020 and so you may come into contact
  3299. 2:04:15with Excel spreadsheets that have this
  3300. 2:04:17and if you don't know about it if you
  3301. 2:04:18come into here and say you want to like
  3302. 2:04:20mess with this formula and you press
  3303. 2:04:22enter you're going to get an error
  3304. 2:04:23message but now let's say we have some
  3305. 2:04:26additional values in it we'll say We'll
  3306. 2:04:27add five to each to the bottom of these
  3307. 2:04:29if I wanted to adjust this array if I
  3308. 2:04:31came in here and then change this to six
  3309. 2:04:34for both the bottom and the top and
  3310. 2:04:37press control shift enter it's only
  3311. 2:04:38going to adjust the ones that were
  3312. 2:04:40previously selected so now if I want to
  3313. 2:04:42include this bottom row right here for
  3314. 2:04:43modern dynamic arrays it's pretty easy I
  3315. 2:04:45can just come in here and adjust this to
  3316. 2:04:47six and this is done however for
  3317. 2:04:50classical arrays or classic arrays not
  3318. 2:04:53classical I have to actually select all
  3319. 2:04:56these different cells and then go in and
  3320. 2:04:58actually enter the formula that I want
  3321. 2:05:00to enter if I try and press enter it's
  3322. 2:05:02going to give me an error message and I
  3323. 2:05:04realize okay I have to press control
  3324. 2:05:06shift enter and it'll actually fill in
  3325. 2:05:08anyway the main point of this is
  3326. 2:05:09classical arrays or a mess we're going
  3327. 2:05:10to be focusing on Modern and or dynamic
  3328. 2:05:12arrays for the remainder of this course
  3329. 2:05:14but you need to be aware of classical
  3330. 2:05:16arrays in case you encounter them in the
  3331. 2:05:18wild
  3332. 2:05:21so jumping into our data analysis we're
  3333. 2:05:23going to be focusing with the data set
  3334. 2:05:25that we've been focusing on before and
  3335. 2:05:26I've hidden any columns that I don't
  3336. 2:05:28feel are relevant for our future
  3337. 2:05:30analysis that we're going to do anyway
  3338. 2:05:32the first thing we're going do is find
  3339. 2:05:33the unique job titles and for this we
  3340. 2:05:36can use the unique function and this
  3341. 2:05:39Returns the unique values from a range
  3342. 2:05:41or array so the first thing we need to
  3343. 2:05:43do is actually put in the array itself I
  3344. 2:05:46don't want to actually select this
  3345. 2:05:47column A because I don't want this job
  3346. 2:05:48title short to appear so I'm going to
  3347. 2:05:50select A2 and then press control shift
  3348. 2:05:53down to select all the way to the bottom
  3349. 2:05:56I'm going close this parenthesis and we
  3350. 2:05:58have all the different unique titles in
  3351. 2:06:00there now I want to get the sorted job
  3352. 2:06:03titles out of this so as you guess we're
  3353. 2:06:05going to use the sort function and for
  3354. 2:06:08this all we really need to do is specify
  3355. 2:06:09the array now if you notice from this
  3356. 2:06:12one whenever I went ahead and selected
  3357. 2:06:13it it specifies that R2 pound and that
  3358. 2:06:17basically says that hey there's an array
  3359. 2:06:20basically formula inside side of R2 we
  3360. 2:06:23want to extract all the contents of that
  3361. 2:06:25using R2 pound and so that's going to
  3362. 2:06:29work to be able to provide us all those
  3363. 2:06:30values and then it's going to sort it in
  3364. 2:06:32this case we have it sorted in
  3365. 2:06:33alphabetical order one thing I haven't
  3366. 2:06:35called out both times is these are once
  3367. 2:06:36again dynamic or modern arrays you can
  3368. 2:06:39see that gray box around each of these
  3369. 2:06:42but just to show this also works by
  3370. 2:06:44specifying R2 to R11 it's going to
  3371. 2:06:48provide us the exact same results but I
  3372. 2:06:50really like the shorthand nomenclature
  3373. 2:06:52of the R2 hashtag
  3374. 2:06:56sign now we're going to get into
  3375. 2:06:58calculating the median salary and if you
  3376. 2:07:02recall back to our last lesson on
  3377. 2:07:04statistical functions we went through
  3378. 2:07:06and calculated the average salary for
  3379. 2:07:09each of these job titles using an
  3380. 2:07:12average IF function but as it discussed
  3381. 2:07:15last time when comparing something like
  3382. 2:07:16the average to the median the average in
  3383. 2:07:19this data set is slightly higher due to
  3384. 2:07:22those basically outliers of those High
  3385. 2:07:25salaries around 960,000 so we want to
  3386. 2:07:28use median so what are we going to be
  3387. 2:07:32eventually calculating and now that's
  3388. 2:07:34this table right here where we sorted
  3389. 2:07:37our business or job titles themselves
  3390. 2:07:40and then we go into actually calculating
  3391. 2:07:42the median salary based on these
  3392. 2:07:45different job titles from our data set
  3393. 2:07:47now there's a pretty complex formula
  3394. 2:07:50going into here so because of this we're
  3395. 2:07:53actually going to break it down step by
  3396. 2:07:55step by step going through each columns
  3397. 2:07:58explaining how this actual process works
  3398. 2:08:00in order for us to get to this final
  3399. 2:08:02value for this we're going to be doing
  3400. 2:08:04it for data analyst only as we can see
  3401. 2:08:06the final value we're going to get to is
  3402. 2:08:07990,000 which over here which our final
  3403. 2:08:10results 90,000 so I'm going to go ahead
  3404. 2:08:12and delete this to actually start with
  3405. 2:08:14now we need to look for two separate
  3406. 2:08:16conditions the first one we need to look
  3407. 2:08:19to find do the job titles here actually
  3408. 2:08:23match up to this value here of data
  3409. 2:08:27analyst and this provides booing values
  3410. 2:08:30back where we get to this value down
  3411. 2:08:32here for true as expected in row 16 we
  3412. 2:08:34have data analyst now if we scroll down
  3413. 2:08:37further we can see that our next data
  3414. 2:08:39analyst job doesn't have a salary for IT
  3415. 2:08:43these type of things will throw off our
  3416. 2:08:45final median function that we're going
  3417. 2:08:47to actually be calculating and so we
  3418. 2:08:49need to basically filter it out as well
  3419. 2:08:51well so with the salary dat data set
  3420. 2:08:54selected I'm going to then go through
  3421. 2:08:55and filter this basically not equal to a
  3422. 2:08:59blank value and as expected we're
  3423. 2:09:01getting false values for these blank
  3424. 2:09:03ones now similar to what we saw in the
  3425. 2:09:05intro in arrays where we were
  3426. 2:09:07multiplying different arrays together
  3427. 2:09:10we're going to do the same thing here
  3428. 2:09:11with these bolean values for this I'm
  3429. 2:09:14taking that formula and wrapping it in
  3430. 2:09:15parenthesis it needs to be in
  3431. 2:09:16parenthesis in order to execute properly
  3432. 2:09:19for the we contains that analyst and
  3433. 2:09:22then the second condition that the
  3434. 2:09:23salary can't be blank whenever we
  3435. 2:09:26multiply these two Boolean values
  3436. 2:09:28together we get returned back either a
  3437. 2:09:31zero or one and the only way we get a
  3438. 2:09:33one back is if both these values are
  3439. 2:09:37true which is the condition we want to
  3440. 2:09:38meet now for zero or one values we can
  3441. 2:09:42actually see if we did an if statement
  3442. 2:09:44here if we did a logical test of zero
  3443. 2:09:47what is it going to return whether true
  3444. 2:09:49or false so for Z returns false and for
  3445. 2:09:53one we'd expect to turn true anyway we
  3446. 2:09:55don't want to necessarily return true in
  3447. 2:09:57this case we want to return the salary
  3448. 2:10:00that corresponds to that Row in the data
  3449. 2:10:03set so I'm going to go ahead and delete
  3450. 2:10:05this so for this we're going to start
  3451. 2:10:06with that if function itself then I want
  3452. 2:10:09to place all the different contents that
  3453. 2:10:11we saw in that previous V column now we
  3454. 2:10:13want to return the salary which are
  3455. 2:10:15these contents right here so I'll be our
  3456. 2:10:18value if true and then if false we just
  3457. 2:10:20want it to be FAL false which we can
  3458. 2:10:22just leave blank so now scrolling down
  3459. 2:10:24we can see that we have nothing but
  3460. 2:10:26those values for data analyst scroll
  3461. 2:10:28over just to confirm 129 yep that
  3462. 2:10:30analyst all right the last step we need
  3463. 2:10:33to go ahead and put inside of our median
  3464. 2:10:35formula all those contents that we had
  3465. 2:10:38before that entire if statement itself
  3466. 2:10:41to evaluate so that array that it's
  3467. 2:10:42going to basically find out for all
  3468. 2:10:45those salary for data analyst and it's
  3469. 2:10:47return back the median salary now this
  3470. 2:10:49also works for other function so let's
  3471. 2:10:52say we wanted to use the mode we want to
  3472. 2:10:55use a mode if condition they don't have
  3473. 2:10:57this available so we could just plug
  3474. 2:10:59this inside of mode and then running
  3475. 2:11:02this we can see that well the most
  3476. 2:11:03common value for thata analyst
  3477. 2:11:05apparently also the median of 90,000 so
  3478. 2:11:07going back to our data sheet let's
  3479. 2:11:09actually go through and stepbystep
  3480. 2:11:11calculate it for each of these different
  3481. 2:11:14sorted unique job tiles that we did
  3482. 2:11:15previously and we're going to be
  3483. 2:11:17building this step by step how i'
  3484. 2:11:18normally build a for so the first thing
  3485. 2:11:20we going to look for the job titles
  3486. 2:11:21itself do they match to that business
  3487. 2:11:23analyst so selecting column A2 and then
  3488. 2:11:26control shift down to select all the
  3489. 2:11:28contents on the cell we want to see if
  3490. 2:11:31that's equal to this business analyst
  3491. 2:11:34rule right here and now remember we're
  3492. 2:11:35going to be dragging these Downs do an
  3493. 2:11:37autofill so we need to be particular
  3494. 2:11:39about how we lock these cells
  3495. 2:11:41specifically we do need to lock these
  3496. 2:11:43values right here and just for safe
  3497. 2:11:45measure I'm going to lock the column of
  3498. 2:11:48this one okay pressing enter all right
  3499. 2:11:51we we have our array back looking for
  3500. 2:11:53business analyst and we can see that
  3501. 2:11:55it's working by what we see down here in
  3502. 2:11:57row 84 so let's actually do that array
  3503. 2:12:00multiplication by now filtering out
  3504. 2:12:03salary that doesn't have values or
  3505. 2:12:06blanks so we're going to put another set
  3506. 2:12:08of parentheses next to it we'll put in
  3507. 2:12:10our salary data and that it's not equal
  3508. 2:12:13to blank running this we confirm that
  3509. 2:12:16the first value of business analyst that
  3510. 2:12:19has a salary has a one now we need to
  3511. 2:12:21wrap this all inside of an if to
  3512. 2:12:24basically return instead of that one we
  3513. 2:12:25want it to return the salary itself so
  3514. 2:12:29for the value of true I'm going to put
  3515. 2:12:30in the selection of the salary yearly
  3516. 2:12:33running this we confirm this is again
  3517. 2:12:36correct looking at row 180 almost done
  3518. 2:12:39just now need to wrap this all inside of
  3519. 2:12:42a median function and Bam
  3520. 2:12:4685,000 and hopefully we actually locked
  3521. 2:12:50all the cells properly dragging it Down
  3522. 2:12:53Bam looks like we got all our things and
  3523. 2:12:55we slightly messed up our formatting
  3524. 2:12:57here so I'm going to go ahead and put a
  3525. 2:12:59thick outside border on again to make
  3526. 2:13:01that right again all right so that's how
  3527. 2:13:03you basically transform any function in
  3528. 2:13:07Excel that doesn't have that you know
  3529. 2:13:09count if or average IF function or
  3530. 2:13:12capability into other
  3531. 2:13:16functions now moving into probably the
  3532. 2:13:19most complex example that we're going to
  3533. 2:13:20be be using not only this lesson
  3534. 2:13:22probably in the entire course so if you
  3535. 2:13:24get around this you're going to be good
  3536. 2:13:26to go for the rest of the course anyway
  3537. 2:13:28what we're trying to look at here is the
  3538. 2:13:30count of job postings based on the month
  3539. 2:13:34that it was posted in and we're going to
  3540. 2:13:37be using the sum product function for
  3541. 2:13:40this now sum product is not anything
  3542. 2:13:43that you should be afraid of basically
  3543. 2:13:44before we were doing whenever we were
  3544. 2:13:47doing the intro and we were talking
  3545. 2:13:48about array multiplication how went
  3546. 2:13:51through line by line based on this and
  3547. 2:13:54we have our values of 1 4 9 16 and 25
  3548. 2:13:57line by line well if we were to do the
  3549. 2:14:01sum
  3550. 2:14:02product of the values in column A along
  3551. 2:14:06with the values in column B we're going
  3552. 2:14:08to get 55 which when we look at the sum
  3553. 2:14:13of these values here we can see that it
  3554. 2:14:16is 55 so it's a sum of the product of
  3555. 2:14:22the arrays so getting back to our
  3556. 2:14:25example that we're going to be solving
  3557. 2:14:26we're trying to aggregate it by these
  3558. 2:14:28names of these months if we actually
  3559. 2:14:30scroll over to the data set itself the
  3560. 2:14:33job posted date is in a date time format
  3561. 2:14:37so similar to the last example I'm going
  3562. 2:14:39to be walking you through column by
  3563. 2:14:41column by column on how we get to this
  3564. 2:14:44final value that we're going to be
  3565. 2:14:46eventually putting into our table here
  3566. 2:14:49to thus calculate these values for the
  3567. 2:14:51counts per month so we go ahead and
  3568. 2:14:53clear these cells to start and we're
  3569. 2:14:54going to start first by we want to
  3570. 2:14:57extract out the month from this job
  3571. 2:15:00posted date column so for this we can
  3572. 2:15:03use the text function which we're sort
  3573. 2:15:06of jumping ahead because we'll be doing
  3574. 2:15:08text functions upcoming lessons but
  3575. 2:15:10there a good little sneak peek anyway we
  3576. 2:15:12can plug in here something like a date
  3577. 2:15:15time value and then from there we wanted
  3578. 2:15:18to Output what is the format text for
  3579. 2:15:21well I know that if we do three M's it's
  3580. 2:15:25going to provide me the shorthand month
  3581. 2:15:28of this additionally if I do fourms it's
  3582. 2:15:31going to provide me the lonand month of
  3583. 2:15:33this and there's a host of different
  3584. 2:15:35format codes that you can provide sh by
  3585. 2:15:37this table here when I'm looking it up
  3586. 2:15:39in something like perplexity that says
  3587. 2:15:41that hey if you provide certain things
  3588. 2:15:42like if I provided a Double Y it's going
  3589. 2:15:45to provide the two-digit year and so on
  3590. 2:15:48for other values you look this up in
  3591. 2:15:50something like chat GPT anyway get back
  3592. 2:15:52to this example itself I want to
  3593. 2:15:53actually autofill this all the way
  3594. 2:15:55through it's not around any other
  3595. 2:15:57columns that I can actually autofill all
  3596. 2:15:59the way down and I don't want to sit
  3597. 2:16:00here and drag it all the way so what I
  3598. 2:16:02can do is select the column itself and
  3599. 2:16:04then when it has these basically four
  3600. 2:16:06arrows I can then drag it where I want
  3601. 2:16:08I'm going to drag it right next to here
  3602. 2:16:10and then now actually autofill it all
  3603. 2:16:12the way down now that I have it complete
  3604. 2:16:14I'm just select this column again make
  3605. 2:16:16sure I have those 4 hours again and drag
  3606. 2:16:18it back to the column it needs to be now
  3607. 2:16:20seeing what you did here you probably
  3608. 2:16:21like Luke can't you use something like a
  3609. 2:16:23count if in order to calculate the
  3610. 2:16:25months now using this and you'd be
  3611. 2:16:28correct with that remember call back for
  3612. 2:16:30the count if s we can provide a criteria
  3613. 2:16:33range in this case we're going to
  3614. 2:16:34provide it column V and then for the
  3615. 2:16:37criteria itself will provide the actual
  3616. 2:16:40month and then actually dragging and
  3617. 2:16:42dropping this all the way down once
  3618. 2:16:44again my formatting got messed up so I'm
  3619. 2:16:46put that thick outside border back on
  3620. 2:16:48there anyway these values here for what
  3621. 2:16:50we're going to get finally are the same
  3622. 2:16:54and so you really could stop this lesson
  3623. 2:16:56right here and if you want to do this of
  3624. 2:16:58creating a new column and then just
  3625. 2:16:59using count ifs you can do that but this
  3626. 2:17:02is a lesson on arrays so we're going to
  3627. 2:17:04get more complex with this in order how
  3628. 2:17:06to use the arays in order to actually
  3629. 2:17:08calculate this without having to create
  3630. 2:17:10these extra columns so I'm going to go
  3631. 2:17:11ahead and hide this cuz we're not going
  3632. 2:17:13to use it so before we can actually
  3633. 2:17:15summing up we need to get an array of
  3634. 2:17:17all the values that we'll say equal to
  3635. 2:17:19January so so we'll start by creating
  3636. 2:17:21that text function it's going to be
  3637. 2:17:22slightly different before cuz we're
  3638. 2:17:24going to be making it out of array we
  3639. 2:17:25want to actually select all the values
  3640. 2:17:28from H2 all the way down to the bottom
  3641. 2:17:31we want to then go ahead and lock it we
  3642. 2:17:33want it to be evaluating for that long
  3643. 2:17:36month name so four lowercase M's and
  3644. 2:17:40when I want to check if it's equal to in
  3645. 2:17:42our case we're looking for January we'll
  3646. 2:17:44look up here at this U2 or U1 I got a
  3647. 2:17:47typo up there update that to U1 anyway
  3648. 2:17:49we now have okay that this value is true
  3649. 2:17:52right here and we can tell from row 11
  3650. 2:17:54that this is in January it is true so
  3651. 2:17:57it's working out just fine so now if I
  3652. 2:18:00tried to actually run a su product which
  3653. 2:18:02is what we're finally trying to do on
  3654. 2:18:05all the contents of this array itself
  3655. 2:18:08we'll do W2 uh hashtag we're going to
  3656. 2:18:11get back zero because this isn't in the
  3657. 2:18:14format that we want we actually need to
  3658. 2:18:15convert this unfortunately although it
  3659. 2:18:18is on the back end is zero and on the
  3660. 2:18:20actual functions themselves can't
  3661. 2:18:22actually calculate it so we can do this
  3662. 2:18:25by basically converting it and the first
  3663. 2:18:27thing we can do actually is just we'll
  3664. 2:18:29put one negative sign and then I'll put
  3665. 2:18:32in that W2 hashtag and what this does is
  3666. 2:18:35it negates the Boolean values so
  3667. 2:18:37basically true which is normally a one
  3668. 2:18:41it negates it and makes it negative one
  3669. 2:18:43zero a negative Z is negative anyway we
  3670. 2:18:46need to actually apply two negative
  3671. 2:18:48signs CU we don't want it to be negative
  3672. 2:18:50one we want it to be positive one so
  3673. 2:18:53doing this one more time we now have
  3674. 2:18:55positive ones in there so now we are
  3675. 2:18:57using some product because some product
  3676. 2:19:00I feel are better with arrays but we
  3677. 2:19:02could use in this case where it's a
  3678. 2:19:04single array we could use actual just
  3679. 2:19:08sum itself I didn't want to show that
  3680. 2:19:10and we get that value of 3102 which
  3681. 2:19:13correlates to what I expect as the value
  3682. 2:19:15but we're going to use some product
  3683. 2:19:17because as you'll find out in future
  3684. 2:19:19lessons we're actually going to be
  3685. 2:19:20modifying it even further what's inside
  3686. 2:19:23of here and so we need this Su product
  3687. 2:19:25in order to do those anyway we get the
  3688. 2:19:27same value of
  3689. 2:19:293,12 so going back to our data tab let's
  3690. 2:19:32actually calculate this fully for all of
  3691. 2:19:35these different values walking through
  3692. 2:19:36it step by step by step as we do
  3693. 2:19:38previously we're going to start with our
  3694. 2:19:40text function and we want to look at
  3695. 2:19:43that job posted date column I'm going go
  3696. 2:19:46ahead and lock all those cells it's very
  3697. 2:19:47important for this going be dragging and
  3698. 2:19:48dropping that down and remember for the
  3699. 2:19:50format text to this we want it to be
  3700. 2:19:52four lowercase M and in this we're
  3701. 2:19:56checking whether it's equal to this
  3702. 2:19:59value here of V2 which is January and
  3703. 2:20:01I'm going to go ahead and actually lock
  3704. 2:20:03just that column pressing enter to make
  3705. 2:20:05sure it goes correctly yep we got True
  3706. 2:20:07Value here for our row 15 value first
  3707. 2:20:10thing we want to do is do that double
  3708. 2:20:13negation which we need to actually wrap
  3709. 2:20:15these in this whole formula itself in
  3710. 2:20:18parenthesis in order to get our Z and
  3711. 2:20:21one values and then finally we're going
  3712. 2:20:23to wrap this all once again in Su
  3713. 2:20:26product putting that closing parentheses
  3714. 2:20:29on there pressing enter get 3102 and
  3715. 2:20:32then doing autofill all the way down we
  3716. 2:20:34have all our values once again format is
  3717. 2:20:37messed up I'm going put that thick
  3718. 2:20:38outside border now the other reason why
  3719. 2:20:40we're using some product in this case is
  3720. 2:20:43because in older versions of excel
  3721. 2:20:45before we had these uh modern dynamic
  3722. 2:20:48arrays some is not going to to be able
  3723. 2:20:51to work over a raise and you actually
  3724. 2:20:52have to use some product so this allows
  3725. 2:20:55us also to have a safe way to
  3726. 2:20:59calculate using arrays and then give it
  3727. 2:21:01to people that may be archaic and have
  3728. 2:21:04older versions of excel all right it's
  3729. 2:21:06your turn now to jump into some practice
  3730. 2:21:08problems to get more familiar with
  3731. 2:21:09working with arrays inside of formulas
  3732. 2:21:13in the next lesson we're going to be
  3733. 2:21:14getting into probably I think one of the
  3734. 2:21:16most funnest types of functions lookup
  3735. 2:21:19functions like vlookup and X look up and
  3736. 2:21:21things like that which are super helpful
  3737. 2:21:23for data analysis all right with that
  3738. 2:21:26I'll see you in the next
  3739. 2:21:30one lookup functions are one of the most
  3740. 2:21:34I'd say funnest functions whenever
  3741. 2:21:37you're learning to be a freak in the
  3742. 2:21:38sheets specifically we're going to be
  3743. 2:21:40focusing on three different lookup
  3744. 2:21:42functions vlookup H lookup and X lookup
  3745. 2:21:46V and V lookup stands for vertical H and
  3746. 2:21:49H lookup stands for horizont and x and x
  3747. 2:21:51look up just uh they wouldn't be
  3748. 2:21:53different in order to learn about these
  3749. 2:21:54functions we're going to be performing
  3750. 2:21:55some data analysis and if you recall
  3751. 2:21:57back from our math and statistical
  3752. 2:21:59functions lessons we found out what the
  3753. 2:22:02median Min and Max salaries were but for
  3754. 2:22:06the things like the Min and Max what
  3755. 2:22:08were those different job postings that
  3756. 2:22:11correlated to that well based on the
  3757. 2:22:13structure of our data set we can use the
  3758. 2:22:14vlookup and also X lookup functions in
  3759. 2:22:18order to find this out now because of
  3760. 2:22:20the structure of our data we're going to
  3761. 2:22:22have to do something different in order
  3762. 2:22:23to implement H lookups and for this
  3763. 2:22:26we're going to be able to get out or
  3764. 2:22:28extract out horizontal type data we're
  3765. 2:22:31going to basically transpose it into a
  3766. 2:22:33vertical format using H lookup but if
  3767. 2:22:35there's anything you remember from this
  3768. 2:22:36lesson it's that of X lookup this one is
  3769. 2:22:40the most dynamic and flexible and how it
  3770. 2:22:42can be used and we're going to be doing
  3771. 2:22:43in a final example using this in order
  3772. 2:22:46to bucket our salary data set allowing
  3773. 2:22:50us to categorize it into different
  3774. 2:22:52ranges and whether it has data or not
  3775. 2:22:56all using xlup for this we can start
  3776. 2:22:59using the lookup functions workbook we
  3777. 2:23:02have two main tabs in this data and
  3778. 2:23:04dataor 2 Data ones where we're going to
  3779. 2:23:07start in first for this section on
  3780. 2:23:09vlookups so for this we're going to be
  3781. 2:23:11using that job posting data set I've
  3782. 2:23:12hidden any unnecessary columns and we're
  3783. 2:23:14going to be filling in this table right
  3784. 2:23:16here so what I'm trying to do with this
  3785. 2:23:18is fill in based on this Min as you can
  3786. 2:23:21see the formula for Min the formula for
  3787. 2:23:23max and the formula for median where we
  3788. 2:23:25actually calculate this from the Sal
  3789. 2:23:27year average column we want to then
  3790. 2:23:29extract out based on these values the
  3791. 2:23:31company name a job title associated with
  3792. 2:23:34it and then the country associated with
  3793. 2:23:38it so we're going to start with V lookup
  3794. 2:23:41first and V lookup looks in a vertical
  3795. 2:23:44type format specifically it says it
  3796. 2:23:46looks for a value in the leftmost column
  3797. 2:23:48of a table and then returns a value in
  3798. 2:23:51the same Row from a column you specify
  3799. 2:23:54so for the first value of this we want
  3800. 2:23:56to provide the lookup value in this case
  3801. 2:23:58we want to look up 15,000 from that
  3802. 2:24:01salary year average column then from
  3803. 2:24:03there we need to provide the table array
  3804. 2:24:05now remember for this it needs to be the
  3805. 2:24:07leftmost column of the table and we want
  3806. 2:24:11to get columns M and O I'm going to
  3807. 2:24:12select column o because if we start at M
  3808. 2:24:15and try to go down it's going to mess up
  3809. 2:24:17cuz there's blank in it so I'm just
  3810. 2:24:18going to do control shift over and then
  3811. 2:24:20control shift down to select all the
  3812. 2:24:22data and then change this a column to M
  3813. 2:24:25instead the next thing we need to
  3814. 2:24:27specify is the column index number and
  3815. 2:24:30right now we're in column M so that
  3816. 2:24:33would be the First Column so MN o we're
  3817. 2:24:37in the third column you can imagine if
  3818. 2:24:39we have a buttload of columns what kind
  3819. 2:24:42of problems are going to run into so
  3820. 2:24:44we'll get to that when we get to it okay
  3821. 2:24:46now they have a range lookup we're going
  3822. 2:24:48to leave that blank for the time being
  3823. 2:24:50we're just going to execute this formula
  3824. 2:24:52as is and for this we're getting an NA
  3825. 2:24:55error if we actually click into it value
  3826. 2:24:57not available error and why is that well
  3827. 2:25:01if we actually go back to that vlookup
  3828. 2:25:02function in the definition that it
  3829. 2:25:05provides for it the last statement is by
  3830. 2:25:07default the table must be sorted in
  3831. 2:25:10ascending order right now our salary
  3832. 2:25:14values are not sorted so it's having
  3833. 2:25:16issues going through it and actually
  3834. 2:25:18finding that 15,000 because it's
  3835. 2:25:20unsorted anyway we're not going to
  3836. 2:25:22actually sort that table that's going to
  3837. 2:25:24be too much work we can actually now go
  3838. 2:25:26into that fourth parameter of range
  3839. 2:25:29lookup and instead of doing an
  3840. 2:25:31approximate match which was the default
  3841. 2:25:33we're going to do an exact match by
  3842. 2:25:35providing false in that case we find
  3843. 2:25:37that net two Source Inc is the company
  3844. 2:25:39name of the job with 15,000 now I want
  3845. 2:25:43to autofill for this but we need to
  3846. 2:25:45actually lock some cells real quick so
  3847. 2:25:47I'm going to lock this right now by
  3848. 2:25:48pressing F4 then from there we'll drag
  3849. 2:25:50it down now one thing to note on vlookup
  3850. 2:25:53X lookup and also H lookup this is just
  3851. 2:25:55going to return the first value so in
  3852. 2:25:57this case of this 115,000 it says it's
  3853. 2:26:00Volt Technical Resources however I do a
  3854. 2:26:02contrl f of
  3855. 2:26:04115,000 we'll find that yes it's at row
  3856. 2:26:0719 for Volt Technical Resources the
  3857. 2:26:09first one that provides but it's also in
  3858. 2:26:11row 42 with northr Gan so it's only
  3859. 2:26:14providing that first match now what
  3860. 2:26:17happens if we wanted to next get things
  3861. 2:26:19like the job title or the country itself
  3862. 2:26:23well if I were put in the first two
  3863. 2:26:24values the lookup value and then the
  3864. 2:26:26table array what will we put for the
  3865. 2:26:28column index number remember in vlookup
  3866. 2:26:31the leftmost column of the table itself
  3867. 2:26:34is what we're going to be looking up but
  3868. 2:26:36however columns A and K are even well
  3869. 2:26:39more left of that table so unfortunately
  3870. 2:26:42we can't use vck up for this but we will
  3871. 2:26:45be using X lookup for this that's why
  3872. 2:26:47I'm going to recommend it over vlookup
  3873. 2:26:49but I think you guys start at the Bas
  3874. 2:26:50phics
  3875. 2:26:52first however before we get into that
  3876. 2:26:55we're going to now shift gears and cover
  3877. 2:26:57H look up in order to look up values in
  3878. 2:27:00a horizontally oriented table this case
  3879. 2:27:04this is horizontally oriented because we
  3880. 2:27:06have things like the months across the
  3881. 2:27:09Horizon if you will and then we have in
  3882. 2:27:12the columns in the column standpoint we
  3883. 2:27:14have the job titles of the different
  3884. 2:27:16ones of data analyst and your data analy
  3885. 2:27:18so on now the data in this table is
  3886. 2:27:21calculated using the data from the data
  3887. 2:27:24tab in order to get the counts of months
  3888. 2:27:26and you've previously seen this in the
  3889. 2:27:28last lesson where we went in that hard
  3890. 2:27:31example of some product where we now go
  3891. 2:27:33through and do some array multiplication
  3892. 2:27:36in order to find out the different
  3893. 2:27:37counts for the job titles based on a
  3894. 2:27:40month anyway for this H look up we want
  3895. 2:27:42to look up based on a month what is the
  3896. 2:27:46associated job count for a specific job
  3897. 2:27:49type
  3898. 2:27:50so let's say we want to just look at
  3899. 2:27:52that may column well we can put in h
  3900. 2:27:55lookup and this looks for a value in the
  3901. 2:27:59top row of a table or array of values
  3902. 2:28:02and Returns the value in the same column
  3903. 2:28:04from a row you specify so only selects
  3904. 2:28:08from that top row for this we provide a
  3905. 2:28:11lookup value in this case let's say
  3906. 2:28:12we're looking up January then from there
  3907. 2:28:15we provide the table array itself we can
  3908. 2:28:19go and just select this data now I could
  3909. 2:28:21technically I could select all this data
  3910. 2:28:23because it's just going to go to the
  3911. 2:28:25associated column associated with this
  3912. 2:28:28so that we included row a doesn't really
  3913. 2:28:30matter then from there we want the row
  3914. 2:28:33index number what value do we want from
  3915. 2:28:37this January do we want data analyst
  3916. 2:28:39senior data analyst senior data
  3917. 2:28:40scientist so we can just count down what
  3918. 2:28:42we want we'll start with data analyst
  3919. 2:28:44first so we'll put in that's the second
  3920. 2:28:47row in this so let's try to enter this
  3921. 2:28:50and for this we get 753 which if you go
  3922. 2:28:53back to this we're doing Jan A1 through
  3923. 2:28:56M7 and then the second one so why are we
  3924. 2:28:59getting
  3925. 2:29:00753 well once again this has to do with
  3926. 2:29:04the range lookup we're doing an
  3927. 2:29:07approximate match similar to vlookup it
  3928. 2:29:11expects that these values for that top
  3929. 2:29:14row are in in this case alphabetical
  3930. 2:29:17order in order to perform that
  3931. 2:29:19approximate maass
  3932. 2:29:20these aren't in alphabetical order
  3933. 2:29:21they're actually in chronological order
  3934. 2:29:23so instead we need to specify false now
  3935. 2:29:27running it we get the correct value of
  3936. 2:29:29982 now we can also apply this to a
  3937. 2:29:31situation where maybe we want to
  3938. 2:29:33transpose these values into this new
  3939. 2:29:36table that we have here on month and
  3940. 2:29:38count and then up here I'm going to also
  3941. 2:29:40just specify what we're looking at we're
  3942. 2:29:41going to look at data analyst now with
  3943. 2:29:44our H lookup we're going to be providing
  3944. 2:29:46that lookup value the table array and
  3945. 2:29:49then the row index number say if we
  3946. 2:29:52wanted to go in here instead of data
  3947. 2:29:53analysts we wanted to look at data
  3948. 2:29:56engineer instead how can we get this to
  3949. 2:29:59update well we can use another function
  3950. 2:30:02for this specifically we can use the
  3951. 2:30:04match function for this and this Returns
  3952. 2:30:07the relative position of an item in
  3953. 2:30:09Array that matches a specified value in
  3954. 2:30:12a specified order so in this case I want
  3955. 2:30:15to look up data engineers in the array
  3956. 2:30:19from a 2 to A7 it's providing me a one
  3957. 2:30:23cuz it's not it's doing the approximate
  3958. 2:30:25match again once again they're not in
  3959. 2:30:27alphatic so I have to specify exact
  3960. 2:30:30match using zero okay and now I get data
  3961. 2:30:33engineers in the fifth place I'm also
  3962. 2:30:35going to move this column over and make
  3963. 2:30:37this a little bit bigger going back into
  3964. 2:30:39that H lookup that we're going to use
  3965. 2:30:40for this we're going to provide that
  3966. 2:30:41lookup value which we want to actually
  3967. 2:30:44lock by pressing F4 then we're going to
  3968. 2:30:46provide the table once again I said you
  3969. 2:30:48can select that a column if want or not
  3970. 2:30:50we're going to lock all these values as
  3971. 2:30:53well because we'll be dragging it down
  3972. 2:30:55from there we'll be providing the row
  3973. 2:30:57index number which we've calculated
  3974. 2:30:59right here in this P based on that match
  3975. 2:31:01that we're performing want to lock this
  3976. 2:31:03as well and as far as the range lookup
  3977. 2:31:05well we want to do exact match running
  3978. 2:31:08this we get an NA error because I was
  3979. 2:31:10silly and the lookup value we want to
  3980. 2:31:12actually do is for the month of January
  3981. 2:31:14not the data engineer actual lookup
  3982. 2:31:17confusing this with h lookup sorry about
  3983. 2:31:18that so we'll put in 03 for this instead
  3984. 2:31:21and then running it and now we're
  3985. 2:31:22getting back to 236 which is not that
  3986. 2:31:24Engineers thing we're one off and this
  3987. 2:31:27has to do with how we did our match up
  3988. 2:31:30here which specified A2 to A7 basically
  3989. 2:31:33we're counting down from the second one
  3990. 2:31:36where in h lookup we included all the
  3991. 2:31:39way up to that first row so this is just
  3992. 2:31:42a simple fix by changing this one up
  3993. 2:31:43here to A1 and now our values update
  3994. 2:31:46appropriately and then I can go ahead
  3995. 2:31:48and just drag and drop this all the way
  3996. 2:31:50down and once again going to get into
  3997. 2:31:52some troubleshooting because this is all
  3998. 2:31:54the same values and that's because I
  3999. 2:31:56fully locked this actual month number
  4000. 2:31:59and instead I wanted to press F4 and
  4001. 2:32:01only lock the column of O now finally
  4002. 2:32:06getting to the final answer we have it
  4003. 2:32:09and we can confirm this that data
  4004. 2:32:11Engineers should have 396 on the
  4005. 2:32:12December value that's correct and now we
  4006. 2:32:15can do things like this where I can go
  4007. 2:32:16in and say hey instead I want to look at
  4008. 2:32:19Dana analyst and it will update for this
  4009. 2:32:22instead now once again with h lookup we
  4010. 2:32:25run into issues like vlookup if there's
  4011. 2:32:28values Above This top row I can't really
  4012. 2:32:31think of that any applications that
  4013. 2:32:33that's applicable in this but it is a
  4014. 2:32:34limitation anyway this is why we're
  4015. 2:32:36going to be shifting to the next
  4016. 2:32:40topic and that is using xlookup to now
  4017. 2:32:43based on these salaries that we were
  4018. 2:32:46previously trying to identify
  4019. 2:32:47identifying a job title and a country
  4020. 2:32:50associated with it so what is the
  4021. 2:32:53definition of xlup and this searches a
  4022. 2:32:56range or an array for a match and
  4023. 2:32:59Returns the corresponding item from a
  4024. 2:33:02second range or array by default an
  4025. 2:33:06exact match is used that's pretty
  4026. 2:33:08awesome considering all the issues ran
  4027. 2:33:10to with h look up and V lookup anyway
  4028. 2:33:13instead of using a single table we're
  4029. 2:33:14going to be using multiple ranges for
  4030. 2:33:16this let's get into it first we're going
  4031. 2:33:18to provide the lookup value which in
  4032. 2:33:20this case is 15,000 and then we want to
  4033. 2:33:23provide the lookup array so we need to
  4034. 2:33:26select this entire M column here for
  4035. 2:33:28what we want to actually look up but we
  4036. 2:33:31have these blanks in here so I'm going
  4037. 2:33:32to just do a trick of selecting the O
  4038. 2:33:35column selecting all the way down and
  4039. 2:33:38then from here I'm going to just go in
  4040. 2:33:39and actually change these values to M
  4041. 2:33:42instead now we want this to remain the
  4042. 2:33:45same so I'm going to press F4 to
  4043. 2:33:47actually lock this now that was our
  4044. 2:33:49lookup array now we want to get into
  4045. 2:33:52what return array or where we want
  4046. 2:33:54actually look to see and that's to the
  4047. 2:33:56left of this in this job title short
  4048. 2:33:59column these arrays have to match up in
  4049. 2:34:02where they are uh where you're selecting
  4050. 2:34:04them so in this case I selected over
  4051. 2:34:05here in the second row I need to do the
  4052. 2:34:07same for the job title then from there
  4053. 2:34:09pressing control shift down I select all
  4054. 2:34:12of them once again I'm going to lock all
  4055. 2:34:14of these by pressing F4 now let's close
  4056. 2:34:16the parentheses and go ahead and execute
  4057. 2:34:18it we can see see that data engineer is
  4058. 2:34:21the lowest paid salary with this 15,000
  4059. 2:34:25now we can also add in this default
  4060. 2:34:27parameter in case you can't find a value
  4061. 2:34:30you can put not found but in our case we
  4062. 2:34:32made or we calculated this minmax and
  4063. 2:34:34median from our data set so technically
  4064. 2:34:37this isn't really necessary anyway let's
  4065. 2:34:39see what the other job titles are for
  4066. 2:34:41these Max and median looks like it's
  4067. 2:34:43data scientist and then the data
  4068. 2:34:45engineer for the median which is that
  4069. 2:34:47first one that appears right over here
  4070. 2:34:48in row 19
  4071. 2:34:50now doing the same for the country I'm
  4072. 2:34:52going to go ahead and just copy and
  4073. 2:34:54paste that formula in that we had from
  4074. 2:34:56the other cell and I'm going to just
  4075. 2:34:57adjust this now to use column K instead
  4076. 2:35:01of column A for the actual return array
  4077. 2:35:05okay with that updated press enter and
  4078. 2:35:07we can see Brazil has the lowest one and
  4079. 2:35:11what is the highest one United States
  4080. 2:35:12and also the median United
  4081. 2:35:16States all right we're going to crank
  4082. 2:35:18this up a notch and now we're going to
  4083. 2:35:20jump into actually bucketing our salary
  4084. 2:35:22using X lookup specifically I want to
  4085. 2:35:25use this table that I've created in
  4086. 2:35:28order to properly categorize different
  4087. 2:35:32values based on this so in this case we
  4088. 2:35:34have this value of 140,000 it's going to
  4089. 2:35:36fall into our bucket of
  4090. 2:35:38125,00 th000 there's no data in this one
  4091. 2:35:40so I want to say no data this one's
  4092. 2:35:42greater than 200,000 so I want to say
  4093. 2:35:44greater than 200,000 so for this we're
  4094. 2:35:46going to be creating a new column column
  4095. 2:35:49Q and we're going to call it salary year
  4096. 2:35:53bucket I'm going to go ahead also and
  4097. 2:35:55cod this column o for the time being we
  4098. 2:35:58don't really need this for this now
  4099. 2:36:00technically you already have the
  4100. 2:36:02requisite knowledge in order to bucket
  4101. 2:36:03it I could put in a nested IF function
  4102. 2:36:08similar to below and it has 1 2 3 four
  4103. 2:36:12five if you will nested ifs to go
  4104. 2:36:14through and basically check each of the
  4105. 2:36:16different values as it's going through
  4106. 2:36:18in order to bucket it appropriately
  4107. 2:36:20in this case it correctly categorizes it
  4108. 2:36:23and then if I wanted to I can drag and
  4109. 2:36:25drop it all the way down but now this
  4110. 2:36:28sheet is filled with all of these nested
  4111. 2:36:32if statements this is really going to
  4112. 2:36:34slow your spreadsheet down so I don't
  4113. 2:36:37recommend doing this also building
  4114. 2:36:39something this like this you've now
  4115. 2:36:41hardcoded in your values into it and
  4116. 2:36:44what is if you want to change this later
  4117. 2:36:45you'd have to update all your formulas
  4118. 2:36:47it's a mess don't recommend doing it so
  4119. 2:36:49I'm going to select all this control
  4120. 2:36:51shift down and then just delete it all
  4121. 2:36:53instead we're going to be using X lookup
  4122. 2:36:56for this specifically we need to look up
  4123. 2:36:58the lookup value which is going to be
  4124. 2:36:59the same one that we did before that M2
  4125. 2:37:02and then we want to look up the lookup
  4126. 2:37:04array now I conveniently made this table
  4127. 2:37:05here that it's providing values at if
  4128. 2:37:08you will the higher end of the bucket so
  4129. 2:37:11we're not going to necessarily do an
  4130. 2:37:12exact match for this we'll get to that
  4131. 2:37:14in a second anyway now we want to look
  4132. 2:37:16at what do we want to return the return
  4133. 2:37:18array which is on the left side of this
  4134. 2:37:20table that's the values I actually want
  4135. 2:37:22to return back in that column value if
  4136. 2:37:24not found is not necessarily applicable
  4137. 2:37:27so now getting into how we're actually
  4138. 2:37:29going to match based on these salary
  4139. 2:37:30buckets based on these values
  4140. 2:37:32highlighted in this T column right here
  4141. 2:37:35well we need to do not exact match we
  4142. 2:37:38need to do exact match or next larger
  4143. 2:37:42item and this is the value of one
  4144. 2:37:45basically in this case of this 12850
  4145. 2:37:48it's going to look for initially an
  4146. 2:37:50exact match of 128 of 50 and it's going
  4147. 2:37:53to see that nothing's there so then it's
  4148. 2:37:55going to look for the next larger item
  4149. 2:37:58which is that 200,000 so therefore it's
  4150. 2:38:00going to return as we're going to find
  4151. 2:38:02out the
  4152. 2:38:03125,000 to
  4153. 2:38:05200,000 now I can try to drag and drop
  4154. 2:38:07this down but I'm going to run into
  4155. 2:38:08errors because I didn't lock my formulas
  4156. 2:38:10correctly so I need to go back in lock
  4157. 2:38:13that s column with F4 and lock that t
  4158. 2:38:16column with F4 and then I'm just going
  4159. 2:38:18to autofill all the way down and now we
  4160. 2:38:21have all of our different job postings
  4161. 2:38:24bucketed into these different salaries
  4162. 2:38:27so instead I wanted to go through and
  4163. 2:38:28actually change this to be
  4164. 2:38:30150k and then match this to
  4165. 2:38:33150,000 I go do it and it would update
  4166. 2:38:35appropriately I also need to update this
  4167. 2:38:37column as well but now it all updates
  4168. 2:38:39and it's in one single location so this
  4169. 2:38:41is really the power of using that X
  4170. 2:38:44lookup over the ifs in order to perform
  4171. 2:38:46this type of bucketing all right you now
  4172. 2:38:48got some practice problems go through
  4173. 2:38:50and get more familiar with using these
  4174. 2:38:52different Lookout functions as I said
  4175. 2:38:54before make sure you're prioritizing
  4176. 2:38:56understanding that X lookup it's the
  4177. 2:38:57most powerful but the one caveat to X
  4178. 2:39:01lookup is that it was introduced around
  4179. 2:39:04the 2020s so anybody using once again an
  4180. 2:39:06archaic version of excel Beyond or
  4181. 2:39:10before this year they're going to have
  4182. 2:39:11compatibility issues using this so
  4183. 2:39:14that's why you need to also be familiar
  4184. 2:39:16with that V lookup and also H lookup are
  4185. 2:39:19going to encounter them in the while all
  4186. 2:39:21right with that I'll see you in the next
  4187. 2:39:22one where we're jumping into text
  4188. 2:39:27functions now I know this is a course on
  4189. 2:39:29data analysis but text functions are
  4190. 2:39:32actually imperative for performing
  4191. 2:39:35analysis on Text data and for this we're
  4192. 2:39:39going to be working in this lesson on a
  4193. 2:39:41data set of job applicants and we're
  4194. 2:39:44going to take it a step further using
  4195. 2:39:47text functions in order to analyze
  4196. 2:39:50specifically for our final analysis we
  4197. 2:39:52have information on the different skills
  4198. 2:39:55that each one of these job applicants
  4199. 2:39:56knows so we're going to be able to
  4200. 2:39:59perform an analysis to see what are the
  4201. 2:40:01most common skills from these applicants
  4202. 2:40:04but before we get to that final analysis
  4203. 2:40:06we first need to beef up our knowledge
  4204. 2:40:08we're going to focus on three main areas
  4205. 2:40:10the first one is text combination we're
  4206. 2:40:12going to be working to combine different
  4207. 2:40:15columns into a single column from there
  4208. 2:40:17we'll move into the second one of of
  4209. 2:40:19text extraction being able to out of a
  4210. 2:40:22single column extract multiple values
  4211. 2:40:25and finally in the third one performing
  4212. 2:40:28some sort of text search in order to
  4213. 2:40:31also extract out in this case we're
  4214. 2:40:33going to be extracting out the state
  4215. 2:40:36name from an address that contains a
  4216. 2:40:39city state and area code so for this you
  4217. 2:40:41can start up by opening up the text
  4218. 2:40:42functions workbook and in the data tab
  4219. 2:40:45we have this data set which you haven't
  4220. 2:40:47seen before it's only about 20 R and
  4221. 2:40:50includes a list of job applicants now
  4222. 2:40:53we're not using the full data science
  4223. 2:40:54job posting data set because a lot of
  4224. 2:40:56the examples we're going to do in this
  4225. 2:40:58it would be basically bogged down your
  4226. 2:41:00Excel spreadsheet so especially how
  4227. 2:41:02we're going to be implementing these
  4228. 2:41:04it's really meant to be used for smaller
  4229. 2:41:07data sets you may be like Luke what ends
  4230. 2:41:09if a bigger data set and need to clean
  4231. 2:41:10up the text well that's where power
  4232. 2:41:12query comes in which we'll be covering
  4233. 2:41:14in the advanced chapters so stick around
  4234. 2:41:16for that
  4235. 2:41:20anyway moving into text combination we
  4236. 2:41:22want to Target these columns right here
  4237. 2:41:24f and g we want to combine them into one
  4238. 2:41:27line to have a single address so I'm
  4239. 2:41:30going to go ahead and hide this column H
  4240. 2:41:32for the time being we're going to be
  4241. 2:41:33putting that full address in column J
  4242. 2:41:36and this one's pretty simple all we're
  4243. 2:41:38going to do is text join which
  4244. 2:41:41concatenates a list or range of text
  4245. 2:41:44strings using a delimiter the first
  4246. 2:41:46thing I need to specify is the delimiter
  4247. 2:41:48how am I going to to separate that
  4248. 2:41:49street and the city state all I want to
  4249. 2:41:51do is a space so I'll do that en closing
  4250. 2:41:54it in double quotes next is ignore empty
  4251. 2:41:58basically if there was an empty cell in
  4252. 2:42:01here it would just ignore this and it's
  4253. 2:42:03not going to input multiple different
  4254. 2:42:05spaces between it just ignore it so we
  4255. 2:42:07want to in that case we're just going to
  4256. 2:42:08put in true the final one is text and we
  4257. 2:42:12can specify you could do text and then
  4258. 2:42:14comma and then text to um that's really
  4259. 2:42:17Vose I don't really like doing that
  4260. 2:42:19instead I'm just going to select the
  4261. 2:42:21range of F2 to G2 now we can see that
  4262. 2:42:25the address is fully concatenated and we
  4263. 2:42:28can drag it on down and it works for all
  4264. 2:42:30of
  4265. 2:42:32it now the opposite of combo is
  4266. 2:42:35extraction which we going to get into
  4267. 2:42:36next and in this case we're just going
  4268. 2:42:38to use a single column and extract out
  4269. 2:42:41multiple values in this case we have
  4270. 2:42:43this full name column we want to extract
  4271. 2:42:44out the first name and the last name go
  4272. 2:42:47ahead and hide these other columns we're
  4273. 2:42:48not using
  4274. 2:42:49in this case we're going to specify the
  4275. 2:42:51text split and it says it splits text
  4276. 2:42:55into rows or columns using delimiters so
  4277. 2:42:59we'll first start by specifying the text
  4278. 2:43:01which is B2 in this case and then the
  4279. 2:43:03column delimiter which in our case is
  4280. 2:43:06going to be that space once again we're
  4281. 2:43:08going to use that double quotes for that
  4282. 2:43:10space and then end Double quotes and
  4283. 2:43:12then this is going to be a dynamic array
  4284. 2:43:15and it has these two values here now
  4285. 2:43:18dragging this all down down we see that
  4286. 2:43:20it fills in for all these different
  4287. 2:43:21names now we just split text there also
  4288. 2:43:24could be cases where we maybe want to
  4289. 2:43:26extract out certain amount of values or
  4290. 2:43:30certain amount of text from a column in
  4291. 2:43:32this case we also have our application
  4292. 2:43:34ID number which is a combination of
  4293. 2:43:37letters and numbers but as you can see
  4294. 2:43:38from this there's some values in here
  4295. 2:43:41that are actually repeating sometimes we
  4296. 2:43:43want to refer to this the shorthand of
  4297. 2:43:46this and let's say we only want to get
  4298. 2:43:47the last three digits of the applicant
  4299. 2:43:50ID because we know that's always
  4300. 2:43:52different well in this case we can
  4301. 2:43:54specify the right function and it
  4302. 2:43:57Returns the specified number of
  4303. 2:43:59characters from the end of the text
  4304. 2:44:01string we specify the text itself and
  4305. 2:44:04then the number of characters in this
  4306. 2:44:05case we can just say three and it's
  4307. 2:44:07going to provide back that 548 we could
  4308. 2:44:09also just change that to include all the
  4309. 2:44:11text numbers in case this number gets
  4310. 2:44:13bigger than that and then go ahead and
  4311. 2:44:15drag it all the way down
  4312. 2:44:19now one last one before we get into
  4313. 2:44:21actually performing that analysis we
  4314. 2:44:22want to we want to go through and
  4315. 2:44:24extract out the state from this city
  4316. 2:44:28state and zip and as you notice from all
  4317. 2:44:30these they have a common format in that
  4318. 2:44:33the city has a comma and then the state
  4319. 2:44:35starts and then there's another comma
  4320. 2:44:37following that so we're going to be
  4321. 2:44:39using those basically delimiters if you
  4322. 2:44:42will in order to identify where we
  4323. 2:44:44should potentially extract out this
  4324. 2:44:47state value from where this state these
  4325. 2:44:49two L twetter value so the approach
  4326. 2:44:52we're going to use for this is as we go
  4327. 2:44:54through this is we're going to find the
  4328. 2:44:55location first of that first Common
  4329. 2:44:58space before this the next we'll find
  4330. 2:45:01where it actually ends and then finally
  4331. 2:45:04well using those values will actually
  4332. 2:45:05extract out using the mid function that
  4333. 2:45:09state abbreviation so the first thing we
  4334. 2:45:11need to do is find that comma and this
  4335. 2:45:14Returns the starting position of one
  4336. 2:45:15text string within another text string
  4337. 2:45:17so in this I'm going to specify that
  4338. 2:45:19we're the fine text we're going to be
  4339. 2:45:21looking for is the comma itself and
  4340. 2:45:24we're going to be looking at within text
  4341. 2:45:27obviously G2 now we also need to find
  4342. 2:45:30the second comma in this we can use that
  4343. 2:45:33find function again specifically we're
  4344. 2:45:36finding that comma specifying that
  4345. 2:45:38within text of G2 and now we have the
  4346. 2:45:42second optional parameter of start
  4347. 2:45:44number we want to start from nine which
  4348. 2:45:48is the first one we found this in
  4349. 2:45:50running this we get nine now the problem
  4350. 2:45:53here is because we're starting as the
  4351. 2:45:55exact number that the comma actually
  4352. 2:45:58starts that's why we're getting that
  4353. 2:46:00back that value of nine we need slightly
  4354. 2:46:02actually bigger than nine but anyway
  4355. 2:46:04we'll fix that in a bit instead let's
  4356. 2:46:07actually get into extracting out that or
  4357. 2:46:09at least trying to extract out that CA
  4358. 2:46:12of this value and then we'll fix that
  4359. 2:46:13issue in cell R2 so for this we're going
  4360. 2:46:16to be using the mid function which which
  4361. 2:46:19similar to that right function is
  4362. 2:46:21Returns the characters from the middle
  4363. 2:46:23of a text string given a starting
  4364. 2:46:25position and length so in this case we
  4365. 2:46:29want to extract out G2 and we'll provide
  4366. 2:46:33it the start number of well what's
  4367. 2:46:35valuable in Q2 and the number of
  4368. 2:46:39characters and for right now we'll just
  4369. 2:46:41put in we know we want to extract out
  4370. 2:46:43two so we're going to put in two now
  4371. 2:46:45we're running into issues we're only
  4372. 2:46:47getting back a comma if will and if we
  4373. 2:46:50actually make this longer to actually
  4374. 2:46:51zoom in on here we get commas space CA
  4375. 2:46:55now when providing four and this has to
  4376. 2:46:57do with right here this value on the
  4377. 2:47:00start number isn't correct this nine
  4378. 2:47:03right here is exactly at the comma we
  4379. 2:47:06need to actually specify for that start
  4380. 2:47:09number of where the C is and these are
  4381. 2:47:13all two spaces over so I'm going to come
  4382. 2:47:15in here and I'm just going to modify
  4383. 2:47:17this shortly and add two to this this is
  4384. 2:47:20also going to fix our previous one that
  4385. 2:47:23we had when finding this of 13 because
  4386. 2:47:2613 now has all the way over and then
  4387. 2:47:29finally that mid is fixed we can change
  4388. 2:47:31this now to back to two now you know me
  4389. 2:47:34I don't like hardcoding values something
  4390. 2:47:36like this to and really what we're doing
  4391. 2:47:40here is we're doing adding two based on
  4392. 2:47:42the length of the comma and then the
  4393. 2:47:47space after it so there's two characters
  4394. 2:47:49in there two this is still that 11 value
  4395. 2:47:52that we saw before similarly inside of
  4396. 2:47:54our mid function I don't like doing this
  4397. 2:47:57two here because States maybe could be
  4398. 2:47:59more than two so I don't want to hold it
  4399. 2:48:01necessarily to that so instead I'm going
  4400. 2:48:03to do R2 minus Q2 which in our case is
  4401. 2:48:08going to be two and we have California
  4402. 2:48:11all right now we can take all the
  4403. 2:48:12different values actually drag it on
  4404. 2:48:14down and we get all of our states
  4405. 2:48:16extracted from this
  4406. 2:48:21all right diving into our final analysis
  4407. 2:48:22we're actually combine all of these
  4408. 2:48:24different functions we just learned
  4409. 2:48:25about specifically with this data set we
  4410. 2:48:28have this column H right here and it's a
  4411. 2:48:32list of different skills that each one
  4412. 2:48:34of these job applicants have we want to
  4413. 2:48:36combine this and aggregate this in order
  4414. 2:48:38to analyze the most common skills for
  4415. 2:48:40this we're going to have to walk through
  4416. 2:48:42four different steps in order to get
  4417. 2:48:45this into our final visualization that
  4418. 2:48:47we can actually visualize and see here
  4419. 2:48:50so I'm going to go ahead and clear all
  4420. 2:48:51these values so we can get started
  4421. 2:48:54actually doing this the first thing I
  4422. 2:48:56want to do is actually combine all of
  4423. 2:48:59these values into a single long text
  4424. 2:49:02string and we're already having the
  4425. 2:49:05separator of a comma and space between
  4426. 2:49:07each skill so we're going to use that
  4427. 2:49:09same separator to continue separating
  4428. 2:49:11this so using text join we're going to
  4429. 2:49:15first specify the delimiter of that
  4430. 2:49:17comma and a space it's asking if I want
  4431. 2:49:19to ignore those hidden or empty cells I
  4432. 2:49:22do and then finally we need to provide
  4433. 2:49:24the actual text itself so we'll go down
  4434. 2:49:28through and select in our data tab H2 to
  4435. 2:49:32h21 going back up into the formula bar
  4436. 2:49:35closing this parenthesis and then
  4437. 2:49:36pressing an enter look I have a like
  4438. 2:49:38slight typo in here I need to actually
  4439. 2:49:41put double quotes around both of them
  4440. 2:49:42you can't mix double and single quotes
  4441. 2:49:45now we have this super long list uh that
  4442. 2:49:48has all of our different skills in it it
  4443. 2:49:49looks like it's properly delimited now
  4444. 2:49:52that we have all these values in one
  4445. 2:49:54cell we can then use the text split
  4446. 2:49:57function to now separate this into
  4447. 2:50:01different cells because we're going to
  4448. 2:50:02want to then move into transposing it
  4449. 2:50:04next and for this once again the
  4450. 2:50:06delimiter we're using is that comma and
  4451. 2:50:09space running this we have all the
  4452. 2:50:11different values separated out by
  4453. 2:50:13different cells so now almost there we
  4454. 2:50:16need to get into making a table
  4455. 2:50:19right here basically having skills in
  4456. 2:50:22the left hand column and then the counts
  4457. 2:50:24of those skills from what's above here
  4458. 2:50:26so first thing we need to do is get the
  4459. 2:50:28unique values of this but if we just run
  4460. 2:50:31unique on that row six we're going to
  4461. 2:50:35run into an issue to where it actually
  4462. 2:50:37goes out to the right and actually
  4463. 2:50:38doesn't get the unique values for all
  4464. 2:50:40these so the first thing we need to do
  4465. 2:50:42is actually
  4466. 2:50:44transpose which moving it from
  4467. 2:50:47horizontal to vertic vertical of that
  4468. 2:50:50row six okay so it's now up and down all
  4469. 2:50:53the way now in this case we want to run
  4470. 2:50:56the unique function on this to extract
  4471. 2:50:59out all those unique values and
  4472. 2:51:02scrolling down looks like we have all
  4473. 2:51:03the unique values it does have a zero
  4474. 2:51:06because that we did that row six and so
  4475. 2:51:08when we get to these empty cells over
  4476. 2:51:10keep on scrolling over here it records
  4477. 2:51:12as zero I'm fine with that for the time
  4478. 2:51:14being and we'll continue last thing we
  4479. 2:51:16had to do is use basically a count if to
  4480. 2:51:19count these different skills based on
  4481. 2:51:21whether they appear or how often they
  4482. 2:51:23appear in this row of six so I'll type
  4483. 2:51:27in count if we need to specify the range
  4484. 2:51:30first and we'll do six I want it to stay
  4485. 2:51:32there uh as we're because we're going to
  4486. 2:51:34autofill down so I'm going to F4 that
  4487. 2:51:36and then from there specify the criteria
  4488. 2:51:39which is going to be a n Kafka okay so
  4489. 2:51:43three values for that one and then
  4490. 2:51:45dragging this all the way down bam got
  4491. 2:51:47this all filled in all right the last
  4492. 2:51:49thing we need to do is actually
  4493. 2:51:50visualize this cuz we want to visualize
  4494. 2:51:53these skill counts select the area that
  4495. 2:51:55we want we're going to go in and insert
  4496. 2:51:57in under recommended charts you can do a
  4497. 2:51:59bar chart but I'm more a fan of
  4498. 2:52:01horizontal bar charts especially when we
  4499. 2:52:02have text values and we need to be able
  4500. 2:52:05to see all the different names so I'm
  4501. 2:52:07going to have to expand that out a bit
  4502. 2:52:09and I'm going to change this title up
  4503. 2:52:11here just to something like skill count
  4504. 2:52:14of applicants and Bam now we can see
  4505. 2:52:18things some Trends out of this that a
  4506. 2:52:20lot of people are claiming to have
  4507. 2:52:22experience with data bricks which that's
  4508. 2:52:25unusually high there probably something
  4509. 2:52:26I want to investigate for this but a
  4510. 2:52:28good little thing that we actually can
  4511. 2:52:29analyze and see from this analysis that
  4512. 2:52:31we did one minor note I would normally
  4513. 2:52:33go through and actually sort this from
  4514. 2:52:36high to low and you can definitely do
  4515. 2:52:39this you'd have to copy and paste the
  4516. 2:52:41values over you wouldn't be able to use
  4517. 2:52:43these values right here and S sort and
  4518. 2:52:45filter them because we're using the
  4519. 2:52:48modern or dynamic array to find these
  4520. 2:52:51unique values so that's definitely an
  4521. 2:52:53option if you want to do and I
  4522. 2:52:54definitely would recommend you do
  4523. 2:52:55something like that before sharing some
  4524. 2:52:57sort of visualization like this all
  4525. 2:53:00right you now got some practice problems
  4526. 2:53:01to go through and get more familiar with
  4527. 2:53:03these text functions which like I said
  4528. 2:53:05are imperative for de analysis in the
  4529. 2:53:07next lesson we're going to be moving
  4530. 2:53:09into our last one in this chapter on
  4531. 2:53:12formulas and functions on date and time
  4532. 2:53:15functions with that I'll see you in the
  4533. 2:53:17next one
  4534. 2:53:22all right saving the shortest lesson for
  4535. 2:53:25last we're going to be focusing on date
  4536. 2:53:26and time functions and for this we're
  4537. 2:53:29going to be using that same data set
  4538. 2:53:31from that last lesson which is about 20
  4539. 2:53:34rows of job applicants now similar to
  4540. 2:53:37text functions we're not using that full
  4541. 2:53:39data science job data set that we've
  4542. 2:53:41been using previously because I find
  4543. 2:53:43it's not common to really use these date
  4544. 2:53:47and time functions on a large set of
  4545. 2:53:49data because it's going to slow down
  4546. 2:53:51your sheets so that's why we're using
  4547. 2:53:52this smaller data set for this once
  4548. 2:53:54again if we're needed to actually clean
  4549. 2:53:56up date and time stuff we're going to
  4550. 2:53:58use something like power query which
  4551. 2:53:59we're going to be getting to in the
  4552. 2:54:00advanced chapter anyway we're going to
  4553. 2:54:02be focusing on two main types of
  4554. 2:54:03functions first up our date functions
  4555. 2:54:06which going to be able to extract out
  4556. 2:54:07things like month day and year and then
  4557. 2:54:10from there we're going to transition
  4558. 2:54:11into time functions extracting things
  4559. 2:54:13out like hour minutes and seconds
  4560. 2:54:15finally we're going to move into that
  4561. 2:54:16final analysis looking at what is the
  4562. 2:54:19time that is most likely for applicants
  4563. 2:54:21to apply to jobs for this we're going to
  4564. 2:54:24be using the date and time functions
  4565. 2:54:27workbook and we'll be working in this
  4566. 2:54:29data sheet for this filling in certain
  4567. 2:54:31values as we go through this I'm going
  4568. 2:54:33to go ahead and hide some of these
  4569. 2:54:35unnecessary columns so we have more
  4570. 2:54:37space to work with
  4571. 2:54:40this anyway jumping right in if we want
  4572. 2:54:43to calculate what the month is we have
  4573. 2:54:45something like the month number putting
  4574. 2:54:47that in that's D2 similarly we can get
  4575. 2:54:50the day by using something like day and
  4576. 2:54:53once again providing it D2 then finally
  4577. 2:54:55something like year we can provide D2 We
  4578. 2:54:59Get 2023 now if I wanted to only extract
  4579. 2:55:02out of this date out of this date time
  4580. 2:55:05if I were to use this date function it
  4581. 2:55:07Returns the number that represents the
  4582. 2:55:09date in Microsoft Excel okay date time
  4583. 2:55:11code got it we're going to put in the
  4584. 2:55:13year so we need to provide the year
  4585. 2:55:15first month and then from there day boom
  4586. 2:55:19and analyzing this we see it is febru 14
  4587. 2:55:212023 one quick refresher on how Excel
  4588. 2:55:25stores those datetime objects so right
  4589. 2:55:28now it's in as a the number format of
  4590. 2:55:30date if I change this back to General
  4591. 2:55:33it's going to shift to this number and
  4592. 2:55:35if we recall this stores the values in
  4593. 2:55:38it if we start at something like one
  4594. 2:55:41converting it to a short date we can see
  4595. 2:55:43that it starts at January 1st 1900 now
  4596. 2:55:47if you're working with dates before 1900
  4597. 2:55:50let's say we put in something like
  4598. 2:55:51negative 1 I converted it here to a date
  4599. 2:55:54it's going to just provide all these
  4600. 2:55:55different Amber Sands here there's a few
  4601. 2:55:57different workarounds for that that's
  4602. 2:55:58beyond the scope of this course main
  4603. 2:56:00thing to understand is how it's actually
  4604. 2:56:01stored within Excel anyway I'm going to
  4605. 2:56:04convert this back up into a date and for
  4606. 2:56:08each of these I want to actually fill in
  4607. 2:56:10the values all the way down bam all
  4608. 2:56:13right close up this home ribbon all
  4609. 2:56:15right next up is today say we needed to
  4610. 2:56:18today's date well I can put in the today
  4611. 2:56:20function this actually takes no
  4612. 2:56:22arguments and will provide us the date
  4613. 2:56:24I'm filming this on September the 3rd
  4614. 2:56:27now the last common function that I find
  4615. 2:56:28myself using all the time are when I
  4616. 2:56:30want to calculate the days since
  4617. 2:56:32something happen in this case we want to
  4618. 2:56:34find out how many days has it been since
  4619. 2:56:38they have applied to the job so we can
  4620. 2:56:41use the date diff function for this now
  4621. 2:56:45the one thing to note with this is I'm
  4622. 2:56:47typing it in there's no if I type in
  4623. 2:56:49just date there's no date diff in there
  4624. 2:56:52there's no documentation that Excel
  4625. 2:56:55natively actually includes for you to
  4626. 2:56:58use this so this is like a function you
  4627. 2:57:00just have to know about anyway it takes
  4628. 2:57:02three parameters basically the start
  4629. 2:57:05date that we want to start from the
  4630. 2:57:08reference date that we want to basically
  4631. 2:57:10subtract from this which is today we
  4632. 2:57:12want to actually go ahead and lock this
  4633. 2:57:13I'm going to lock this with F4 and we
  4634. 2:57:15want to provide this in the format of
  4635. 2:57:18days which we provide this text
  4636. 2:57:20character of D and this tells us it's
  4637. 2:57:22been about 567 days since Valentine's
  4638. 2:57:25Day in 2023 anyway updating all these
  4639. 2:57:28cells for this we now have this
  4640. 2:57:32data shifting gears into our time
  4641. 2:57:36functions as we can expect a lot of
  4642. 2:57:38these are going to be the same hour we
  4643. 2:57:40use hour function minute has a function
  4644. 2:57:43as well as second but this doesn't
  4645. 2:57:45really to show seconds but we can see up
  4646. 2:57:47here it is is actually included in your
  4647. 2:57:49data similar to the date function for
  4648. 2:57:52time we have to provide three parameters
  4649. 2:57:54of hour minute and then also second drag
  4650. 2:57:58and drop this all the way down we can
  4651. 2:57:59see that yep it's correlating correctly
  4652. 2:58:02one note for the hour that we previous
  4653. 2:58:04calculated this is in military time or
  4654. 2:58:06if you're in Europe you also do it this
  4655. 2:58:08way anyway I really like this for an
  4656. 2:58:10analysis purpose especially when we get
  4657. 2:58:11into analyzing it now conversely we can
  4658. 2:58:14also use for time and also date you
  4659. 2:58:17could use the text function which we
  4660. 2:58:19previously saw when we were extracting
  4661. 2:58:21out the month out of date Times by
  4662. 2:58:23providing a value and then the format
  4663. 2:58:26text which we're going to say in this
  4664. 2:58:28case is just hour hour minute minute if
  4665. 2:58:31I wanted that am PM format not that
  4666. 2:58:33military time format I can just add in
  4667. 2:58:36Here Am Pm and it converts it
  4668. 2:58:39appropriately dragging this all down and
  4669. 2:58:41then filling it in we get
  4670. 2:58:45it now moving into that final analysis
  4671. 2:58:47we want to analyze when are these job
  4672. 2:58:50postings Happening by hour of day the
  4673. 2:58:53first thing we need to actually do is
  4674. 2:58:55get a colum here of the hours in the day
  4675. 2:58:59so we can do some sort of like count if
  4676. 2:59:00on it in order to calculate that so for
  4677. 2:59:02this I'm going to use the sequence
  4678. 2:59:05function and I went 24 rows with it
  4679. 2:59:08column's going to leave blank and I want
  4680. 2:59:10to start at one and it's going to fill
  4681. 2:59:12down from 1 all the way to 24 and now we
  4682. 2:59:16need to run a c if basically for each
  4683. 2:59:19one of these conditions run down this
  4684. 2:59:21list basically matching to see what is
  4685. 2:59:23the hour for these things so I have it
  4686. 2:59:25hidden but I'm going to go ahead and
  4687. 2:59:26make column again for hour and I'll put
  4688. 2:59:29in here hour and unlike last time I'm
  4689. 2:59:31actually just going to put the whole
  4690. 2:59:32range in here and it's going to provide
  4691. 2:59:34me back it in a modern array now with
  4692. 2:59:37this I can actually now use this in the
  4693. 2:59:39count if we want to First provide it a
  4694. 2:59:42range which is our modern array so it's
  4695. 2:59:44going to do I2 hashtag and then a
  4696. 2:59:47criteria for the hour we want to search
  4697. 2:59:49for we want to search for that one A2
  4698. 2:59:51from here we want to fill it all in and
  4699. 2:59:53we have some reference errors because we
  4700. 2:59:56didn't lock our cells specifically we
  4701. 2:59:58didn't lock this cell right here this I2
  4702. 3:00:01so I'm going press f4 on that to
  4703. 3:00:02actually lock that then dragging it all
  4704. 3:00:05the way down we have it okay our last
  4705. 3:00:08portion of this is actually visualizing
  4706. 3:00:10this so we're going to go in select all
  4707. 3:00:12that data go to insert go to recommended
  4708. 3:00:14charts and I'm more of a fan of column
  4709. 3:00:18charts with this type of data so I'm
  4710. 3:00:20going to go ahead and put this in and
  4711. 3:00:21I'm going to change this to job postings
  4712. 3:00:25per hour and Bam now from this we're
  4713. 3:00:28seeing that basically people are
  4714. 3:00:31applying during normal working hours and
  4715. 3:00:33apparently they're waiting until the end
  4716. 3:00:35of the day to actually submit their job
  4717. 3:00:37applications maybe to get in before a
  4718. 3:00:39deadline or something all right this is
  4719. 3:00:40the last lesson on functions and
  4720. 3:00:43formulas in the next chapter we're going
  4721. 3:00:45to be moving deeper into understanding
  4722. 3:00:47how to actually make these different
  4723. 3:00:50visualizations I've only been showing
  4724. 3:00:51you a sneak peek at it right now to get
  4725. 3:00:53you familiar with how to easily create
  4726. 3:00:55it but we're going to go in into a lot
  4727. 3:00:56greater detail up coming up next now we
  4728. 3:00:59spent almost nine lessons on these
  4729. 3:01:01functions and it's because I feel
  4730. 3:01:04functions are one of the most important
  4731. 3:01:05things to understand about Excel because
  4732. 3:01:07it also transfers to other portions
  4733. 3:01:10specifically we're going to be learning
  4734. 3:01:12more about the Dax language in the
  4735. 3:01:15advanced chapter and we're going to
  4736. 3:01:16apply a lot of our knowledge that we
  4737. 3:01:17already know about these Excel functions
  4738. 3:01:20to Dax functions they're very similar
  4739. 3:01:22anyway you got some practice problems to
  4740. 3:01:23go through in work in order to
  4741. 3:01:26understand better how to use these
  4742. 3:01:27datetime functions and from there we'll
  4743. 3:01:28get into that chart chapter with that
  4744. 3:01:30I'll see you in the next
  4745. 3:01:35one welcome to this chapter on charts
  4746. 3:01:38and as much as I love using something
  4747. 3:01:41like python a programming language for
  4748. 3:01:43making
  4749. 3:01:44visualizations I feel that Excel has
  4750. 3:01:47some capabilities built into it that
  4751. 3:01:50allow it to basically exceed any
  4752. 3:01:52programming language and the
  4753. 3:01:53customization that you can do to charts
  4754. 3:01:54that we'll be finding out in this
  4755. 3:01:56chapter for this chapter we have four
  4756. 3:01:59lessons this lesson right here is an
  4757. 3:02:01intro to chart so we're going to be
  4758. 3:02:03focusing on understanding the basics of
  4759. 3:02:04using charts and specifically looking at
  4760. 3:02:08three types of charts specifically line
  4761. 3:02:10charts pie charts and bar or column
  4762. 3:02:12charts so technically that's four in the
  4763. 3:02:15second lesson we're going to move into
  4764. 3:02:16more advanced charts such as Scatter
  4765. 3:02:18Plots and also map charts along with
  4766. 3:02:21understanding more advanced
  4767. 3:02:23customizations that we can do to these
  4768. 3:02:25charts in the third lesson we're going
  4769. 3:02:26to go Harden the paint in order to
  4770. 3:02:28understand statistical charts
  4771. 3:02:30specifically histograms and then also
  4772. 3:02:32box and whisker charts which are
  4773. 3:02:35imperative to understand statistical
  4774. 3:02:37distributions of our data we'll finally
  4775. 3:02:39wrap this all up with a final lesson
  4776. 3:02:41focusing on spark lines which basically
  4777. 3:02:43allow us to put charts inside of
  4778. 3:02:46individual cells
  4779. 3:02:48in Excel pretty neat all right for this
  4780. 3:02:50lesson we're going to be using the
  4781. 3:02:52charts intro
  4782. 3:02:56workbook first thing to understand is
  4783. 3:02:58terminology Microsoft refers to all
  4784. 3:03:02these different visualizations diagrams
  4785. 3:03:04plots whatever you want to call it they
  4786. 3:03:06refer to it as chart basically they want
  4787. 3:03:09to use a safe term that encompasses all
  4788. 3:03:11the different type of visualizations we
  4789. 3:03:13can build with this so you may hear me
  4790. 3:03:14from time to time call this a plot or
  4791. 3:03:16visualization basically mean a chart
  4792. 3:03:18anyway why do we use charts well looking
  4793. 3:03:22these six examples here we can see some
  4794. 3:03:24different characteristics about this
  4795. 3:03:25data that we're looking at but what if
  4796. 3:03:27we looked at just the core data itself
  4797. 3:03:30which is this table right here looking
  4798. 3:03:31at what is the number of job postings
  4799. 3:03:35per month if we look at this visually
  4800. 3:03:38we're not able to see necessarily what
  4801. 3:03:41is the highest month and also what is
  4802. 3:03:44the lowest month I mean you can figure
  4803. 3:03:46out eventually but it's not easy to spot
  4804. 3:03:48and that's why charts are so powerful
  4805. 3:03:51and so I have a variety of
  4806. 3:03:52visualizations here in order to Showcase
  4807. 3:03:55that same table that we were just
  4808. 3:03:57looking at in basically a variety of
  4809. 3:04:00different forms here even have a few
  4810. 3:04:02below here down below it but we need to
  4811. 3:04:05understand which chart to use because
  4812. 3:04:08let's say we wanted to use this pie
  4813. 3:04:10chart here is that actually a good chart
  4814. 3:04:13to use to visualize this or instead
  4815. 3:04:15should we be using something like this
  4816. 3:04:18line chart to better show a trend over
  4817. 3:04:20time while also showing a magnitude of
  4818. 3:04:23difference anyway as we go through this
  4819. 3:04:25lesson I'm going to be calling out when
  4820. 3:04:27you should use certain charts as best
  4821. 3:04:30practice along with my recommended tips
  4822. 3:04:32for how to customize it to show them
  4823. 3:04:38best so for our first chart as I hinted
  4824. 3:04:40to we're going to be making this job
  4825. 3:04:43posting count into a line chart and this
  4826. 3:04:47is the chart I'd use typically for any
  4827. 3:04:49time series like data as it's great at
  4828. 3:04:52showing a trend over time and how it's
  4829. 3:04:54connected so how do we do this well
  4830. 3:04:56we're going to select all the data here
  4831. 3:04:58all the way from A1 down to B13 come up
  4832. 3:05:02into insert and we're going to dive into
  4833. 3:05:05each one of these charts individually
  4834. 3:05:06but I would encourage you to actually
  4835. 3:05:08just start with recommended charts I
  4836. 3:05:10really jump to it every time I use it
  4837. 3:05:12anyway first thing they has two tabs
  4838. 3:05:14here recommended charts and all charts
  4839. 3:05:15for recommended charts usually provides
  4840. 3:05:19a lot of good tips that you could
  4841. 3:05:21potentially use for different charts
  4842. 3:05:24sometimes however I do find that I want
  4843. 3:05:26a particular chart and it's not here and
  4844. 3:05:27that's when I'm going to go to this all
  4845. 3:05:29charts Tab and frankly it provides a lot
  4846. 3:05:31more control while allowing you to
  4847. 3:05:34actually visualize your different data
  4848. 3:05:36in our case I know I want a line chart
  4849. 3:05:38on this but now I can go in and actually
  4850. 3:05:41plot it with markers or even change it
  4851. 3:05:44into a 3D line chart highly don't
  4852. 3:05:46recommend this we're going to be
  4853. 3:05:47sticking to a line chart for this and
  4854. 3:05:49I'm going to go ahead and click okay I'm
  4855. 3:05:51not going to lie this chart is getting
  4856. 3:05:54us 90% of the way there now if you
  4857. 3:05:57notice for this when we clicked on the
  4858. 3:05:58chart we have certain values highlighted
  4859. 3:06:02here basically this purple outline is
  4860. 3:06:04showing that this is the X values right
  4861. 3:06:07here and then the blue coordinates right
  4862. 3:06:09here are showing the actual values
  4863. 3:06:11themselves and then conveniently they
  4864. 3:06:13put the job posting count which is
  4865. 3:06:15highlighted in Orange as the title we'll
  4866. 3:06:18be jumping into how to customize this
  4867. 3:06:20area in the advanced section but that's
  4868. 3:06:23in the next lesson now for those new to
  4869. 3:06:25charts there's a bunch of different
  4870. 3:06:27elements and I can come up here and I
  4871. 3:06:28can click this plus icon right here and
  4872. 3:06:30it shows all the different elements on
  4873. 3:06:33here I can use the checkbox to control
  4874. 3:06:35whether I want to include the axes or
  4875. 3:06:38not in this case I do want to include it
  4876. 3:06:40and then I can even find tune it further
  4877. 3:06:42to select which one I'm talking about am
  4878. 3:06:44I talking about the horizontal or am I
  4879. 3:06:46talking about the vertical
  4880. 3:06:48just going through these in Rapid
  4881. 3:06:49fashion access titles allow us to
  4882. 3:06:51provide titles for the X and Y AIS the
  4883. 3:06:53chart title shown above I can remove it
  4884. 3:06:56or keep it on if I want to include data
  4885. 3:06:58labels I can do this along with
  4886. 3:07:00controlling what position of them I want
  4887. 3:07:02to go with I could also include
  4888. 3:07:04something like a data table below but
  4889. 3:07:06personally I find this is sometimes
  4890. 3:07:07sensory overload I don't really use that
  4891. 3:07:09much next are airb bars for data grid
  4892. 3:07:12lines whether I want to have horizontal
  4893. 3:07:15vertical some minor ones or some other
  4894. 3:07:17minor ones a legend if there's more than
  4895. 3:07:20one data I probably want this a trend
  4896. 3:07:22line which will be adding in this a
  4897. 3:07:24little bit and then up and down bars
  4898. 3:07:27which are going to show whether the data
  4899. 3:07:28goes up or down based on each set but
  4900. 3:07:30not really necessarily applicable to
  4901. 3:07:31this one now I find this plus icon is
  4902. 3:07:34where I go most of the time but I could
  4903. 3:07:36also go to this chart design tab up here
  4904. 3:07:40and it has this box of add chart
  4905. 3:07:41elements and basically you can go
  4906. 3:07:43through and adjust all the different
  4907. 3:07:45ones along with showing a more visual
  4908. 3:07:48indication of what's going on here here
  4909. 3:07:51showing that I was actual up down bars
  4910. 3:07:53to actually see what they actually look
  4911. 3:07:55like you can also use this quick layouts
  4912. 3:07:57to quickly try out different themes that
  4913. 3:08:01Excel has so doy myself from time to
  4914. 3:08:03time using this so this chart is almost
  4915. 3:08:06done all I do want to do first is change
  4916. 3:08:08the title and I usually like to either
  4917. 3:08:11provide some sort of snippet of
  4918. 3:08:13information from it or ask a question
  4919. 3:08:16that I want the reader of this graph to
  4920. 3:08:19understand or take away from this chart
  4921. 3:08:22so I can put in something like how did
  4922. 3:08:24jobs Trend in 2023 so it also tells what
  4923. 3:08:28year what's going on here and it asks
  4924. 3:08:30them to look at hey what is the trend
  4925. 3:08:32going on here which it looks like we
  4926. 3:08:33have a peak up in January and a peek up
  4927. 3:08:35in August now I try to minimize the
  4928. 3:08:38amount of access titles on here because
  4929. 3:08:39like in the month's case that's pretty
  4930. 3:08:41self-explanatory however the number in
  4931. 3:08:43the y- AIS is not so self-explanatory so
  4932. 3:08:47in that case I would want to include it
  4933. 3:08:50in this case give it a representative
  4934. 3:08:51name of counts of jobs the last thing I
  4935. 3:08:54want to do with this is just add a trend
  4936. 3:08:56line and there's multiple different
  4937. 3:08:57options for this we can do linear
  4938. 3:08:59exponential a linear forecast where it
  4939. 3:09:01actually goes into the future and then
  4940. 3:09:03even a two period moving average which
  4941. 3:09:06is pretty neat I'm going to just stick
  4942. 3:09:08with the basic one right now of linear
  4943. 3:09:10and Bam that's our first chart so let's
  4944. 3:09:12move in the next
  4945. 3:09:15one now if we go back to our original
  4946. 3:09:17data set in the data tab we have a
  4947. 3:09:20column here on job no degree mention and
  4948. 3:09:24basically this column right here
  4949. 3:09:27includes whether there's a mention of a
  4950. 3:09:30degree in a job posting so in this case
  4951. 3:09:34where we have two different values we're
  4952. 3:09:37trying to determine what are the
  4953. 3:09:39proportions of each a way to compare
  4954. 3:09:42this we could either compare this in
  4955. 3:09:44like a bar or column chart but I feel a
  4956. 3:09:46better one for this is a pie chart so
  4957. 3:09:48I've gone through and calculated a count
  4958. 3:09:51of the jobs with a no degree mention
  4959. 3:09:54along with those that have a mention of
  4960. 3:09:57a degree I calculated the total and then
  4961. 3:10:00from that I calculated their individual
  4962. 3:10:03percentages now I'm not going to just
  4963. 3:10:05select all the data here because I don't
  4964. 3:10:07want to plot all of it I'm going to
  4965. 3:10:08select the first two values here of A2
  4966. 3:10:11A3 press control and then also select C2
  4967. 3:10:14to C3 then from here now I'm I'm going
  4968. 3:10:17to go insert those recommended charts
  4969. 3:10:20like got a lad two bar and column charts
  4970. 3:10:23come up but the one we're going to be
  4971. 3:10:24using for this it's a pie chart so I'm
  4972. 3:10:26going to go ahead and insert that in now
  4973. 3:10:28personally I'm not a fan of this layout
  4974. 3:10:31here so I'm going to come up into chart
  4975. 3:10:32designs into Quick layouts and I'm going
  4976. 3:10:34to just experiment with different ones
  4977. 3:10:37looking at them and frankly I like the
  4978. 3:10:39one this one right here actually where
  4979. 3:10:42we've removed the legend and put the
  4980. 3:10:44actual values themselves along with
  4981. 3:10:46their titles inside the pie chart itself
  4982. 3:10:49to make it super simple to see which one
  4983. 3:10:51is which now Excel sometimes gets crazy
  4984. 3:10:55with the colors I actually don't
  4985. 3:10:57recommend using a lot of different
  4986. 3:10:59colors because it could be very
  4987. 3:11:00confusing for viewers on where to look
  4988. 3:11:03personally I want to highlight more of
  4989. 3:11:05the no degree mentioned so I'm going to
  4990. 3:11:09use this single color palette right here
  4991. 3:11:12or this monochromatic color palette
  4992. 3:11:14right here that has these different
  4993. 3:11:15shades of blue and and I feel the ey is
  4994. 3:11:18going to go more to the darker blue now
  4995. 3:11:20with each of these labels here I can
  4996. 3:11:23actually select it I double clicked it
  4997. 3:11:25over time I can actually drag it and
  4998. 3:11:27drop it and move it around where I want
  4999. 3:11:29it to be I would probably want it to be
  5000. 3:11:30more over here I want the degree
  5001. 3:11:32mentioned to be stacked basically I want
  5002. 3:11:35them opposite of each other now you may
  5003. 3:11:37have noticed I can't really read this
  5004. 3:11:40text right here and even this text is
  5005. 3:11:42hard to read as well so what I can do is
  5006. 3:11:45I'll just click outside real quick and
  5007. 3:11:47clicking back in I'm going to double
  5008. 3:11:49click and this is going to bring up the
  5009. 3:11:51format data labels if double clicking
  5010. 3:11:54isn't work you can just select it go
  5011. 3:11:56into the format tab up here and select
  5012. 3:11:59format selection anyway there's a lot to
  5013. 3:12:02unpack in this Pane and we'll be
  5014. 3:12:03unpacking it as we go along this entire
  5015. 3:12:05chapter but the main thing to understand
  5016. 3:12:07is they have label options and text
  5017. 3:12:09options we want to adjust the text
  5018. 3:12:12options and this has things like text
  5019. 3:12:13fill and outline text effects and then
  5020. 3:12:16also the text box for this we're trying
  5021. 3:12:18to fill the text fill and outline
  5022. 3:12:21specifically this drop down here of text
  5023. 3:12:24fill we want to change the color so we
  5024. 3:12:27want to change it to White now if you
  5025. 3:12:29notice only one of these change and
  5026. 3:12:31that's because I only had one of the
  5027. 3:12:33boxes selected so actually actually
  5028. 3:12:36click out of this double click back into
  5029. 3:12:38this and then make sure both of these
  5030. 3:12:40are actually selected go back into text
  5031. 3:12:42options go into text fill and then
  5032. 3:12:44change this color and then it's going to
  5033. 3:12:45change both of these colors
  5034. 3:12:47now I'm fine with this text now but
  5035. 3:12:49let's say I wanted to customize further
  5036. 3:12:51the percentage here maybe I want to
  5037. 3:12:53include one more decimal place clicking
  5038. 3:12:55on the box itself I can now have this
  5039. 3:12:58option for label options and then under
  5040. 3:13:01well label options again I can scroll
  5041. 3:13:03all the way down or I can actually cover
  5042. 3:13:05this up and then unhide this number I
  5043. 3:13:08can change the number formatting itself
  5044. 3:13:10in this case I do want to still do a
  5045. 3:13:12percentage and then maybe I want to do
  5046. 3:13:14one decimal place personally I think
  5047. 3:13:16there's a little a little bit too much
  5048. 3:13:17dat so we're just going to keep it with
  5049. 3:13:18the zero all right that's the final
  5050. 3:13:20customization the last thing we want to
  5051. 3:13:22do is just add a title and I want a very
  5052. 3:13:25compelling title what do they want to
  5053. 3:13:27look at for this I want them to
  5054. 3:13:28understand what jobs mention a degree
  5055. 3:13:33and now with this we have a pretty great
  5056. 3:13:36visual indication of that about one of
  5057. 3:13:40jobs have no degree mention in them
  5058. 3:13:44which personally I think that's a pretty
  5059. 3:13:45high percentage and hopefully gets
  5060. 3:13:50higher so we have data similar to our
  5061. 3:13:53first chart that basically explains how
  5062. 3:13:55many counts of jobs for the different
  5063. 3:13:58job titles now this isn't chronological
  5064. 3:14:01so I don't necessarily recommend using
  5065. 3:14:04something like a line chart for this
  5066. 3:14:05that's why we're going to be making
  5067. 3:14:07column and bar charts for this also let
  5068. 3:14:09explain the difference between the two
  5069. 3:14:10anyway I'm using the formulas that we
  5070. 3:14:12previously have covered you can dive
  5071. 3:14:14into it if you want to basically using
  5072. 3:14:15unique and then also a c if formula in
  5073. 3:14:19order to count each one of these in
  5074. 3:14:21their data tab anyway if I actually go
  5075. 3:14:23to graph these by selecting all these
  5076. 3:14:26things go to insert and recommended
  5077. 3:14:28charts here provides the recommended
  5078. 3:14:30charts and we're going to start with a
  5079. 3:14:32column chart first I start with this one
  5080. 3:14:35first because we're already running into
  5081. 3:14:37problems with how long these labels are
  5082. 3:14:41we can see that we have these three
  5083. 3:14:42ellipses here basically telling the that
  5084. 3:14:45the rest of the name is hidden here so
  5085. 3:14:47not all the names are shown here the
  5086. 3:14:50other problem that we're getting into
  5087. 3:14:52with this column chart um named after
  5088. 3:14:55the fact that it looks like columns is
  5089. 3:14:58that it's not in an organized manner I
  5090. 3:15:00would expect to see it high to low to
  5091. 3:15:02make it more easily to compare values to
  5092. 3:15:05each other and also how they rank so
  5093. 3:15:07we'll go ahead and delete this bad boy
  5094. 3:15:09anyway this table is organized based on
  5095. 3:15:12this unique function which doesn't
  5096. 3:15:15necessarily put things in the correct
  5097. 3:15:17order and I won't be able to actually go
  5098. 3:15:18through and filter it or soter it
  5099. 3:15:21appropriately So Below this I made a
  5100. 3:15:25different table that I basically use
  5101. 3:15:27sort to sort these values from above by
  5102. 3:15:32their job count in descending order now
  5103. 3:15:36since it's in this order I could
  5104. 3:15:37actually select a few less of this
  5105. 3:15:39remember how it was cut off last time I
  5106. 3:15:41could select only the top six go into
  5107. 3:15:44here go into recommended charts and once
  5108. 3:15:46again and put in our clustered column
  5109. 3:15:49chart now this one I can play around
  5110. 3:15:52with and as you see as I expand it out I
  5111. 3:15:55can actually see all the different names
  5112. 3:15:58here but once again I'm not a fan of
  5113. 3:16:00this column chart I'm not going to be
  5114. 3:16:02using it for this case instead we're
  5115. 3:16:03going to try out a bar chart instead so
  5116. 3:16:06selecting all this data to show the
  5117. 3:16:08power of these bar charts and then
  5118. 3:16:11coming in I can put in that bar chart
  5119. 3:16:13now I do like this one better because
  5120. 3:16:15all the titles are organ ganized and
  5121. 3:16:18they're right off to the side and so
  5122. 3:16:19this is a much more easier read the
  5123. 3:16:22problem now is I'm really nitpicky with
  5124. 3:16:24my charts the problem now is I don't
  5125. 3:16:26like the order that this is in what
  5126. 3:16:28happens is is Excel starts plotting
  5127. 3:16:31these although it's in descending order
  5128. 3:16:33in our table as shown over here it's
  5129. 3:16:36going to be plotting them starting at
  5130. 3:16:38this zero axis up here and then plotting
  5131. 3:16:40from there so technically we don't even
  5132. 3:16:42want it like this instead what I can do
  5133. 3:16:46is reverse the sort order here I'm just
  5134. 3:16:49controlling it by using uh either one or
  5135. 3:16:52netive one in that sort order portion
  5136. 3:16:55anyway with this order now now we can
  5137. 3:16:58finally get into the final bar chart
  5138. 3:17:00that we want to actually put in and I'm
  5139. 3:17:01just going to skip this recommended
  5140. 3:17:02charts come up here into the column and
  5141. 3:17:04then the bar charts we want this one
  5142. 3:17:06inserted in and I'm also going to zoom
  5143. 3:17:08out some now this is more in lined with
  5144. 3:17:12what I want let's actually clean up this
  5145. 3:17:14visualization to identify what we want
  5146. 3:17:17I'm actually more curious about what are
  5147. 3:17:19the top jobs in data science so that's
  5148. 3:17:22what we'll name it additionally feel the
  5149. 3:17:24titles are pretty self-explanatory based
  5150. 3:17:27on that title but I would need something
  5151. 3:17:29for the x-axis down here so we'll add an
  5152. 3:17:31axis title calling this count of job
  5153. 3:17:34postings now with this question I'm
  5154. 3:17:36asking of what are the top jobs in data
  5155. 3:17:39science I'm not really feeling like we
  5156. 3:17:41need to include things like machine
  5157. 3:17:44learning Engineers software Engineers
  5158. 3:17:45cloudware Engineers or business business
  5159. 3:17:47analyst how could I actually adjust this
  5160. 3:17:50well one way is I could control what
  5161. 3:17:53areas are highlighted over here and I
  5162. 3:17:55could actually drag this and change this
  5163. 3:17:58to whichever ones I want um but I'm not
  5164. 3:18:01necessarily going to recommend that
  5165. 3:18:02instead I'm going to select our data
  5166. 3:18:03make sure all the columns are selected
  5167. 3:18:05themselves rightclick it and then go to
  5168. 3:18:08select data and this new window is going
  5169. 3:18:11to pop up here this tells us a lot of
  5170. 3:18:14great things about our visualization
  5171. 3:18:16first is the chart data range it tells
  5172. 3:18:18us we're selected from a25 to b35 so we
  5173. 3:18:21could change that here if we wanted to
  5174. 3:18:23the next thing is the two windows down
  5175. 3:18:26here of the legend entries and the
  5176. 3:18:28horizontal axis so this controls our job
  5177. 3:18:31count I'm going to scroll this over here
  5178. 3:18:33we could just remove job count but it's
  5179. 3:18:35not going to do anything this guys
  5180. 3:18:36mainly right here the access labels we
  5181. 3:18:38can control so I know I want data
  5182. 3:18:40analyst and all the way up down to
  5183. 3:18:42senior data analyst I can actually go
  5184. 3:18:44through and select remove business
  5185. 3:18:46analyst machine learning engineer
  5186. 3:18:49software engineer and Cloud engineer and
  5187. 3:18:52then click okay and it will remove it
  5188. 3:18:54from this visualization while still
  5189. 3:18:56keeping this data here so I can easily
  5190. 3:18:58go back and add or remove job titles as
  5191. 3:19:01necessary and now we have our final
  5192. 3:19:04visualization earlier I did go through
  5193. 3:19:06and actually delete the chart and start
  5194. 3:19:09over but you do have this option in the
  5195. 3:19:11chart design tab of change chart type
  5196. 3:19:14and allows you to basically go through
  5197. 3:19:16and try out different ones if I wanted
  5198. 3:19:19to go back to that column chart I could
  5199. 3:19:22and it would show me an example of what
  5200. 3:19:23it looks like now there is one last
  5201. 3:19:26thing that I want to format on this I do
  5202. 3:19:28find it a little difficult to read
  5203. 3:19:29exactly what are the amount of job
  5204. 3:19:32postings that they have here so I'm
  5205. 3:19:34going to add data labels to this we have
  5206. 3:19:37a couple different options we can be
  5207. 3:19:39inside end which can't read at all
  5208. 3:19:41inside Base outside end which I'm more
  5209. 3:19:43for and then also a data call that's
  5210. 3:19:45just too much there we're going to do
  5211. 3:19:46outside end now with this these numbers
  5212. 3:19:49I don't like the level of detail I don't
  5213. 3:19:51need down to the single or the on
  5214. 3:19:54digigit place to tell what it is instead
  5215. 3:19:56I would rather it shows something like
  5216. 3:19:599.6k or 9.6000 so we can actually format
  5217. 3:20:03that so double clicking on one of those
  5218. 3:20:05labels this format short area is going
  5219. 3:20:07to pop up again and for this I'm going
  5220. 3:20:09to go under label options and then label
  5221. 3:20:12options again and finally number and for
  5222. 3:20:15this I'm going to use use instead of uh
  5223. 3:20:18any one of these I'm going to use a
  5224. 3:20:20custom type now I have a few of these
  5225. 3:20:22already built into here and so they may
  5226. 3:20:25not pop up to you but this is actually
  5227. 3:20:27sneak peek this is actually what we want
  5228. 3:20:29but if you don't have this popping up
  5229. 3:20:30right now what you can do is actually go
  5230. 3:20:33in in this case I'll just show a
  5231. 3:20:34different value what we're going to
  5232. 3:20:35first say is how we want this formated
  5233. 3:20:38with how many decimal places so I want
  5234. 3:20:40all the values before the decimal place
  5235. 3:20:42then a decimal place and then I only
  5236. 3:20:44want in this case let's go with two
  5237. 3:20:46places after the decimal place and then
  5238. 3:20:48from there I want a K on the end so
  5239. 3:20:51basically to show this as a thousand so
  5240. 3:20:53I'm going to use a parenthesis put a k
  5241. 3:20:56and then close parenthesis and I'm going
  5242. 3:20:58to click add okay so now this changes it
  5243. 3:21:00to the double digits for explaining that
  5244. 3:21:04this is the thousands this automatically
  5245. 3:21:07whenever I do that K parentheses it
  5246. 3:21:09automatically does the math to basically
  5247. 3:21:12divide that by a th and transfer this to
  5248. 3:21:15K instead of the thousands anyway I
  5249. 3:21:18don't really I'm going to go with the
  5250. 3:21:19original one I had of only one decimal
  5251. 3:21:21place and Bam that's our final
  5252. 3:21:23visualization and we can see from this
  5253. 3:21:26that we have a lot of insights into
  5254. 3:21:27understanding that more Junior roles
  5255. 3:21:29like dat analyst dat scientist dat
  5256. 3:21:31Engineers are more prevalent than the
  5257. 3:21:32senior roles and that luckily it seems
  5258. 3:21:35like there's a lot more data analyst
  5259. 3:21:36roles than data scientists and data
  5260. 3:21:38Engineers all right you now some
  5261. 3:21:39practice problems to go through and get
  5262. 3:21:41more familiar with those four major type
  5263. 3:21:44of visualizations that frankly I feel
  5264. 3:21:47I'm using on a daily basis anytime I'm
  5265. 3:21:49making visualizations so don't think
  5266. 3:21:51that they're just too plain or too
  5267. 3:21:52simple they're really powerful and
  5268. 3:21:54explaining data in the next lesson we're
  5269. 3:21:57going to be jumping into not only more
  5270. 3:21:58advanced charts but even more advanced
  5271. 3:22:01customization so with that I'll see you
  5272. 3:22:03in that
  5273. 3:22:07one we're going to crank this up a notch
  5274. 3:22:09and get into some more advanced
  5275. 3:22:12visualizations specifically on this
  5276. 3:22:14we're going to be doing a deeper dive
  5277. 3:22:16dive into the pay of different jobs not
  5278. 3:22:20only based on the different job titles
  5279. 3:22:23but also based on where a job is located
  5280. 3:22:27using things like a map chart and so for
  5281. 3:22:30all these charts also we're going to be
  5282. 3:22:31looking into how we can further get into
  5283. 3:22:34deeper customization of
  5284. 3:22:39these so Scatter Plots are great at
  5285. 3:22:42comparing two numerical values in our
  5286. 3:22:45data set we have these two columns here
  5287. 3:22:49one on the salary year average and the
  5288. 3:22:51other on the salary hour average just as
  5289. 3:22:54a background on why it's called average
  5290. 3:22:56at the end of these sometimes job
  5291. 3:22:58postings have a range of salary and so I
  5292. 3:23:01took the average of the Min and Max and
  5293. 3:23:04hence I named this average anyway we
  5294. 3:23:07have yearly salary data and we have
  5295. 3:23:09hourly salary data what it did next is
  5296. 3:23:12get the unique value of the job titles
  5297. 3:23:14and then from there using that median
  5298. 3:23:17basically modified median IF function
  5299. 3:23:19got the yearly median salaries and then
  5300. 3:23:22the hourly median salaries so because we
  5301. 3:23:25have these two numerical values to
  5302. 3:23:28compare basically we want to see if
  5303. 3:23:30there's a trend correlated between the
  5304. 3:23:32two because well there is we're going to
  5305. 3:23:34find out I'm going to go ahead and
  5306. 3:23:36select these all then from there go into
  5307. 3:23:38insert and we can come into charts I
  5308. 3:23:41know I want a scatter plot and if we go
  5309. 3:23:43to insert it in can't see cuz it's
  5310. 3:23:46hidden behind here well we'll just go
  5311. 3:23:48ahead and show it this isn't necessarily
  5312. 3:23:50showing us what I want us to show with
  5313. 3:23:54this it's basically showing hey this is
  5314. 3:23:56the yearly data up here in the blue and
  5315. 3:23:58then this is the hourly data since
  5316. 3:24:00hourly data it's super low it didn't
  5317. 3:24:02work out how I wanted to by selecting
  5318. 3:24:04all the data like we've previously been
  5319. 3:24:06doing instead I'm going to go ahead and
  5320. 3:24:07delete this what we're going to do is
  5321. 3:24:10we're only going to select basically
  5322. 3:24:12this B and C column of data once again
  5323. 3:24:15we're going to try again inserting that
  5324. 3:24:17scatter plot and at this point it's
  5325. 3:24:20actually working correctly as we want it
  5326. 3:24:22unfortunately we can't tell there's no
  5327. 3:24:25basically like data labels for this to
  5328. 3:24:28understand what are the different job
  5329. 3:24:29titles associated with it even with the
  5330. 3:24:31graph we can see that it's only
  5331. 3:24:32highlighting this also the incorrect
  5332. 3:24:34titles up here it's not just hourly
  5333. 3:24:36median salary we're going to fix all
  5334. 3:24:38this anyway the first thing that I want
  5335. 3:24:40to clean up is actually the selection of
  5336. 3:24:42data right now we can see these numbers
  5337. 3:24:43are overlapping down here also it goes
  5338. 3:24:45all the way down to this zero axis on
  5339. 3:24:48both the X and Y I want to change that
  5340. 3:24:52so I'm going to double click this x axis
  5341. 3:24:54and format access pane pops up and we
  5342. 3:24:57can see that we have bounds here 0 to
  5343. 3:24:59180,000 I can see that there's no values
  5344. 3:25:01under about 75,000 so I'm going to go
  5345. 3:25:04ahead and put that in for the minimum
  5346. 3:25:06and press enter so it's going to jumate
  5347. 3:25:08this way now I want to do the same thing
  5348. 3:25:11for the Y AIS I'll just double click it
  5349. 3:25:14and this one didn't necessarily go where
  5350. 3:25:16I wanted it to go I wanted to actually
  5351. 3:25:18change the values here so we can go
  5352. 3:25:20under access options under access
  5353. 3:25:23options again and under access options
  5354. 3:25:25again we can change this minimum maximum
  5355. 3:25:28I'm going to change it to looks like
  5356. 3:25:30there's nothing above 20 or below 25 so
  5357. 3:25:33we're going to go with that now even
  5358. 3:25:35with this change in the formatting of
  5359. 3:25:37the values here the minimum I can still
  5360. 3:25:40see that there's overlap here so I want
  5361. 3:25:43to update this similar to last time
  5362. 3:25:45basically cut it off the thousands place
  5363. 3:25:47and place and put a k at the end so
  5364. 3:25:50under access options access options
  5365. 3:25:52again I'm going to close this drop down
  5366. 3:25:54of access options also instead we're
  5367. 3:25:56going to go to number for this we want a
  5368. 3:25:58custom type and I do have some values in
  5369. 3:26:02here but we're just going to go if you
  5370. 3:26:04don't have them in here we're going to
  5371. 3:26:05add a new one specifically with this I
  5372. 3:26:08wanted to show one I wanted to show a
  5373. 3:26:11dollar sign at the front and I don't
  5374. 3:26:12want any decimal places whatsoever so
  5375. 3:26:15I'm just going to put a zero in there
  5376. 3:26:17and then from there like last time I
  5377. 3:26:19want to format this in the thousand's
  5378. 3:26:21place so I'm going to put a comma and
  5379. 3:26:24then double quotes to put around the K
  5380. 3:26:28which signifies I want to formulate this
  5381. 3:26:29in the thousand's place I'm going go
  5382. 3:26:31ahead and click add and now this is much
  5383. 3:26:34more readable not so much sensory
  5384. 3:26:37overload for our y AIS I don't care at
  5385. 3:26:40all about this decimal place right here
  5386. 3:26:42so going back into numbers again I can
  5387. 3:26:45just format the decimal place places as
  5388. 3:26:47zero and I'll just leave this one as an
  5389. 3:26:49accounting category now which one's
  5390. 3:26:51yearly and which one hourly salary well
  5391. 3:26:53we need to include actual access titles
  5392. 3:26:57for this so I'll go ahead and enable
  5393. 3:26:59that and then for this we're going to do
  5394. 3:27:01something a little bit different I'm
  5395. 3:27:03going to select this ya AIS title and
  5396. 3:27:07instead of actually typing in values in
  5397. 3:27:09I want to use actually the column header
  5398. 3:27:12right here so I'm going to come up into
  5399. 3:27:13the formula bar type equal to I'm going
  5400. 3:27:16select C1 and then press enter and now
  5401. 3:27:21this updates for that column head I can
  5402. 3:27:22do the same thing here for the x-axis
  5403. 3:27:25title selecting it then from there going
  5404. 3:27:27to the formula bar put an equal and
  5405. 3:27:29selecting cell B1 and pressing enter for
  5406. 3:27:32the title we don't want that hourly
  5407. 3:27:33median salary we're really trying to
  5408. 3:27:35find out what jobs have the highest pay
  5409. 3:27:38and we can basically tell it from this
  5410. 3:27:39all right so let's actually finally get
  5411. 3:27:41to adding data labels to this and we can
  5412. 3:27:43see what data labels are actually
  5413. 3:27:44available but scrolling over the
  5414. 3:27:46different options here we're going to
  5415. 3:27:48just go with above for the time being
  5416. 3:27:50then I'm going to close on out of this
  5417. 3:27:52and I'm going to select the data labels
  5418. 3:27:54themselves and format data labels should
  5419. 3:27:56pop up if it doesn't you can also go
  5420. 3:27:58about doing it by right-clicking this
  5421. 3:28:01and going to format data labels anyway
  5422. 3:28:03for this I don't want to actually show
  5423. 3:28:06The X or the Y value for this anyway uh
  5424. 3:28:10I made I made it disappear by actually
  5425. 3:28:13closing out of that so actually I going
  5426. 3:28:14have to add those data labels again
  5427. 3:28:16again anyway going back into it under
  5428. 3:28:17label options label options then label
  5429. 3:28:19options again I'm going to leave that y
  5430. 3:28:21value selected for right now but what I
  5431. 3:28:23want to do now is provide the job title
  5432. 3:28:26itself right next to the data point so I
  5433. 3:28:30can do this option here so label
  5434. 3:28:31contains value from cells and it's going
  5435. 3:28:35to ask me to select the data label range
  5436. 3:28:38and so now this is when I'm going to
  5437. 3:28:40select all of these different job titles
  5438. 3:28:43here and press okay so now we have these
  5439. 3:28:46values from cells I no longer want this
  5440. 3:28:48y values and I do want to include this
  5441. 3:28:51leader lines because we're going to be
  5442. 3:28:52actually dragging this around because as
  5443. 3:28:54you can see some of these values are
  5444. 3:28:56overlapping now also I'm noticing that
  5445. 3:28:59this is really busy right now with all
  5446. 3:29:00this text and stuff so I'm actually
  5447. 3:29:02going to remove the grid lines for the
  5448. 3:29:04time being actually for the remainder of
  5449. 3:29:05this cuz I I don't feel like it really
  5450. 3:29:07needs the grid lines in general and now
  5451. 3:29:09I have a little bit less sensory
  5452. 3:29:10overload so I can go through and
  5453. 3:29:13actually clean up where a lot of these
  5454. 3:29:15different job titles are located by just
  5455. 3:29:17selecting it and then dragging it and
  5456. 3:29:20you notice uh we had that leader line
  5457. 3:29:21selected so I have arrows or basically
  5458. 3:29:24lines going to each of these ones to
  5459. 3:29:27signify which one is which so now I've
  5460. 3:29:30dragging these all over so that way
  5461. 3:29:31they're basically more represent I want
  5462. 3:29:34sometimes if I dragged off of this and
  5463. 3:29:36drag maybe the whole chart itself and
  5464. 3:29:37make a mistake I press just control Z
  5465. 3:29:40and it reverts it back to where I'm
  5466. 3:29:41going and then I just continue on to
  5467. 3:29:43selecting the box that I want and moving
  5468. 3:29:45it anyway this is pretty neat now I
  5469. 3:29:47could actually go in if I wanted to and
  5470. 3:29:50add a trend line to this and basically
  5471. 3:29:53it shows for an increase in that yearly
  5472. 3:29:55salary I expect the same with the hourly
  5473. 3:29:57data in this case I don't find it as
  5474. 3:29:59much useful so I'm going to just keep
  5475. 3:30:02leave that off but in general it is
  5476. 3:30:04pretty neat to see the trend that's
  5477. 3:30:06going on with this that senior data
  5478. 3:30:08Engineers although they're underpaid
  5479. 3:30:10compared to senior data scientist in
  5480. 3:30:13yearly salary you could get the hookup
  5481. 3:30:15if in instead you look for an hourly gig
  5482. 3:30:17instead in order to get a little bit
  5483. 3:30:19higher pay a similar Dynamic happens
  5484. 3:30:22between business analysts and data
  5485. 3:30:24analyst so if you're a data analyst and
  5486. 3:30:26you're looking for a job maybe on upwork
  5487. 3:30:28maybe you should advertise as a business
  5488. 3:30:29analyst
  5489. 3:30:32instead all right going back to our data
  5490. 3:30:34set itself we have another column in
  5491. 3:30:37here I want to investigate and that's
  5492. 3:30:39specifically around the country is
  5493. 3:30:41called job country basically where the
  5494. 3:30:44job is located at and I like to
  5495. 3:30:46visualize these type of things well on a
  5496. 3:30:48map to actually see how it affects
  5497. 3:30:50others so I've made this table here
  5498. 3:30:53under the map chart tab where we have
  5499. 3:30:55our all the different countries in the
  5500. 3:30:57data set then from there we use a count
  5501. 3:30:59if to determine how many counts for each
  5502. 3:31:01of the countries and then our modified
  5503. 3:31:03median if in order to determine what the
  5504. 3:31:06median salary is in each of these
  5505. 3:31:08countries I've also had to wrap this one
  5506. 3:31:10in an if error because some of these if
  5507. 3:31:11there's no values it throws an error and
  5508. 3:31:14I didn't want that popping up in the
  5509. 3:31:15chart so so I had it disappear or make
  5510. 3:31:17it basically a blank value if it does
  5511. 3:31:19have an error anyway let's get into
  5512. 3:31:21visualizing this we're going to first
  5513. 3:31:23just visualize what are the counts of
  5514. 3:31:26these different jobs based on the
  5515. 3:31:28country so I'm going to select column A
  5516. 3:31:30and B go to insert and then maps and go
  5517. 3:31:34to this map chart now you may have a
  5518. 3:31:37pop-up warning that comes up during this
  5519. 3:31:39that says data needed to create your map
  5520. 3:31:41chart will be set to B and I'm fine with
  5521. 3:31:45sending this data to being you should be
  5522. 3:31:46fine too with it so feel free to accept
  5523. 3:31:48this then you shouldn't get this pop up
  5524. 3:31:50anymore anyway this chart's pretty neat
  5525. 3:31:53because it goes and shows we have a
  5526. 3:31:55heavy concentration of jobs basically
  5527. 3:31:58from the United States for my job
  5528. 3:32:00scraper I'm heavily aggregating jobs
  5529. 3:32:03from this country compared to other
  5530. 3:32:04countries sorry other countries out
  5531. 3:32:06there but I am still n less collecting
  5532. 3:32:08from other countries like us has 25,000
  5533. 3:32:10India is around 580 for this one I'm
  5534. 3:32:13going to change the title to where are
  5535. 3:32:16most jobs in Luke's data set from
  5536. 3:32:17there's not to say the United States has
  5537. 3:32:19more jobs than other countries this is
  5538. 3:32:20just how my data set is and how I
  5539. 3:32:22extracted the data so don't want you to
  5540. 3:32:24come up with the wrong conclusions from
  5541. 3:32:26this now the visualization that I really
  5542. 3:32:28care about is comparing these countries
  5543. 3:32:30to the median salary so holding control
  5544. 3:32:32I select a and then C I'm going to do
  5545. 3:32:35recommended charge from this cuz I'm
  5546. 3:32:36having problems using the maps one
  5547. 3:32:39anyway I see that it has the filled map
  5548. 3:32:40here I'm going to select okay and I have
  5549. 3:32:43all the data filled in all right with
  5550. 3:32:44this visualization we we can now dive in
  5551. 3:32:47we can see that we have a range of these
  5552. 3:32:49median salaries from over 157,000 down
  5553. 3:32:52to 30,000 with country like China having
  5554. 3:32:55around 68,000 and then over in Africa we
  5555. 3:32:58have Algeria at
  5556. 3:33:0045,000 so looks like we have a lower
  5557. 3:33:02salary in the African continent over in
  5558. 3:33:05North America and also South America
  5559. 3:33:07pretty high salaries along with
  5560. 3:33:09Australia as well anyway pretty cool
  5561. 3:33:11visualization we were able to generate
  5562. 3:33:13out of this I mean I love data and I
  5563. 3:33:15just love this visual a with this I'm
  5564. 3:33:16going to change the title to what are
  5565. 3:33:20top paying countries now the last thing
  5566. 3:33:23is a minor Point sometimes if you're
  5567. 3:33:24going ahead and actually moving maybe
  5568. 3:33:27columns around you'll notice that my
  5569. 3:33:29visualization is also moving as well and
  5570. 3:33:32this can wreak havoc especially whenever
  5571. 3:33:35you've made your dash or made your chart
  5572. 3:33:37a certain size and then move columns
  5573. 3:33:38around and it messes everything up we
  5574. 3:33:40can fix this so I'm going to go ahead
  5575. 3:33:42and contrl Z both of those column moves
  5576. 3:33:44to get it back to where I had previously
  5577. 3:33:47and then from there I'm just going to
  5578. 3:33:48double click on the chart itself go
  5579. 3:33:49under chart options and once again this
  5580. 3:33:52like resizing one here and going under
  5581. 3:33:55properties right now it's selected under
  5582. 3:33:57move and size with cells we don't want
  5583. 3:34:00to do that basically we don't want to
  5584. 3:34:02move or size with the cells so I'm going
  5585. 3:34:05to select that now closing out of this
  5586. 3:34:07whenever I go to adjust the column size
  5587. 3:34:09it's not going to adjust the
  5588. 3:34:10visualization at all this is much more
  5589. 3:34:13of what I want also one last note on
  5590. 3:34:15this I do do have a filter currently
  5591. 3:34:17applied to this data set specifically I
  5592. 3:34:19go into it it's a custom filter and I
  5593. 3:34:22wanted to make sure that I had basically
  5594. 3:34:25removed any na values so I put hey I
  5595. 3:34:28want values that are median Sal greater
  5596. 3:34:30than zero and are less than 200,000 so
  5597. 3:34:34if I go ahead and clear this filter we
  5598. 3:34:37can see that we have some other values
  5599. 3:34:39up here basically rushes up here at
  5600. 3:34:41300,000 for a median salary and if we
  5601. 3:34:44actually go in investigate Russia we'll
  5602. 3:34:47see that they only have around four jobs
  5603. 3:34:49with salary data listed so I feel like
  5604. 3:34:52this salary is more of an outlier than
  5605. 3:34:55anything so that's why I'm applying this
  5606. 3:34:57filter of 0 to 200,000 applying this
  5607. 3:35:00filter again we get final visualization
  5608. 3:35:03now you could also play around with this
  5609. 3:35:05and filter it based on the number of
  5610. 3:35:07counts to make sure you have values that
  5611. 3:35:09are above a certain count that's also an
  5612. 3:35:11option and probably maybe even a better
  5613. 3:35:13option as well all right chch turn now
  5614. 3:35:16to dive into those practice problems to
  5615. 3:35:18try out some different Advanced
  5616. 3:35:19visualizations and along with some
  5617. 3:35:21Advanced customization with that in the
  5618. 3:35:24next lesson we're going to be diving
  5619. 3:35:26deeper into understanding how to use
  5620. 3:35:28statistical analysis specifically box
  5621. 3:35:30and wher charts and also histograms and
  5622. 3:35:32how to read them with that see you in
  5623. 3:35:34the next
  5624. 3:35:38one this lesson is going to be focused
  5625. 3:35:40on actually visualizing a lot of the
  5626. 3:35:43things that or a lot of the functions
  5627. 3:35:44that we used in that statistical
  5628. 3:35:47functions lesson where we're looking
  5629. 3:35:49visually at things like the median and
  5630. 3:35:52core tiles specifically we're going to
  5631. 3:35:54do a refresher on histograms we've seen
  5632. 3:35:56it a few time reality but we're going to
  5633. 3:35:58dive into further understanding how
  5634. 3:36:02salaries are distributed specifically
  5635. 3:36:04for a target audience of data analyst in
  5636. 3:36:06the United States you can feel feel free
  5637. 3:36:08to do whoever you want and then from
  5638. 3:36:10there based on the limitations of it
  5639. 3:36:12only be able to visualize one job title
  5640. 3:36:15we're going to shift Vex to looking at
  5641. 3:36:17box and whisker charts and these are
  5642. 3:36:20great at also showing statistical
  5643. 3:36:22distributions like a histogram but we
  5644. 3:36:24can take it a step further and we
  5645. 3:36:26compare different values specifically in
  5646. 3:36:29this case we're going to compare them
  5647. 3:36:31across the different job titles on how
  5648. 3:36:32they're distributed now box and whisker
  5649. 3:36:35charts aren't probably a chart that
  5650. 3:36:37you're familiar with or most people are
  5651. 3:36:38familiar with so we're going to go
  5652. 3:36:40through a review and understand and
  5653. 3:36:42break them down to understand those
  5654. 3:36:44Concepts we talked about previously
  5655. 3:36:46about median and quartiles and where
  5656. 3:36:47they fall into this for this we're going
  5657. 3:36:50to be using the charts statistics
  5658. 3:36:53workbook specifically we're going to be
  5659. 3:36:54starting in this data Tab and for all
  5660. 3:36:57this we're going to be analyzing salary
  5661. 3:36:59data in this video we're going to be
  5662. 3:37:00focusing specifically though on that
  5663. 3:37:02yearly salary
  5664. 3:37:06data so let's actually go back into
  5665. 3:37:09breaking down how to read a histogram we
  5666. 3:37:11go back into insert recommended charts
  5667. 3:37:14and then from there select histogram and
  5668. 3:37:16insert in the histogram I don't like
  5669. 3:37:19where it is right now I'm actually going
  5670. 3:37:20to move this chart into a new sheet now
  5671. 3:37:25quick refresher on histograms each one
  5672. 3:37:27of these bars represents a count of
  5673. 3:37:29values within a range so in this case
  5674. 3:37:33there's 920 values between the range of
  5675. 3:37:37oh my gosh so hard to read 75,000 to
  5676. 3:37:4181,000 and as we're noting by this we
  5677. 3:37:43have a large number over here if gets
  5678. 3:37:45even out to 960,000 this would be called
  5679. 3:37:48a skewed right distribution now this is
  5680. 3:37:52different from a column chart because
  5681. 3:37:55this data down here on the xaxis is
  5682. 3:37:58basically continuous data when one bin
  5683. 3:38:01stops so this first bin of 15,000 to
  5684. 3:38:0421,000 the next bin picks up now the
  5685. 3:38:07first problem with this histogram is
  5686. 3:38:10this is for all salary data specifically
  5687. 3:38:12all job titles across all countries I
  5688. 3:38:15want to actually find tune to look at my
  5689. 3:38:18specific use case of data analyst in the
  5690. 3:38:20United States so you can come here into
  5691. 3:38:22the histogram 2 Tab and I have the four
  5692. 3:38:26Columns of interest that I want to use
  5693. 3:38:28from the data Tab and I already have the
  5694. 3:38:30filters applied but if you want to you
  5695. 3:38:32can come in here and actually select to
  5696. 3:38:34clear these filters and I'll just select
  5697. 3:38:36it here from that Home tab then from
  5698. 3:38:39there I'm going to go through and select
  5699. 3:38:41data analyst roles that are full-time
  5700. 3:38:44only that are in the United States and
  5701. 3:38:48then finally I don't want any of these
  5702. 3:38:49blank values here so I'm going to
  5703. 3:38:52uncheck this value here for blanks now
  5704. 3:38:54we'll say filtering this data did take
  5705. 3:38:57some time to actually do so don't be
  5706. 3:38:59alarmed if this taken more than 10 or 15
  5707. 3:39:01seconds all right so back in let's
  5708. 3:39:03actually make a histogram with this data
  5709. 3:39:06we'll go into insert from here I'm going
  5710. 3:39:08to insert in a histogram now once again
  5711. 3:39:10this distribution is so the last one
  5712. 3:39:13skewed right and we have a heavy amount
  5713. 3:39:14of outline s right here even out this
  5714. 3:39:17one value around 370,000 I don't think
  5715. 3:39:20this provides a lot of value instead I
  5716. 3:39:22want to actually focus more into these
  5717. 3:39:25this actual distribution and not
  5718. 3:39:27actually on this portion out here that
  5719. 3:39:28we have just outliers anyway I'm going
  5720. 3:39:30to come in here into our filters up here
  5721. 3:39:32insert a number filter and that it's
  5722. 3:39:35less than 300,000 click okay all right
  5723. 3:39:39this is looking a lot more readable
  5724. 3:39:42which we can actually see now the x-axis
  5725. 3:39:45now each one of these bars right here or
  5726. 3:39:48what what you would see in like a column
  5727. 3:39:49chart are called the bins and they're
  5728. 3:39:52all equally space but we can control the
  5729. 3:39:55width of each one of those bins that
  5730. 3:39:57they Encompass specifically I can double
  5731. 3:39:59click on the chart to bring up that pane
  5732. 3:40:01to the right selecting the x axis I can
  5733. 3:40:04then go into access options and then
  5734. 3:40:07once again access options we can go into
  5735. 3:40:09something right now we're noticing that
  5736. 3:40:10the bins are automatically determined we
  5737. 3:40:13can actually change this binwidth I'm
  5738. 3:40:15going to change this something to like
  5739. 3:40:1715,000 notice that it is bigger in this
  5740. 3:40:20case the bins are bigger than they were
  5741. 3:40:21previously you can feel free to test
  5742. 3:40:24different options if you will I feel if
  5743. 3:40:26you go too small in the case let's say
  5744. 3:40:28we went down to 1,000 it just gets too
  5745. 3:40:30noisy and also you can't necessarily see
  5746. 3:40:32the distribution as well so really you
  5747. 3:40:35just have to play around with it until
  5748. 3:40:36you get to what you want to find as far
  5749. 3:40:38as the access goes this is a little bit
  5750. 3:40:41this is sensory overload for me way too
  5751. 3:40:43many zeros in here so I'm going to move
  5752. 3:40:45this selecting the xaxis we can see that
  5753. 3:40:48has format access now I can go under
  5754. 3:40:50number and once again we can go in our
  5755. 3:40:52custom type none of the ones that I've
  5756. 3:40:54previously done are here sometimes it
  5757. 3:40:56pops up sometimes it doesn't we're going
  5758. 3:40:58to go ahead and just put in we want the
  5759. 3:41:00dollar sign zero and then formatted with
  5760. 3:41:03the K value basically removing all those
  5761. 3:41:06uh thousands zeros and I'm going to go
  5762. 3:41:08ahead and click add all right this is a
  5763. 3:41:11lot more readable to actually see what
  5764. 3:41:14those different ranges are
  5765. 3:41:15and from there I'm going to change the
  5766. 3:41:17title of how much do data analysts in
  5767. 3:41:20the United States make probably also
  5768. 3:41:22best practice here to add a title on the
  5769. 3:41:26Y AIS for count of jobs and B now we
  5770. 3:41:30have this final visualization show on
  5771. 3:41:31our histogram we can see that a lot of
  5772. 3:41:33the salaries are more around the range
  5773. 3:41:36of 85,000 to 100,000 which 70,000 85,000
  5774. 3:41:41is coming up next so this show is really
  5775. 3:41:43visually great and at where I can expect
  5776. 3:41:47to have a salary as a starting data
  5777. 3:41:52analyst but now what if we want to
  5778. 3:41:55analyze multiple different job titles
  5779. 3:41:58which we're going eventually get to is
  5780. 3:42:00this box plot here where we're plotting
  5781. 3:42:02it for all the different job tiles we'll
  5782. 3:42:04be able to actually compare different
  5783. 3:42:06values across each other but before we
  5784. 3:42:08get to that we need to First understand
  5785. 3:42:10how to read a box plot also sometimes I
  5786. 3:42:12call it a box plot but it's also known
  5787. 3:42:14as a box and whiskers chart anyway I
  5788. 3:42:17made this visualization here you don't
  5789. 3:42:18have to do it there's a bunch of
  5790. 3:42:19customization along with it the main
  5791. 3:42:21purpose of this is to demonstrate or
  5792. 3:42:23help understand how to read a box and
  5793. 3:42:27whiskers chart so I took our data that
  5794. 3:42:30we previously were analyzing for data
  5795. 3:42:32analyst in the United States it was a
  5796. 3:42:34full-time role along with all the salary
  5797. 3:42:35data and then I use like we previously
  5798. 3:42:38did calculating things like the Min
  5799. 3:42:41first quartile median average third
  5800. 3:42:44quartile and Max just ignore this
  5801. 3:42:46portion right here it was used to make
  5802. 3:42:48build this visualization right here
  5803. 3:42:50anyway I tried as best as possible to
  5804. 3:42:52line up this histogram where we have the
  5805. 3:42:54x-axis going from 25,000 to 285,000 with
  5806. 3:42:59the box and whiskers chart I may below
  5807. 3:43:01it from 25,000 to 285,000 so the Box
  5808. 3:43:04itself signifies what that nerds call
  5809. 3:43:07the inter quartile range basically all
  5810. 3:43:10the values between q1 or quartile 1 and
  5811. 3:43:14cortile 3 had a typo there got to fix
  5812. 3:43:16that anyway that's why it was so
  5813. 3:43:17important that previously we calculated
  5814. 3:43:19that first quartile and third quartile
  5815. 3:43:21and if you remember from that there
  5816. 3:43:23quartiles so 50% of the data Falls
  5817. 3:43:26within this box and if we look up we
  5818. 3:43:28were to draw imaginary lines into our
  5819. 3:43:30histogram we can see that about 50% of
  5820. 3:43:33the data does fall within this the next
  5821. 3:43:36up inside of here is a line that is for
  5822. 3:43:39the median in this case our median is
  5823. 3:43:41990,000 and then we have our average of
  5824. 3:43:4490
  5825. 3:43:455,000 which as we discussed previously
  5826. 3:43:48the average is going to be higher here
  5827. 3:43:50because we have things all the way out
  5828. 3:43:52here called outliers basically dragging
  5829. 3:43:55that average higher and outliers are
  5830. 3:43:57signified by these dots outside of the
  5831. 3:44:01whiskers themselves these whiskers are
  5832. 3:44:03the lines and the lines themselves
  5833. 3:44:05extend to the minimum and the maximum
  5834. 3:44:09and these are just relative mins and
  5835. 3:44:11Maxes they're not necessarily the true
  5836. 3:44:14men and Max anyway so that's a box and
  5837. 3:44:17whisker chart and frankly by themselves
  5838. 3:44:20I don't think they're really great but
  5839. 3:44:22when you pair them with other
  5840. 3:44:24categorical values I find them super
  5841. 3:44:27interesting so let's actually build this
  5842. 3:44:29visualization so you can come over to
  5843. 3:44:31this box plot2 Tab and I have our data
  5844. 3:44:35inside of it none of it is filtered it
  5845. 3:44:38has all the different job titles and all
  5846. 3:44:40their Associated salaries for this I'm
  5847. 3:44:42going to select column M and then also
  5848. 3:44:44holding control I'm going to select
  5849. 3:44:46column A then from there go in and
  5850. 3:44:48insert and go to recommended and from
  5851. 3:44:50there look at the box and whiskers chart
  5852. 3:44:53which looks like it's already pulling it
  5853. 3:44:55up for us so let's pop this bad boy in
  5854. 3:44:57now one drawback of these box and
  5855. 3:44:59whisker charts in Excel is unlike that
  5856. 3:45:02last box plot that I made I custom made
  5857. 3:45:05this in order to make it appear in this
  5858. 3:45:07horizontal fashion you can actually do
  5859. 3:45:10that you can only have the option to
  5860. 3:45:11have them vertical up and down anyway
  5861. 3:45:14this is pretty close of what we want to
  5862. 3:45:16get the main problem I'm noticing right
  5863. 3:45:18now is we have outliers up to 1.2
  5864. 3:45:22million and it's really with the data
  5865. 3:45:24around 100 150,000 it's really hard to
  5866. 3:45:28actually look into those boxes so I'm
  5867. 3:45:30going to change this yvalue scale double
  5868. 3:45:33clicking on the Y AIS I'm going to
  5869. 3:45:36change the maximum to 300,000
  5870. 3:45:39additionally since we're here I'm going
  5871. 3:45:40to change that number formatting to use
  5872. 3:45:43that 0k value then also I'm finding the
  5873. 3:45:46color is a little hard to actually see
  5874. 3:45:49these x's in here so under series option
  5875. 3:45:53selecting fill in line fill I'm going to
  5876. 3:45:56change this color to more of a lighter
  5877. 3:45:59blue okay and that's definitely easier
  5878. 3:46:02to read I'm going to add a vertical
  5879. 3:46:04access of salary USD I'm also going to
  5880. 3:46:07bold it all to make it a little bit more
  5881. 3:46:08readable and then from there change that
  5882. 3:46:10chart title to what are the top paying
  5883. 3:46:13jobs in data science all right getting
  5884. 3:46:15into actually analyzing this and getting
  5885. 3:46:18insights from it now one drawback out of
  5886. 3:46:21this is there's not an easy way to sort
  5887. 3:46:25these values right here right now I'd
  5888. 3:46:27normally put them high to low I'd
  5889. 3:46:28probably put them high to low based on
  5890. 3:46:30median salary but they've been put into
  5891. 3:46:34this graph based on the order that they
  5892. 3:46:36first appear over here in column A and
  5893. 3:46:40that's when they pop up so that's the
  5894. 3:46:41order so technically I could go through
  5895. 3:46:43and sort this column
  5896. 3:46:45alphabetically but that's going to take
  5897. 3:46:47a little bit too much time if you want
  5898. 3:46:48to do that feel free to try that out
  5899. 3:46:50anyway it looks like roles like machine
  5900. 3:46:52learning engineers and also software
  5901. 3:46:55Engineers have a pretty large inter
  5902. 3:46:58cortile range or that where that 50% of
  5903. 3:47:00that data Falls so there's a basically a
  5904. 3:47:02wide range of data or salaries you could
  5905. 3:47:04find with that whereas data nerds data
  5906. 3:47:07scientists data analysts and data
  5907. 3:47:08Engineers have a tighter band also as
  5908. 3:47:11expected those data analysts and
  5909. 3:47:12business analysts have some of the
  5910. 3:47:14lowest median salaries where something
  5911. 3:47:16like the data engineers and the senior
  5912. 3:47:18roles have even higher median salaries
  5913. 3:47:21overall this is pretty great at going in
  5914. 3:47:23comparing values I would probably work
  5915. 3:47:25with this more to fine tune it to only
  5916. 3:47:28have a couple of job titles in it and
  5917. 3:47:30for that we can use something like
  5918. 3:47:32slicers which will be covering in an
  5919. 3:47:34upcoming chapter well the next chapter
  5920. 3:47:37when we get into Advanced Techniques in
  5921. 3:47:38Excel so we'll be able to customize this
  5922. 3:47:40further once you have that knowledge all
  5923. 3:47:42right you now have some practice
  5924. 3:47:43problems to go through and get more
  5925. 3:47:45familiar with those histograms and all
  5926. 3:47:47scope box and whisker charts in the next
  5927. 3:47:49lesson which is a quick one we're going
  5928. 3:47:51to be moving into spark lines which is
  5929. 3:47:53the final lesson in this chart overview
  5930. 3:47:56with that I'll see you in the next
  5931. 3:48:01one moving into this last lesson on
  5932. 3:48:03charts focusing on spark line spark
  5933. 3:48:06lines are basically ways to insert mini
  5934. 3:48:10charts into a cell that summarizes data
  5935. 3:48:14that's next to it if your data is coming
  5936. 3:48:17in a horizontal form similar to this
  5937. 3:48:19table you probably have the possibility
  5938. 3:48:22of considering inserting a spark line
  5939. 3:48:24we're going to going through how to make
  5940. 3:48:25them but also customizing it all right
  5941. 3:48:27for this we're going to be using the
  5942. 3:48:28spark lines workbook for this we have
  5943. 3:48:31like usual our data Tab and then our
  5944. 3:48:33original tab that calculates data off it
  5945. 3:48:35and for this data set we're just looking
  5946. 3:48:37at what are the counts of the different
  5947. 3:48:39job titles based on month so this is
  5948. 3:48:41basically horizontally oriented this is
  5949. 3:48:43great for a spar
  5950. 3:48:47line so how we're going to do this well
  5951. 3:48:49we'll go ahead and select the data only
  5952. 3:48:51so C4 to n10 then come up into the
  5953. 3:48:54insert tab then right here we have this
  5954. 3:48:57section on spark lines we can insert a
  5955. 3:49:00line column or a win loss we'll just
  5956. 3:49:02start with column to start with and it
  5957. 3:49:04fills in for the data range C4 to 10 but
  5958. 3:49:07it wants us to choose where you want the
  5959. 3:49:09spark lines to be placed so the location
  5960. 3:49:11range and click this Arrow here and then
  5961. 3:49:13from there actually drag it next to it
  5962. 3:49:16all close this Arrow back and click okay
  5963. 3:49:20anyway I wanted to demonstrate that bar
  5964. 3:49:21chart because it's not really that great
  5965. 3:49:23for here remember anytime we're doing
  5966. 3:49:25continuous data in this case we're doing
  5967. 3:49:28that monthly data I'm going to want to
  5968. 3:49:29use something like a line chart instead
  5969. 3:49:31so I can easily change it by coming up
  5970. 3:49:33here selecting all of our different data
  5971. 3:49:35selecting that spark Line tab and then
  5972. 3:49:37just changing it to I can change
  5973. 3:49:39something like win loss which no really
  5974. 3:49:41data from this line chart that's what we
  5975. 3:49:43really want from this now getting into
  5976. 3:49:45the customization of this I really
  5977. 3:49:47personally I'm like blue so we're going
  5978. 3:49:49to stick with the blue color but we
  5979. 3:49:51could change the color if we want to and
  5980. 3:49:53the other thing we change is the marker
  5981. 3:49:54color right now we don't have any
  5982. 3:49:55markers on it we can actually change
  5983. 3:49:57which markers are right here in the show
  5984. 3:49:59selection right here so I can select the
  5985. 3:50:02high points right now it's going to
  5986. 3:50:03highlight all of them red uh low point
  5987. 3:50:06also red negative points there's no
  5988. 3:50:08negative point you also do the first
  5989. 3:50:11point which I don't really find much
  5990. 3:50:13value in that or last point and then
  5991. 3:50:15actual finally the markers itself you
  5992. 3:50:17just put every single one of them with a
  5993. 3:50:18marker I really like this High Point and
  5994. 3:50:21this low point and we can customize this
  5995. 3:50:25the high points I would really want to
  5996. 3:50:26call out to be a green color right now
  5997. 3:50:30this green that's sort of hard to see so
  5998. 3:50:33I'm going to change it to something a
  5999. 3:50:34little bit darker and Bam we can see
  6000. 3:50:36that one a little better the red for the
  6001. 3:50:37low point I'm going to keep it as is and
  6002. 3:50:39the last thing is all this data has
  6003. 3:50:41Bally a grid around it I'm just going to
  6004. 3:50:43add that in real quick by selecting all
  6005. 3:50:45the cells come up into home into the
  6006. 3:50:48borders I'm going to put in all borders
  6007. 3:50:50around it then it looks like I have a
  6008. 3:50:51double line right here for this lower
  6009. 3:50:53one so I'll insert this bottom double
  6010. 3:50:56border and then finally I'm going to put
  6011. 3:51:00a thick border around this all bam we
  6012. 3:51:03have our final visualization there now I
  6013. 3:51:06can go through and see things like okay
  6014. 3:51:10with that analyst and other analyst we
  6015. 3:51:12saw spikes in January but things like
  6016. 3:51:14thata Engineers we didn't see a spike
  6017. 3:51:17however all the job titles ran to a
  6018. 3:51:19similar problem where apparently they
  6019. 3:51:20ran out of budget and the least amount
  6020. 3:51:23of jobs were posted in November and
  6021. 3:51:25December so this's a pretty cool feature
  6022. 3:51:26to show some quick snapshots about the
  6023. 3:51:29data you're looking at right you now
  6024. 3:51:31have some practice problems to go
  6025. 3:51:32through and basically practice making
  6026. 3:51:34some of these spark lines we're going to
  6027. 3:51:36next be jumping in the next chapter it's
  6028. 3:51:38our final chapter of the basic section
  6029. 3:51:41and it's going to be focusing on
  6030. 3:51:43Advanced features inside spreadsheets
  6031. 3:51:45such as tables formatting and how to
  6032. 3:51:47collaborate with others it's our last
  6033. 3:51:49section before we build our first
  6034. 3:51:51project so with that I'll see you in the
  6035. 3:51:53next chapter on Advanced
  6036. 3:51:58spreadsheets then nerds welcome to this
  6037. 3:52:01last chapter in the basic section
  6038. 3:52:04focusing on Advanced features and
  6039. 3:52:06spreadsheets there's a last chapter
  6040. 3:52:07we're going to be covering before we get
  6041. 3:52:08into our first project and this chapter
  6042. 3:52:11is broken into three different lessons
  6043. 3:52:13this one right here is going to be on
  6044. 3:52:15tables how to use tables how to use
  6045. 3:52:17things like slicers and how to
  6046. 3:52:18manipulate them second lesson is on
  6047. 3:52:20formatting not just on making cells look
  6048. 3:52:23pretty but developing conditional
  6049. 3:52:25formatting rules in order to highlight
  6050. 3:52:28CES according to well a certain rule
  6051. 3:52:31pretty interesting feature within Excel
  6052. 3:52:33and the third lesson is on collaboration
  6053. 3:52:35for a project we're going to be making a
  6054. 3:52:37dashboard and so we need to enact
  6055. 3:52:40certain measures in order to protect it
  6056. 3:52:42and prevent people from going in and
  6057. 3:52:44messing it up and so we're going to go
  6058. 3:52:46over a lot of features in order to set
  6059. 3:52:47it up properly anyway back to this
  6060. 3:52:49lesson what are we going to be doing for
  6061. 3:52:50it well first we're going to start out
  6062. 3:52:52by using a smaller subset of our data
  6063. 3:52:56set basically 15 rows and creating your
  6064. 3:52:58first table we're going to be
  6065. 3:53:00manipulating it using custom formulas
  6066. 3:53:02that we really haven't seen before along
  6067. 3:53:04with using some other ones that we have
  6068. 3:53:06seen before in order to calculate totals
  6069. 3:53:08subtotals and Aggregates by the end of
  6070. 3:53:10this lesson we're going to be building a
  6071. 3:53:12mini dashboard to analyze that histogram
  6072. 3:53:15that we talked about in our previous
  6073. 3:53:17lessons specifically we're going to add
  6074. 3:53:19slicers to it in order to be able to
  6075. 3:53:21filter down and look at a subset of data
  6076. 3:53:24that we're most interested about and
  6077. 3:53:26that's all could be done without the
  6078. 3:53:28help of tables for this lesson we're
  6079. 3:53:30going to be using the tables workbook in
  6080. 3:53:33chapter
  6081. 3:53:364 for this you're going to start in the
  6082. 3:53:38tables intro original sheet and then the
  6083. 3:53:40final one's going to be what we're going
  6084. 3:53:41to eventually get to all these are going
  6085. 3:53:43to be labeled similarly with the
  6086. 3:53:44original and final and we're all going
  6087. 3:53:46to be working with the original it
  6088. 3:53:47should look like the final when you get
  6089. 3:53:48done with this so let's dive into
  6090. 3:53:49creating our first table first thing you
  6091. 3:53:52have to do is make sure that we're
  6092. 3:53:53selected somewhere in here we don't
  6093. 3:53:54necessarily need to select the full
  6094. 3:53:55table but just somewhere in here from
  6095. 3:53:57there we'll go into the insert Tab and
  6096. 3:53:59we'll insert a table also notice that we
  6097. 3:54:02can use the shortcut control t for this
  6098. 3:54:05so I'm going to do that instead and for
  6099. 3:54:07this it automatically pinpoints the
  6100. 3:54:10rightmost cell and the bottom most cell
  6101. 3:54:12and we need to make sure we have this
  6102. 3:54:13check mark enabled of my table has
  6103. 3:54:15headers because we have well call them
  6104. 3:54:17headers and Bam we just made our first
  6105. 3:54:19table this lesson's over but seriously
  6106. 3:54:21let's actually get into exploring this
  6107. 3:54:22table design tab that now appears
  6108. 3:54:24anytime you're selected to the table if
  6109. 3:54:26I click off of it it disappears anyway
  6110. 3:54:28we're going to first look at the table
  6111. 3:54:30name and i' like to have a table name
  6112. 3:54:32that's easy to reference so I'm going to
  6113. 3:54:34just name it something like jobs it's
  6114. 3:54:36going to come into handy naming it
  6115. 3:54:38something simple whenever we're making
  6116. 3:54:40formulas later for this now we'll get to
  6117. 3:54:42this section in a little bit on tool and
  6118. 3:54:44external table data but I want to move
  6119. 3:54:47over to the style options you can play
  6120. 3:54:49around with some of these options here
  6121. 3:54:50where you can highlight the First Column
  6122. 3:54:52or you can highlight the last column has
  6123. 3:54:54a lot of different formatting options
  6124. 3:54:56with it but what I really like is this
  6125. 3:54:58color formatting if I'm not really
  6126. 3:55:00liking the color that it's given to me
  6127. 3:55:02just come over here select a new one so
  6128. 3:55:04we'll get back to table design in a bit
  6129. 3:55:06but what's really the benefit of this
  6130. 3:55:09table well one thing is you can easily
  6131. 3:55:11add data to a table and it will will
  6132. 3:55:14autofill let me show you let's say I
  6133. 3:55:16wanted to add a new column with a solid
  6134. 3:55:19year average copy whenever I enter this
  6135. 3:55:21new column name and press enter it
  6136. 3:55:23automatically fills this in I can the
  6137. 3:55:26skills are sort of covering this up
  6138. 3:55:27right now sorry about that and I can
  6139. 3:55:29make this a little bit bigger but you
  6140. 3:55:31can see we have salary or average copy
  6141. 3:55:33now included within this table and I can
  6142. 3:55:36verify that it's included also in this
  6143. 3:55:37table by if I want to go to resize table
  6144. 3:55:39it will say that now it goes to
  6145. 3:55:42k16 now for this I just want to copy the
  6146. 3:55:45results of the salary year average
  6147. 3:55:47column over here in h so what I'm going
  6148. 3:55:49to do is press equal to and I'm just
  6149. 3:55:51going to select the cell over here of H2
  6150. 3:55:55now this is what I was talking about
  6151. 3:55:56whenever I said tables have their own
  6152. 3:55:58unique formulas what it's going and
  6153. 3:56:00doing here is it's referencing the
  6154. 3:56:01salary or average column which is this
  6155. 3:56:04portion right here and then it's also
  6156. 3:56:06using this at symbol to basically refer
  6157. 3:56:08to this is the same point in the row of
  6158. 3:56:11H2 that is a K2 anyway when I go ahead
  6159. 3:56:14and press enter Watch What Happens we
  6160. 3:56:17actually fill in all the different
  6161. 3:56:18values of this so if I were to actually
  6162. 3:56:20double click into this one down here we
  6163. 3:56:22still have that same syntax of we're
  6164. 3:56:25selecting the Sal your average column
  6165. 3:56:27and we're using that at value value to
  6166. 3:56:29get the one that corresponds in that
  6167. 3:56:31same row now let's dive deeper into
  6168. 3:56:33these different formulas we can use for
  6169. 3:56:35this table so I'm going to come over
  6170. 3:56:36here into column n and for this remember
  6171. 3:56:39we named our table jobs so I'm just
  6172. 3:56:42going to type in jobs and I have two
  6173. 3:56:45tables in here one called job one jobs
  6174. 3:56:47you only have one popping in here anyway
  6175. 3:56:49it automatically pops up so I'm going to
  6176. 3:56:51select jobs and now whenever I do this
  6177. 3:56:55I'm going to press enter it's using our
  6178. 3:56:57modern dynamic arrays basically to fill
  6179. 3:57:00in all the data that we have over here
  6180. 3:57:05inside of our table so pretty unique in
  6181. 3:57:07how we can reference this now what
  6182. 3:57:09happens if we wanted to also include the
  6183. 3:57:11column headers up at the top well I can
  6184. 3:57:12type in jobs and then from there I'm
  6185. 3:57:15going to add a square bracket and we
  6186. 3:57:18have a few options popping up right now
  6187. 3:57:20it looks like it's just a column titles
  6188. 3:57:22but if we scroll down we have these
  6189. 3:57:25values here with hashtags in it
  6190. 3:57:27specifically I want with the column
  6191. 3:57:28headers so I'm going to put hashtag
  6192. 3:57:31headers I'm going to put a close bracket
  6193. 3:57:33on this and then press enter and now we
  6194. 3:57:36have the column headers across the top
  6195. 3:57:38now that's a little bit too much work
  6196. 3:57:39having to do two different formulas for
  6197. 3:57:41this if instead I wanted to do job and
  6198. 3:57:44then square bracket and see the options
  6199. 3:57:47available I can see I have an all a data
  6200. 3:57:49only a headers and a totals row totals
  6201. 3:57:52row we're going to get to a little bit
  6202. 3:57:53so we'll do the all for now and if I go
  6203. 3:57:55ahead and press enter bam we now have
  6204. 3:57:58our data with our column headers and
  6205. 3:58:01also the data itself but what happens if
  6206. 3:58:04you want to just access certain columns
  6207. 3:58:06well I thought you never asked that well
  6208. 3:58:08once again I can type in something like
  6209. 3:58:10jobs but the square bracket and then we
  6210. 3:58:12have a list of different columns
  6211. 3:58:14available let's do the salary year
  6212. 3:58:16average and do a close bracket once
  6213. 3:58:18again this is going to provide the data
  6214. 3:58:20values only if we wanted to include the
  6215. 3:58:23specific header for this I once again
  6216. 3:58:25need to put in jobs and this time I'm
  6217. 3:58:27going need to specify not only the
  6218. 3:58:30headers so I need to put this in its own
  6219. 3:58:33square brackets but I'm also going to
  6220. 3:58:35have to do a comma put another square
  6221. 3:58:37brackets and put salary year average
  6222. 3:58:41within its own brackets so it's almost
  6223. 3:58:43like a list of items if you're familiar
  6224. 3:58:45with python this would be like a list
  6225. 3:58:46anyway we have the headers in Brackets
  6226. 3:58:49and we have salary year average in
  6227. 3:58:50Brackets pressing enter we get salary
  6228. 3:58:53your average up at the top now honestly
  6229. 3:58:55an easier way to do this all is to well
  6230. 3:58:57use that all command or hashtag all but
  6231. 3:59:00it has to be put within its own square
  6232. 3:59:02brackets then from there a comma and
  6233. 3:59:04then we want to say hey the subset only
  6234. 3:59:06that we're providing for this is salary
  6235. 3:59:09year average close that bracket and then
  6236. 3:59:11close the entire brackets for jobs now
  6237. 3:59:14from there when we run it we get the Sal
  6238. 3:59:16year average along with all the column
  6239. 3:59:18values at any time if you forget that
  6240. 3:59:20it's not that big of a deal as you can
  6241. 3:59:23just go through and put an equal sign
  6242. 3:59:25and like we did previously I could just
  6243. 3:59:27highlight well not that um our salary
  6244. 3:59:30your average column and look it
  6245. 3:59:32automatically populates with that same
  6246. 3:59:34formula above here and when I press
  6247. 3:59:36enter boom it pops up there so don't
  6248. 3:59:38think you have to memorize these
  6249. 3:59:39formulas that I just went over but what
  6250. 3:59:41do all these formulas actually provide
  6251. 3:59:43any value value for well let's look at a
  6252. 3:59:45use case let's say I wanted to identify
  6253. 3:59:48jobs that whenever we looked at the
  6254. 3:59:51skills we could find out if they
  6255. 3:59:53contained the skill of Excel or not so
  6256. 3:59:56I'm going to create this new column over
  6257. 3:59:57here and call it Excel and for this
  6258. 4:00:01we're going to be using the search
  6259. 4:00:03function which we need to provide what
  6260. 4:00:06text we want to actually find
  6261. 4:00:07conveniently I put it in the column
  6262. 4:00:08header so I'll go ahead and just select
  6263. 4:00:10it and automatically populates the
  6264. 4:00:12formula for this then from that we need
  6265. 4:00:14to go to the next parameter of within
  6266. 4:00:16text we're trying to look at that job
  6267. 4:00:18skills column it puts that at symbol at
  6268. 4:00:21the front of job skills to basically
  6269. 4:00:23signify look at that row then from there
  6270. 4:00:26I'm going to go ahead and close the
  6271. 4:00:27parentheses and press enter so for that
  6272. 4:00:29search function it provides the N
  6273. 4:00:31numerical location of excel in here
  6274. 4:00:35Excel is 36 characters deep into this so
  6275. 4:00:38I'm just going to modify this cuz I
  6276. 4:00:39don't really care about the number of
  6277. 4:00:41that I'm going to say I'm going to use
  6278. 4:00:43the is number function which checks if
  6279. 4:00:46it's a number and then returns true or
  6280. 4:00:49false in this case we have True Values
  6281. 4:00:51so we know that for these columns if
  6282. 4:00:54they contain Excel or not they'll have
  6283. 4:00:56true so that's how I find myself using
  6284. 4:00:58these different formulas and
  6285. 4:00:59understanding how to actually manipulate
  6286. 4:01:01them anyway let's get into our next step
  6287. 4:01:03let's say we wanted to include some sort
  6288. 4:01:05of totals Row in order to maybe
  6289. 4:01:07calculate median salary how many job
  6290. 4:01:09postings there were Etc so we'll go into
  6291. 4:01:12this table design Tab and I'm going
  6292. 4:01:13going to select the total row and now
  6293. 4:01:17down here in row 17 we have total
  6294. 4:01:19written down here along with a bunch of
  6295. 4:01:22well blank values except for all the way
  6296. 4:01:23to the right looks like it puts us the
  6297. 4:01:26number of 15 which is the total of these
  6298. 4:01:29now going over to that salary year
  6299. 4:01:31average column I can basically select
  6300. 4:01:34this totals row right here and you
  6301. 4:01:36notice a drop down appears right here
  6302. 4:01:38from here we can select some basic
  6303. 4:01:40statistics average count min max
  6304. 4:01:43variance go ahead and select average
  6305. 4:01:45that's the average of this column right
  6306. 4:01:46here so pretty neat I'd go through and
  6307. 4:01:48if I wanted to do other columns as well
  6308. 4:01:50that now you can also go into here and
  6309. 4:01:52select more functions and then like we
  6310. 4:01:54said we want to calculate Median on this
  6311. 4:01:56salary we could go ahead and select this
  6312. 4:01:59function of median but I'm actually
  6313. 4:02:01going to recommend another approach you
  6314. 4:02:04see if we double click inside of here we
  6315. 4:02:06actually see that this totals column is
  6316. 4:02:10using a function specifically the
  6317. 4:02:12subtotal function function so let's
  6318. 4:02:15actually build this out from scratch
  6319. 4:02:16without selecting it luckily we have the
  6320. 4:02:18salary your average copy column over
  6321. 4:02:19here so I'm going to go in and I'm going
  6322. 4:02:20to type in subtotal and it returns a
  6323. 4:02:24subtotal in a list or database first is
  6324. 4:02:27the function number what do we want it
  6325. 4:02:29to actually do and this has even more
  6326. 4:02:32values available to it that you can
  6327. 4:02:35actually select from and perform on this
  6328. 4:02:39so in this case let's say I wanted to
  6329. 4:02:41find out what the max value is I would
  6330. 4:02:43plug this in it would be 104 and then
  6331. 4:02:45for the reference for this well we're
  6332. 4:02:47just going to select this salary year
  6333. 4:02:49average copy column it automatically
  6334. 4:02:51transformed into this special syntax and
  6335. 4:02:55then add a closing parenthesis and press
  6336. 4:02:56enter and so now we have the max salary
  6337. 4:02:59which looking at this it's true but if
  6338. 4:03:01we go back into this and actually
  6339. 4:03:02inspect what values are available in
  6340. 4:03:05this function number we can see that
  6341. 4:03:08median is not available in here so what
  6342. 4:03:11are we going to do well there's another
  6343. 4:03:14function we're not going to use median
  6344. 4:03:16but that I recommend instead of using
  6345. 4:03:18sub total and for this one we're going
  6346. 4:03:20to use the aggregate function and this
  6347. 4:03:23returns an aggregate in a list or
  6348. 4:03:25database it's similarly designed where
  6349. 4:03:28it has a function number but with this
  6350. 4:03:30one we have a lot more options including
  6351. 4:03:34things like CTO and stuff like that
  6352. 4:03:35anyway it has median available as number
  6353. 4:03:3812 now the second parameter on options
  6354. 4:03:42allows us to select a host of options uh
  6355. 4:03:46no pun intended for allowing us how we
  6356. 4:03:48want to actually perform this aggregate
  6357. 4:03:50basically do we want to maybe ignore
  6358. 4:03:53hidden rows or do we want to ignore
  6359. 4:03:55error values in my case I don't really
  6360. 4:03:58want to ignore anything so I'm just
  6361. 4:03:59going to do number four and then finally
  6362. 4:04:02we need to insert the array or the
  6363. 4:04:03column itself in this case we want
  6364. 4:04:05salary year average closing the
  6365. 4:04:07parentheses on this and pressing enter
  6366. 4:04:09we get our median value of 94,000
  6367. 4:04:16now depending how fast your computer is
  6368. 4:04:18you're going to run into some
  6369. 4:04:19limitations here I have in the table
  6370. 4:04:22limits original tab which is the next
  6371. 4:04:24one we're going to be working with in
  6372. 4:04:25this uh portion of the lesson it has
  6373. 4:04:28around well 32,000 which is in the data
  6374. 4:04:30set anyway we're going to run into some
  6375. 4:04:33limitations as I'm going to show I'm
  6376. 4:04:34going to encourage you to just watch
  6377. 4:04:36along uh me do this and then from there
  6378. 4:04:39basically decide if you think you have a
  6379. 4:04:41strong enough computer or not to
  6380. 4:04:42continue on to do this
  6381. 4:04:44um but if you have a pretty uh basically
  6382. 4:04:46slow computer I wouldn't necessarily
  6383. 4:04:47follow along with this anyway I'm going
  6384. 4:04:49to convert this into table by selecting
  6385. 4:04:50any portion in here pressing contrl T it
  6386. 4:04:53selected all the different values and
  6387. 4:04:55that table has CS so now we've converted
  6388. 4:04:57this into a table and one of the
  6389. 4:04:59benefits we haven't really discussed yet
  6390. 4:05:01is the ability to actually filter data
  6391. 4:05:04because it automatically provides this
  6392. 4:05:05filter up at the top now I'm going to go
  6393. 4:05:08ahead and filter this down based on a
  6394. 4:05:10data analyst job title and when I go
  6395. 4:05:14through and actually select this to just
  6396. 4:05:15select it at analyst and press okay it
  6397. 4:05:18runs pretty quickly but I have run into
  6398. 4:05:22problems in the past especially working
  6399. 4:05:24with smaller computers where it takes a
  6400. 4:05:26while to do this I'm working with about
  6401. 4:05:2924 GB of RAM on this virtual machine so
  6402. 4:05:34if you're something at like8 or even 4
  6403. 4:05:37I'm going to highly recommend that you
  6404. 4:05:39may not perform this exercise
  6405. 4:05:44so moving to this last exercise of this
  6406. 4:05:46lesson I've gone ahead and condensed
  6407. 4:05:48down this data set you can go into
  6408. 4:05:50histogram original and our previous data
  6409. 4:05:53set I basically shorn it down to these
  6410. 4:05:55four columns and limited to only
  6411. 4:05:59positions that have a salary year
  6412. 4:06:02average value listed basically if
  6413. 4:06:04there's blanks I remove those rows so
  6414. 4:06:06it's about 208,000 rows anyway this is
  6415. 4:06:08what we're going to be manipulating for
  6416. 4:06:09this this shouldn't lock up your
  6417. 4:06:11computer if you have a basically a
  6418. 4:06:14computer with less RAM and we're going
  6419. 4:06:16to convert this into a table first
  6420. 4:06:18pressing control T I select all the
  6421. 4:06:20values on here and press okay so now we
  6422. 4:06:23have a title now also in this sheet you
  6423. 4:06:26may have noticed hopefully that it's
  6424. 4:06:27been on the screen I have this histogram
  6425. 4:06:29here which is basically aggregating the
  6426. 4:06:31data from this Delta column on salary
  6427. 4:06:33year average anyway we're going to be
  6428. 4:06:37manipulating this further we want to
  6429. 4:06:39basically make this into a dashboard so
  6430. 4:06:41we can go through and maybe filter for
  6431. 4:06:42different job title different job
  6432. 4:06:44schedule types or different job
  6433. 4:06:46countries and it can be mildly
  6434. 4:06:48inconvenient to come up here and
  6435. 4:06:50actually select this arrow and then go
  6436. 4:06:51through and select the values want
  6437. 4:06:53that's why slicers are great so with our
  6438. 4:06:56table selected I'm going to go into
  6439. 4:06:57table design and then from there under
  6440. 4:07:00Tools I'm going go to insert slicer
  6441. 4:07:03we're going to be entering in both a job
  6442. 4:07:04tile short job schedule type and a job
  6443. 4:07:07country slicer so all three are here now
  6444. 4:07:11I'm going to go ahead and position them
  6445. 4:07:12make them look a lot neater all right
  6446. 4:07:14got them cleaned up and then from there
  6447. 4:07:16I can go ahead and actually select the
  6448. 4:07:18slider sir and if you notice this slicer
  6449. 4:07:20tab pops up conveniently labeled this
  6450. 4:07:22slicer has a caption on it or a title as
  6451. 4:07:25well and I can just rename it basically
  6452. 4:07:27to a better visually appealing title in
  6453. 4:07:30this case I want it to call job title
  6454. 4:07:32and then it updates here for job title
  6455. 4:07:34I'm going to do the same for the other
  6456. 4:07:35two updating it to schedule type and
  6457. 4:07:38then also Country Now by default this
  6458. 4:07:41slicer and all the slicers have all the
  6459. 4:07:43value selected so if I wanted to to go
  6460. 4:07:45in to actually select a value I could do
  6461. 4:07:48something like well we want to look at
  6462. 4:07:49data analyst I just select data analyst
  6463. 4:07:51it's going to clear all those other ones
  6464. 4:07:53and then only select that analyst as you
  6465. 4:07:55notice it took a second for it to
  6466. 4:07:56actually load that's why with this
  6467. 4:07:5820,000 rows of data even that's a little
  6468. 4:08:00high for tables I recommend it around
  6469. 4:08:0210,000 if you're using tables anyway we
  6470. 4:08:05have it filtered down to data analyst I
  6471. 4:08:07could also do it down to
  6472. 4:08:09fulltime along with filtering it for U
  6473. 4:08:13basically
  6474. 4:08:14uh I want to do United States if you
  6475. 4:08:15notice these values are gray out that
  6476. 4:08:16means there's no country basically
  6477. 4:08:18available with the current selections
  6478. 4:08:19that I have of data analyst in full-time
  6479. 4:08:22so that's what that means there but I
  6480. 4:08:23can go into that for United States
  6481. 4:08:25selecting it and Bam we now have our
  6482. 4:08:29final basically visualization but what
  6483. 4:08:31happens if I want to maybe look at
  6484. 4:08:34multiple different values what if I
  6485. 4:08:36maybe want to look at both data analyst
  6486. 4:08:37and business analyst well in that case
  6487. 4:08:40you want to select this box up here and
  6488. 4:08:42it allows multi I select and so I enable
  6489. 4:08:45it and now I can go through and select
  6490. 4:08:46something like business analyst and this
  6491. 4:08:49provides both those values along with I
  6492. 4:08:51wanted to look at full-time and also
  6493. 4:08:52part-time I could enable the multi
  6494. 4:08:55select on this schedule type and select
  6495. 4:08:57part-time and Bam now we have multiple
  6496. 4:09:00values selected for this along with the
  6497. 4:09:02United States and this makes the
  6498. 4:09:04dashboards that you're building a lot
  6499. 4:09:05more interactive and a little bit fun to
  6500. 4:09:08play around and to visualize the
  6501. 4:09:09different data all right we have some
  6502. 4:09:11practice problems for you now to go
  6503. 4:09:13through and dive into not only creating
  6504. 4:09:15tables manipulating them but also adding
  6505. 4:09:18and playing with slicers as well with
  6506. 4:09:20that we'll see you in the next lesson
  6507. 4:09:21we're going to be jumping into
  6508. 4:09:23formatting specifically conditional
  6509. 4:09:25formatting so see you
  6510. 4:09:30there in this lesson we're going to be
  6511. 4:09:32focusing on formatting and not just self
  6512. 4:09:35formatting where we're going through and
  6513. 4:09:36adding borders and colors but also
  6514. 4:09:39conditional formatting where a cell's
  6515. 4:09:42basically formatting highlighting will
  6516. 4:09:44update dynamically based on a value in
  6517. 4:09:47the first example we're going to focus
  6518. 4:09:49on Cell formatting specifically we're
  6519. 4:09:51going to go back to that table that
  6520. 4:09:52we've worked with previously that does a
  6521. 4:09:55count of data science jobs over the
  6522. 4:09:57month anyway we're going to go through
  6523. 4:09:58and actually format it using all the
  6524. 4:10:00different functions we can in order to
  6525. 4:10:02make it look pretty like I made it from
  6526. 4:10:04there we're going to move into our first
  6527. 4:10:05conditional formatting example where
  6528. 4:10:07we're going to look at basically
  6529. 4:10:08highlighting based on a job title those
  6530. 4:10:11that are basically high and those that
  6531. 4:10:13are low highlighting them appropriately
  6532. 4:10:15green or red and then in our final
  6533. 4:10:17example we're going to move on besides
  6534. 4:10:18using color scales to also using things
  6535. 4:10:21like datab bars and also icon sets to
  6536. 4:10:24make it look a lot more Dynamic we're
  6537. 4:10:26also going to go over best practices on
  6538. 4:10:28what not to do cuz sometimes you can go
  6539. 4:10:30overboard in how much you're actually
  6540. 4:10:32coloring a table and you can make it a
  6541. 4:10:34little distracting and and ultimately
  6542. 4:10:36not meet your goal for this lesson we'll
  6543. 4:10:38be working with our formatting notebook
  6544. 4:10:41in chapter 4 as usual all the data is
  6545. 4:10:44located in the little data Tab and we'll
  6546. 4:10:46be starting with the underscore original
  6547. 4:10:49of each of these sheets and then it
  6548. 4:10:51we'll get to in this case format
  6549. 4:10:52original we'll have what it looks like
  6550. 4:10:54format
  6551. 4:10:57final for the cell formatting we're
  6552. 4:10:59going to be using this format original
  6553. 4:11:00sheet and we're going to be focused on
  6554. 4:11:02this Home tab here so I'm actually going
  6555. 4:11:04to leave it expanded and for this we're
  6556. 4:11:06going to make this to where well what
  6557. 4:11:09this table looks like by going through
  6558. 4:11:10and actually formatting using all the
  6559. 4:11:12different features in here so the first
  6560. 4:11:13thing we need to do is highlight it all
  6561. 4:11:15and actually remove the formatting so
  6562. 4:11:17with it all selected I can go to editing
  6563. 4:11:20and then clear and I can either clear
  6564. 4:11:22all which is what I don't want to do I
  6565. 4:11:23want to do clear format and Bam now we
  6566. 4:11:27have an ugly table that doesn't really
  6567. 4:11:29make a lot of sense now previously we
  6568. 4:11:31were mess with tables so I could
  6569. 4:11:32highlight from B3 to 010 and make this
  6570. 4:11:35into a table by coming up here to format
  6571. 4:11:38as table basically selecting the color
  6572. 4:11:40that I want saying that it has headers
  6573. 4:11:43and allowing it to update there's
  6574. 4:11:45definitely an option um but I'm not
  6575. 4:11:47necessarily a fan of this so I'm going
  6576. 4:11:49to clear this by pressing contrl Z Now
  6577. 4:11:51an underused feature of formatting is
  6578. 4:11:53this cell Styles tab right here so I'm
  6579. 4:11:56going to go ahead and select the months
  6580. 4:11:58up here basically the titles and for
  6581. 4:12:00cell Styles they actually have a lot of
  6582. 4:12:03pretty unique formatting you can see
  6583. 4:12:05happening in the background so I'm going
  6584. 4:12:07to try out in this case I'm going to try
  6585. 4:12:09out heading two which is pretty neat
  6586. 4:12:11because it makes it bold slight bigger
  6587. 4:12:13and it puts a little line underneath it
  6588. 4:12:16I could do something also where I
  6589. 4:12:17highlight all the rows over here and
  6590. 4:12:19then make this into maybe heading three
  6591. 4:12:22and then all these values in here are
  6592. 4:12:24calculations so technically I could just
  6593. 4:12:27highlight this all and for the cell
  6594. 4:12:29Styles I could come up to the top here
  6595. 4:12:31and select hey this is a calculation and
  6596. 4:12:34this not a bad looking table uh but not
  6597. 4:12:36necessarily all I want to do so I'm
  6598. 4:12:37going to just remove this all instead
  6599. 4:12:40I'm going to start with my months I'm
  6600. 4:12:41going to make them bold and also add a
  6601. 4:12:44light gray background I'm going to do
  6602. 4:12:46the same thing over here for the values
  6603. 4:12:48in my rows and then from here we're
  6604. 4:12:49going to get the actual column grid
  6605. 4:12:51lines put in I'm going to only select C3
  6606. 4:12:54all the way down to o10 I'm going to
  6607. 4:12:55show you why and I'm going to add an all
  6608. 4:12:59borders so this is NE it add it adds all
  6609. 4:13:01borders to it what I'm going to also add
  6610. 4:13:04this which will add a little bit of
  6611. 4:13:05flare to it is a thick outside border so
  6612. 4:13:08now we got a thick outside border around
  6613. 4:13:10all of this and I'm going to do the same
  6614. 4:13:13with this one of an all borders and then
  6615. 4:13:16a thick outside border now it did remove
  6616. 4:13:20that thick outside border that I had on
  6617. 4:13:21this line between B and C so I'm
  6618. 4:13:24actually going to go ahead and put that
  6619. 4:13:25back in by just clicking it next thing I
  6620. 4:13:27want to do is format these with a comma
  6621. 4:13:30so I'm going to come up here and well
  6622. 4:13:32add a comma and then unfortunately it
  6623. 4:13:35adds this space in here and makes this
  6624. 4:13:37table bigger than what you can see now
  6625. 4:13:39I'm going to first remove the decimal
  6626. 4:13:41places and then in order order to fix
  6627. 4:13:43this I'm going to highlight all the
  6628. 4:13:45different columns through here to
  6629. 4:13:46January and just double click on one of
  6630. 4:13:48them to make them slightly smaller
  6631. 4:13:51anyway it's still not fitting completely
  6632. 4:13:53on here and I want this to fit within
  6633. 4:13:55the view here so I'm just going to
  6634. 4:13:57select this all and I'm actually going
  6635. 4:13:59to make these values slightly smaller
  6636. 4:14:02and I'm not liking the positioning of
  6637. 4:14:04these it looks like it's lower now that
  6638. 4:14:06I made this smaller so I'm going to
  6639. 4:14:07actually Center this this do a middle
  6640. 4:14:09align basically move it up slightly all
  6641. 4:14:12right my OCD is no looking good all
  6642. 4:14:14right now this is looking good now the
  6643. 4:14:15last thing we want to do is add a title
  6644. 4:14:18to this basically describe what is this
  6645. 4:14:20table that we're looking at and I want
  6646. 4:14:22to insert this in up on the top row but
  6647. 4:14:25I basically want it centered over this
  6648. 4:14:26table so what I can do is highlight from
  6649. 4:14:28b11 and from there select up here for
  6650. 4:14:33merge and also I want to Center because
  6651. 4:14:35that's I want my text Center during this
  6652. 4:14:37and from there I put in hey this is the
  6653. 4:14:38data science job count tracker and for
  6654. 4:14:41the cell style I'll make this heading
  6655. 4:14:45one now let's get into conditionally
  6656. 4:14:48formatting this table and specifically I
  6657. 4:14:52want to say if I'm looking at data
  6658. 4:14:53analyst I want to be able to look across
  6659. 4:14:55here and see which ones are the highs
  6660. 4:14:57and the lows right now I have this grid
  6661. 4:14:58lines and I can see that based on the
  6662. 4:15:00green and red or the highs and lows but
  6663. 4:15:02I want to actually be able to see this
  6664. 4:15:03in this table right here and so
  6665. 4:15:04underneath the Home tab we have this
  6666. 4:15:06conditional formatting available we're
  6667. 4:15:09going to focus on these three right here
  6668. 4:15:10first and that is datab bars and you can
  6669. 4:15:13see if I put it in it's basically
  6670. 4:15:14looking like a you know like a bar chart
  6671. 4:15:17color scales allows us to do well
  6672. 4:15:19different color formatting with it and
  6673. 4:15:21then an icon set basically allows us to
  6674. 4:15:23put in a nice looking icon and we're
  6675. 4:15:25going to stick simple for now we're
  6676. 4:15:27going to do color scales right now I
  6677. 4:15:29have C4 through N4 selected I'm going to
  6678. 4:15:32go ahead and select this green to Red
  6679. 4:15:35which is not bad if we're looking this
  6680. 4:15:37right this is doing exactly what I want
  6681. 4:15:38I want August which is the highest to be
  6682. 4:15:40highlighted green to attract my eyes to
  6683. 4:15:42it and then I want the red to be
  6684. 4:15:43November and December cuz a Lis I want
  6685. 4:15:45to attract attention to it but we want
  6686. 4:15:46to highlight the entire table here so if
  6687. 4:15:50I were to actually select the entire
  6688. 4:15:52table if you will from C4 all the way
  6689. 4:15:54down to n10 go into conditional
  6690. 4:15:56formatting color scales and do the same
  6691. 4:15:59thing you're going to notice it
  6692. 4:16:01basically does these bands but it does
  6693. 4:16:04this entire
  6694. 4:16:06table all formatted together and this is
  6695. 4:16:09not what we necessarily want of course
  6696. 4:16:11the total road is going to be the
  6697. 4:16:13highest I want to look through that row
  6698. 4:16:15and actually see where I should be
  6699. 4:16:16actually looking so anytime we need a
  6700. 4:16:18clear mess with any rules we come into
  6701. 4:16:19conditional formatting and go to clear
  6702. 4:16:21rules you have clear from selected cells
  6703. 4:16:24or entire sheet we're just going to do
  6704. 4:16:27the entire sheet then we're going to go
  6705. 4:16:28back to where we were before of
  6706. 4:16:30selecting just the data analyst values
  6707. 4:16:32going into conditional formatting color
  6708. 4:16:34scales and I'm going to go to this green
  6709. 4:16:36white red I actually want to try to
  6710. 4:16:38limit as many colors as I do two is
  6711. 4:16:41enough so I'm going to go green white
  6712. 4:16:42red red and I really like this one
  6713. 4:16:44better now I don't need to necessarily
  6714. 4:16:46go through once again of selecting
  6715. 4:16:47senior data analyst doing this again
  6716. 4:16:49what I would do instead is I'm going to
  6717. 4:16:51select data analyst here and then come
  6718. 4:16:54into this home menu up here and you
  6719. 4:16:56notice this paintbrush this is a format
  6720. 4:16:59painter in the instructions it basically
  6721. 4:17:01says select the content with with the
  6722. 4:17:03format you like click format painter and
  6723. 4:17:05then select something else to
  6724. 4:17:06automatically apply the formatting so
  6725. 4:17:08from here I can just paint my formatting
  6726. 4:17:11on unfortunately this doesn't have a
  6727. 4:17:13shortcut so I have to go do go back up
  6728. 4:17:15every single time it removes their
  6729. 4:17:17marching ants reselect the format
  6730. 4:17:19painter and go through and select it but
  6731. 4:17:22now we have this formatted how I want it
  6732. 4:17:24where I can look at a certain Row in
  6733. 4:17:26this case I look at data analyst see
  6734. 4:17:28what some of the highest are and Senior
  6735. 4:17:29data Engineers I can see how they
  6736. 4:17:31contrast to the other job titles
  6737. 4:17:33additionally which going be jump into a
  6738. 4:17:34little bit more later is we can go into
  6739. 4:17:37manage rules and we can see the current
  6740. 4:17:40conditional formatting appli
  6741. 4:17:43right now I have show matting formatting
  6742. 4:17:45rules for current selection I'm selected
  6743. 4:17:46the top cell right up here so there's no
  6744. 4:17:49conditional formatting if I were to
  6745. 4:17:51change this to just this worksheet I can
  6746. 4:17:54then if I expand this down I can see how
  6747. 4:17:57this applies this this type of
  6748. 4:17:59formatting of the red white green
  6749. 4:18:01applies to each of the different cells
  6750. 4:18:03and if I needed to actually control what
  6751. 4:18:05cells are actually selected I could do
  6752. 4:18:08that I could have also gone through
  6753. 4:18:10instead of done that copy formatting and
  6754. 4:18:12pasting I could done a duplicate Rule
  6755. 4:18:14and modifying the code as well but I
  6756. 4:18:16decided to do my way instead anyway this
  6757. 4:18:18is where you need to go if anytime you
  6758. 4:18:20need a manage conditional formatting we
  6759. 4:18:22cck
  6760. 4:18:25okay let's crank this up a notch and get
  6761. 4:18:27into using some more advanced
  6762. 4:18:29functionality with conditional
  6763. 4:18:30formatting here we have a new table you
  6764. 4:18:32haven't seen before basically it has all
  6765. 4:18:34the different job titles the counts of
  6766. 4:18:36those jobs aggregated from our data
  6767. 4:18:38sheet the median salary what is their
  6768. 4:18:41work from home percentage or likelihood
  6769. 4:18:44based on the jobs and then finally I
  6770. 4:18:47have this job rank right here which
  6771. 4:18:49basically uses these cells that are
  6772. 4:18:51hidden right here that if we actually
  6773. 4:18:53expand it out goes through and
  6774. 4:18:56normalizes the values so in this case
  6775. 4:18:59the job count normalize it between zero
  6776. 4:19:01and one so this job count is 90 is the
  6777. 4:19:04highest so it gets a value of one where
  6778. 4:19:06it's the lowest gets a value of zero
  6779. 4:19:07anyway I did this for all the different
  6780. 4:19:09values and then from there provide a
  6781. 4:19:11certain waiting factor of like 0453 and
  6782. 4:19:140.15 in order to wait it appropriately
  6783. 4:19:17this is all my bias and how I wanted to
  6784. 4:19:19actually do it so feel free to adjust it
  6785. 4:19:21to what you want anyway we have this
  6786. 4:19:23final job rank in order to assess based
  6787. 4:19:26on these three values and this is
  6788. 4:19:28commonly done especially in like kpis
  6789. 4:19:30and stuff like that so we're going to be
  6790. 4:19:31making like icons for this column so
  6791. 4:19:33let's get into formatting our first
  6792. 4:19:35column we're going to do job count first
  6793. 4:19:37and for this one I want to have data bar
  6794. 4:19:40so I'm going to come down into condition
  6795. 4:19:42formatting into data bars and we'll add
  6796. 4:19:46these data bars right here I like the
  6797. 4:19:49bars in this case because we're dealing
  6798. 4:19:51with a count and we can really see
  6799. 4:19:53especially data analysts scientist
  6800. 4:19:55Engineers they really make up the
  6801. 4:19:56majority of the data here so it really
  6802. 4:19:58draws your attention to it next up is a
  6803. 4:20:01median salary we're going to do similar
  6804. 4:20:03to last time maintain a color scale
  6805. 4:20:06we're just going to do this first one
  6806. 4:20:07right here where green is the highest
  6807. 4:20:09salary and red is the lowest and then
  6808. 4:20:11one more we're going to do that work for
  6809. 4:20:12home we're also going to do it in a
  6810. 4:20:14color scale but for this one let's
  6811. 4:20:17actually do a different color go into
  6812. 4:20:19more rules and in this case we have this
  6813. 4:20:21new formatting rule window right here I
  6814. 4:20:24have two colors just say I want to do
  6815. 4:20:26one color I'm going to do white from the
  6816. 4:20:29lowest value and then we'll do like
  6817. 4:20:31purple for the highest value anyway this
  6818. 4:20:34is all basically to show a point this is
  6819. 4:20:37becoming
  6820. 4:20:38entirely entirely too much visually
  6821. 4:20:41distracting if you're if you were to
  6822. 4:20:43give this to somebody else or a
  6823. 4:20:44stakeholder where are they supposed to
  6824. 4:20:46look and actually organize their
  6825. 4:20:48thoughts on where they should
  6826. 4:20:50potentially pursue a job right now I'm
  6827. 4:20:52thoroughly confused at looking at this
  6828. 4:20:54so let's clean this up a bit and for
  6829. 4:20:57this I want to make it to where I like
  6830. 4:20:59maintaining a solid coloro across so
  6831. 4:21:02that way you know like hey if this color
  6832. 4:21:05is darker or there's more of this color
  6833. 4:21:07I should be looking there so in this
  6834. 4:21:09case we'll make this job count we're
  6835. 4:21:10going to just clean it up slight
  6836. 4:21:12slightly for the data bars B going to
  6837. 4:21:14make this like gradient appearance cuz
  6838. 4:21:17then I feel we can see the numbers
  6839. 4:21:18better and it's not too visually
  6840. 4:21:19distracting for the median salary I
  6841. 4:21:22really my goal of this is to find jobs
  6842. 4:21:25that are look say greater than 100,000
  6843. 4:21:27so let's actually just make highlighting
  6844. 4:21:29that highlights those jobs that are
  6845. 4:21:31greater than this value in this case I'm
  6846. 4:21:33going to come to conditional formatting
  6847. 4:21:35and enter a new rule this new formatting
  6848. 4:21:39rule popup comes up against once again
  6849. 4:21:41and we have a select a rule type this
  6850. 4:21:44allows us to do things like format all
  6851. 4:21:47cells based on the value format only top
  6852. 4:21:49or bottom rank values format only values
  6853. 4:21:51that are above or below average I
  6854. 4:21:54personally like this one of use a
  6855. 4:21:55formula to determine which cells to
  6856. 4:21:57format and in this case I want to say
  6857. 4:22:00I'm going to collect this formula thing
  6858. 4:22:02right here I want to look at you can
  6859. 4:22:04just select the first item in the item
  6860. 4:22:06selected so I'm select D3 it's going to
  6861. 4:22:09go through and actually do all of these
  6862. 4:22:10don't worry we'll see and for that we
  6863. 4:22:12want to highlight those that are greater
  6864. 4:22:14than
  6865. 4:22:15100,000 and press enter and then right
  6866. 4:22:18now it doesn't have any format set so
  6867. 4:22:20I'm going to change this to format and
  6868. 4:22:22we can control a whole host of things
  6869. 4:22:24such as the fill border font and the
  6870. 4:22:27number formatting itself but we're going
  6871. 4:22:29to stick with that blue theme I'm going
  6872. 4:22:31to just come down in here and I'm going
  6873. 4:22:33just select this blue color right here
  6874. 4:22:35and click okay and then okay again now
  6875. 4:22:38you notice my formatting is not
  6876. 4:22:40appearing that's because we have
  6877. 4:22:43multiple formatting applied to a cell
  6878. 4:22:45which you can do so in order to fix this
  6879. 4:22:47we need to come into manage rules and as
  6880. 4:22:51we see we have both of these applied to
  6881. 4:22:54it so I actually need to select this one
  6882. 4:22:55and I need to delete this Rule and click
  6883. 4:22:59apply and then okay now we're running
  6884. 4:23:02into our second issue and I slightly
  6885. 4:23:05misled you earlier when I said that D3
  6886. 4:23:07works if we go back into manage our
  6887. 4:23:10rules and we see our formula right here
  6888. 4:23:12I'm going to double click it we don't
  6889. 4:23:14need to actually provide an absolute
  6890. 4:23:16reference to a D3 because it's actually
  6891. 4:23:18going to evaluate all those cells based
  6892. 4:23:20on D3 instead we want it to be D3
  6893. 4:23:23without the dollar sign so it's not an
  6894. 4:23:24absolute reference and therefore
  6895. 4:23:26whenever I click okay and okay again bam
  6896. 4:23:30now it knows appropriately to check the
  6897. 4:23:33actual cell that it's looking at within
  6898. 4:23:36the range on whether to highlight it or
  6899. 4:23:38not moving on to the work from home
  6900. 4:23:40we're going to keep this similar in that
  6901. 4:23:42not going to be purple though we're
  6902. 4:23:44going to change this to Blue instead so
  6903. 4:23:46going into manage rules we have the
  6904. 4:23:49actual color right here selected I'm
  6905. 4:23:51going to just go in and change this to
  6906. 4:23:53this color that we used previously and
  6907. 4:23:55click okay and then okay as well so that
  6908. 4:23:58way it applies it all right the last
  6909. 4:24:00thing is this the job rank itself and
  6910. 4:24:03for this we're going to be using icon
  6911. 4:24:05set
  6912. 4:24:06specifically I like this one over here
  6913. 4:24:09on ratings but this becomes a little bit
  6914. 4:24:12over helming when where we have this
  6915. 4:24:13rating and also the number next to it so
  6916. 4:24:16we can actually remove this number in
  6917. 4:24:18the column we go back into manage rules
  6918. 4:24:22we can double click on that icon set
  6919. 4:24:24Rule and we can even further customize
  6920. 4:24:27when these stars are appearing but I'm
  6921. 4:24:29going to just go ahead and get to this
  6922. 4:24:31portion where it says show icon only
  6923. 4:24:33this allows us to only show the value so
  6924. 4:24:35going into applying this bam it's now
  6925. 4:24:38showing the icon I want that icon
  6926. 4:24:40centered both vertically and also
  6927. 4:24:43horizontally so bam now whenever I look
  6928. 4:24:45at this I can see especially since it's
  6929. 4:24:48all one color my eyes really gravitate
  6930. 4:24:51to well data scientists and data
  6931. 4:24:54Engineers based on this full star rating
  6932. 4:24:57and more of the blue being in this
  6933. 4:24:59region and that's what I would hope
  6934. 4:25:01people would go to or gravitate to as
  6935. 4:25:03well when they're looking at it one
  6936. 4:25:05quick note in this condition conditional
  6937. 4:25:06format we didn't cover this highlight
  6938. 4:25:08cell rules where you highlight greater
  6939. 4:25:10than or less than or you do a top uh
  6940. 4:25:12bottom rule where you can highlight the
  6941. 4:25:14top 10% or top 10 you can also adjust
  6942. 4:25:16that number anyway I find that myself
  6943. 4:25:19more using custom rules instead by
  6944. 4:25:22coming in here into new rule and then
  6945. 4:25:25actually fine-tuning what I want to do
  6946. 4:25:28so with the practice problems I'd really
  6947. 4:25:30dive into actually relying on using
  6948. 4:25:32these type of options instead and so as
  6949. 4:25:35I desly hinted to you have some practice
  6950. 4:25:38problems now to go through and really
  6951. 4:25:40practice how to do formatting and also
  6952. 4:25:42more specifically conditional formatting
  6953. 4:25:44in the next lesson we're going to be
  6954. 4:25:45move into collaboration and covering how
  6955. 4:25:48to actually protect your workbooks and
  6956. 4:25:50your worksheets so that way whenever you
  6957. 4:25:52share these with co-workers or friends
  6958. 4:25:55they don't go through and actually mess
  6959. 4:25:56them up all right with that I'll see you
  6960. 4:25:58in the next
  6961. 4:26:02one welcome to this last lesson in
  6962. 4:26:05spreadsheets advance for we jump into
  6963. 4:26:06our project and this lesson itself is on
  6964. 4:26:09collaboration which sounds sort of
  6965. 4:26:11cheesy but in order to demonstrate what
  6966. 4:26:13we're actually going to be learning in
  6967. 4:26:14this lesson we need to actually jump
  6968. 4:26:16fast forward a little bit and jump into
  6969. 4:26:18our project so I'm going to open up the
  6970. 4:26:20salary dashboard which is located under
  6971. 4:26:23project One dashboard so here's the
  6972. 4:26:25dashboard that we're going to build in
  6973. 4:26:27it they have three boxes that you can go
  6974. 4:26:30through and select this is going to be
  6975. 4:26:32using data validation which we're going
  6976. 4:26:34to be learning about in this lesson but
  6977. 4:26:36it allows you to basically standardize
  6978. 4:26:38the inputs that we want somebody to
  6979. 4:26:40actually select in in order to get the
  6980. 4:26:43results and it prevents them from
  6981. 4:26:44putting in values that maybe don't exist
  6982. 4:26:47and then breaking our dashboard so for
  6983. 4:26:49each of these job titles country and
  6984. 4:26:51types we have an Associated
  6985. 4:26:53visualization for each showing the
  6986. 4:26:55salary by job title the salary by region
  6987. 4:26:58and then also salary by job type finally
  6988. 4:27:01at the bottom I have some I call them
  6989. 4:27:03kpi cards basically outlining certain
  6990. 4:27:07characteristics or certain indications
  6991. 4:27:08of the median salary what is the top job
  6992. 4:27:11platform and then what what is a account
  6993. 4:27:13of jobs but I can come in here and
  6994. 4:27:15select something like maybe I wanted to
  6995. 4:27:16look at business analyst and it's going
  6996. 4:27:19to filter Down based on this telling me
  6997. 4:27:22what their median salary is that
  6998. 4:27:23LinkedIn is probably the best place to
  6999. 4:27:24go to for this what are the different
  7000. 4:27:26types of rollers availables and what's
  7001. 4:27:28available in the job database so the
  7002. 4:27:30other feature we're going to be going
  7003. 4:27:31through besides this data validation
  7004. 4:27:33process that we can do right here is
  7005. 4:27:35actually protecting your sheets which
  7006. 4:27:37you can find this here underneath review
  7007. 4:27:39under protect but anyway if you try to
  7008. 4:27:43move these cells around you're not able
  7009. 4:27:46to at all so we're going to be able to
  7010. 4:27:48design this dashboard in a way that
  7011. 4:27:51other co-workers won't be able to
  7012. 4:27:53destroy it additionally if you notice
  7013. 4:27:55down here at the bottom there's only one
  7014. 4:27:58sheet in here there's actually other
  7015. 4:28:00Sheets if I go to unhide here there's
  7016. 4:28:03other sheets I'll just unhide one of
  7017. 4:28:05them we'll just unhide data there's
  7018. 4:28:07other sheets inside of here but if
  7019. 4:28:09they're not applicable to my co-workers
  7020. 4:28:11or stakeholders I don't need to have
  7021. 4:28:12them so I can hide them so that's the
  7022. 4:28:15another feature we're go on over in
  7023. 4:28:19this all right nothing be yaen let's
  7024. 4:28:21actually get into this lesson for this
  7025. 4:28:22we're going to be using the
  7026. 4:28:23collaboration workbook in chapter 4 now
  7027. 4:28:27we're going to be building out these
  7028. 4:28:29three sheets as we go along and as a
  7029. 4:28:32sneak peek in this first example we're
  7030. 4:28:34going to be building out this little
  7031. 4:28:36portion right here this is going be
  7032. 4:28:37basically preparing us for our project
  7033. 4:28:39so a lot of this work is going to be put
  7034. 4:28:40to good use anyway we're going to be
  7035. 4:28:42building the simple one right here I'm
  7036. 4:28:44going zoom in where we have based on the
  7037. 4:28:46job title we can go through and select
  7038. 4:28:48it so senior. engineer it's going to pop
  7039. 4:28:50up with our median salary so that's what
  7040. 4:28:52we're going to be building with this and
  7041. 4:28:54specifically we're going to be using
  7042. 4:28:55this feature of data validation so I'm
  7043. 4:28:58going to create a new sheet to start
  7044. 4:28:59with because I don't want to start with
  7045. 4:29:01the answer right there I'm going just
  7046. 4:29:02call it calculator I'm going to put in
  7047. 4:29:05job title here and then median salary
  7048. 4:29:09below I'm also going to bold these by
  7049. 4:29:11pressing B and then these are where next
  7050. 4:29:14to it in column C is where we're
  7051. 4:29:15actually going to use the actual control
  7052. 4:29:17of this now we need to get a list of job
  7053. 4:29:20titles to put in this so I'm going to
  7054. 4:29:22create a new sheet and call it
  7055. 4:29:25validation and basically what I going to
  7056. 4:29:26do with this is create a sheet of all of
  7057. 4:29:31the different job titles available
  7058. 4:29:34specifically I'm going to say this is
  7059. 4:29:35going to be from the column job title
  7060. 4:29:38short and we're going to be using in
  7061. 4:29:39order to get the unique values of it
  7062. 4:29:41well the unique function we need to
  7063. 4:29:44provide it an array so I'm going come
  7064. 4:29:46back over here down to column A2 use
  7065. 4:29:49control shift select all the way down
  7066. 4:29:52close the parenthesis press enter okay
  7067. 4:29:55so now we have all of our different
  7068. 4:29:56values I'm going expand this out I'm
  7069. 4:29:58also going to zoom in a little bit now
  7070. 4:30:00whenever I do this drop- down menu I
  7071. 4:30:03want it in some sort of order
  7072. 4:30:05specifically I wanted in probably what
  7073. 4:30:06is the highest count value I wanted it
  7074. 4:30:09appearing at the top and those that are
  7075. 4:30:10less likely down at the bottom so what
  7076. 4:30:12I'm going to do is actually just copy
  7077. 4:30:13this value right here because this is
  7078. 4:30:14what we actually want to use what we
  7079. 4:30:16want to do is a count ifs we want to
  7080. 4:30:19count based on a condition for the
  7081. 4:30:21criteria range we're going to be
  7082. 4:30:23providing that job title short column
  7083. 4:30:26from our table and then for the criteria
  7084. 4:30:29we're going to be selecting right next
  7085. 4:30:30to it A2 B there we'll just autofill it
  7086. 4:30:33all the way down and then finally we
  7087. 4:30:36want to now sort it by this so I'll use
  7088. 4:30:37job title short sorted from there we'll
  7089. 4:30:41use the sort function to then sort this
  7090. 4:30:45by the second column position in
  7091. 4:30:48descending order so bam this is more
  7092. 4:30:51like I want I want those data analysts
  7093. 4:30:53that scientist engineers at the top and
  7094. 4:30:55the senior roles and so on cloud
  7095. 4:30:56Engineers car Bel so we now have this
  7096. 4:30:59list available that we want to use for
  7097. 4:31:01data validation we speak of I'm going to
  7098. 4:31:03go back to the calculator tab that I
  7099. 4:31:05made and for this we're going to go to
  7100. 4:31:07the data tab specifically under data
  7101. 4:31:10tools they have this this selection
  7102. 4:31:12available where where data validation
  7103. 4:31:15actually is and now this is going to
  7104. 4:31:18allow us to well customize it right now
  7105. 4:31:21the data validation for this cell is any
  7106. 4:31:25value I can place any value into it I
  7107. 4:31:27could limit it to a whole number I could
  7108. 4:31:30limit it to decimals a list a date a
  7109. 4:31:32time a bunch of things we're going to
  7110. 4:31:34limit it to basically a list of values
  7111. 4:31:38and we need to basically so provide a
  7112. 4:31:40source for this so for the source we're
  7113. 4:31:43going to go in and select the validation
  7114. 4:31:46tab that we just made and I'm going to
  7115. 4:31:48select all the different jobs right here
  7116. 4:31:50and then press enter from here I'm going
  7117. 4:31:52to accept this and press okay now as you
  7118. 4:31:56can see we have this little drop down
  7119. 4:31:58right next to it and I have different
  7120. 4:32:01selections actually available of data
  7121. 4:32:03engineer if I were to go into here
  7122. 4:32:05because I have this uh set to data
  7123. 4:32:07validation if I was going to put in
  7124. 4:32:09something like data nerd which isn't
  7125. 4:32:11available and press enter it says this
  7126. 4:32:13value doesn't match the data validation
  7127. 4:32:15uh restriction defined for this cell
  7128. 4:32:17therefore I have to go in and retry so
  7129. 4:32:18so only values within there are going to
  7130. 4:32:20be able to work in this so now let's
  7131. 4:32:22actually get into calculating that
  7132. 4:32:24median salary and for this we're going
  7133. 4:32:27to create a new sheet similar to this
  7134. 4:32:28median salary sheet we're going to call
  7135. 4:32:30this one salary wrong spot need to
  7136. 4:32:32actually enter it down here and call
  7137. 4:32:34this one salary throw this all the way
  7138. 4:32:36over first I need the names of job title
  7139. 4:32:40short and all that kind of good stuff so
  7140. 4:32:42what I'll do is I'll come over to our
  7141. 4:32:43validation Tab and I've selected equal
  7142. 4:32:46to already I'm going to select these
  7143. 4:32:48cells right here press enter so now
  7144. 4:32:50they're all appearing here now I'm going
  7145. 4:32:53to calculate the median salary for all
  7146. 4:32:56these jobs I know our calculator or
  7147. 4:32:59dashboard has uh only one value that is
  7148. 4:33:02calculating a time but in our dashboard
  7149. 4:33:05we're going to build we're actually
  7150. 4:33:06going to build a graph with all these
  7151. 4:33:07median salaries so we just need to
  7152. 4:33:09calculate them now all the median
  7153. 4:33:11salaries and then basically calculate
  7154. 4:33:13using data validation and also an X look
  7155. 4:33:16up what the median salary is going to be
  7156. 4:33:18here so for this we're going to be using
  7157. 4:33:21the median function and specifically
  7158. 4:33:23we're going to be using that if inside
  7159. 4:33:24of it because median if isn't available
  7160. 4:33:27we first want to check does the job
  7161. 4:33:29title here of data analyst meet our
  7162. 4:33:32condition of the job title short so I'm
  7163. 4:33:34going to type in the table itself of
  7164. 4:33:37jobs and then the column of job title
  7165. 4:33:41short close bracket and set an equal
  7166. 4:33:44sign equal to A2 then I'm going to close
  7167. 4:33:48the parentheses on this and actually we
  7168. 4:33:49need to wrap all this in parentheses
  7169. 4:33:51because we have to do multiple different
  7170. 4:33:53conditions we're going to do some array
  7171. 4:33:55multiplication the other thing we have
  7172. 4:33:56to check is that the values are not
  7173. 4:33:59blank or not equal to zero so once again
  7174. 4:34:02I'll put in jobs again and we're going
  7175. 4:34:04to be using that salary year average
  7176. 4:34:07column and we want to make sure that it
  7177. 4:34:09doesn't equal to zero and so that's the
  7178. 4:34:12condition we're checking for and so now
  7179. 4:34:15what do we want to return if true well
  7180. 4:34:16we want to return the salary so we'll do
  7181. 4:34:19jobs and then salary year average I'll
  7182. 4:34:23then close the brackets on that then we
  7183. 4:34:25need to close one parentheses I can see
  7184. 4:34:27a red parentheses still and then a final
  7185. 4:34:29black parentheses NOS I'm good press
  7186. 4:34:31enter looks like I got it right on the
  7187. 4:34:33first try let's actually drag this down
  7188. 4:34:36boom this is pretty nice so now we have
  7189. 4:34:38all the median salaries for these
  7190. 4:34:40different job titles I'm also going to
  7191. 4:34:42take this a step further of actually
  7192. 4:34:43sorting this by the med CER because I
  7193. 4:34:44know I'm going to be actually
  7194. 4:34:45visualizing this in the Project's lesson
  7195. 4:34:48so we'll go ahead and sort this as well
  7196. 4:34:51sorting it on the second index in
  7197. 4:34:53descending order so now we need to
  7198. 4:34:56provide the value in this case data
  7199. 4:34:57Engineers there is selected we need to
  7200. 4:35:00provide based on this value the median
  7201. 4:35:03salary and I want to just calculate it
  7202. 4:35:05over here just in case I need to go back
  7203. 4:35:07to it so for this I want basically
  7204. 4:35:10125,000 to here right here in G2 so I'm
  7205. 4:35:14going to provide an X lookup and the
  7206. 4:35:17first thing is this lookup value right
  7207. 4:35:19we're going to look up the data engineer
  7208. 4:35:22in this now I'm not going to use a cell
  7209. 4:35:25reference of going over here of
  7210. 4:35:28selecting this cell of data engineer
  7211. 4:35:30which is calculator C2 I'm actually
  7212. 4:35:32going to escape out of this we're going
  7213. 4:35:34to stop this right here I want to go
  7214. 4:35:36back to this I actually instead because
  7215. 4:35:38I'm going to be referencing these cells
  7216. 4:35:40specifically well this what s right here
  7217. 4:35:43a lot I'm going to just rename this from
  7218. 4:35:47C2 to title so right now I can see that
  7219. 4:35:50it is named title so going back over to
  7220. 4:35:54that salary tab again now we can perform
  7221. 4:35:57our X lookup and for the lookup value
  7222. 4:36:00we're trying to look up the title for
  7223. 4:36:03the lookup array we're looking up
  7224. 4:36:04through this job titles right here and
  7225. 4:36:06then for a return array the actual
  7226. 4:36:08salary values so now we're getting that
  7227. 4:36:11data engineer value of
  7228. 4:36:13125,000 similarly I also want to name
  7229. 4:36:16this cell as well I'm going to name this
  7230. 4:36:18one median salary pressing enter boom
  7231. 4:36:22locks it in so now when I come back over
  7232. 4:36:24to my calculator tab I can just put in
  7233. 4:36:27here equal to median salary I'm also
  7234. 4:36:31going to go through and format this to
  7235. 4:36:33make this look
  7236. 4:36:37better so just playing around with this
  7237. 4:36:39I can see that I can put in something
  7238. 4:36:41like senior data analyst and then a job
  7239. 4:36:43the associated Med and seller is going
  7240. 4:36:45to come up with it but let's say now I
  7241. 4:36:46want to give this to a coworker right
  7242. 4:36:49how can I prevent them from going in and
  7243. 4:36:51potentially you know entering in this
  7244. 4:36:53cell and then breaking it well we can
  7245. 4:36:56come up here to review and in this case
  7246. 4:36:59we're going to select this of protect
  7247. 4:37:01sheet now the first thing you can do you
  7248. 4:37:03can set a password to unprotect sheet
  7249. 4:37:06I'm not going to put a password but say
  7250. 4:37:07you wanted to put one you could and then
  7251. 4:37:09we have these options for for what you
  7252. 4:37:12can actually protect whether that's
  7253. 4:37:13select lock cells or select unlock cells
  7254. 4:37:16to protect we're just going to leave
  7255. 4:37:17both of these checked for the time being
  7256. 4:37:19click okay and now while one we can see
  7257. 4:37:23that underneath protect here it now says
  7258. 4:37:25instead of protect sheet it says
  7259. 4:37:26unprotect sheet whenever I go through
  7260. 4:37:28this and say I want to change it any
  7261. 4:37:30value whatsoever I can't change it so
  7262. 4:37:33it's good because the numbers can't
  7263. 4:37:35change or the median tile can't change
  7264. 4:37:37but now I can't change B job title which
  7265. 4:37:40is a little bit of a pain so
  7266. 4:37:41unfortunately Excel doesn't necessarily
  7267. 4:37:44make this the easiest I'm going to start
  7268. 4:37:46over again and just click unprotect
  7269. 4:37:48sheet and what we want to do is we're
  7270. 4:37:51going to select all the cells in here so
  7271. 4:37:54with all the cells selected I'm going to
  7272. 4:37:55press control and unselect C2 then right
  7273. 4:38:00clicking it I'm going to go into format
  7274. 4:38:03cells now under this protection tab
  7275. 4:38:07right here we're going to notice we have
  7276. 4:38:09options for locked and hidden we want to
  7277. 4:38:11actually be able to lock all the cells
  7278. 4:38:15except for C2 we don't want to hide any
  7279. 4:38:17so we're not going to adjust that right
  7280. 4:38:18now but now we're going to have the
  7281. 4:38:20ability to adjust whether it's locked or
  7282. 4:38:22not this doesn't actually change
  7283. 4:38:24anything right now so if I go into here
  7284. 4:38:26yes I locked those certain cells but if
  7285. 4:38:28I were to type into here it's still
  7286. 4:38:29going to allow it to be changed so now
  7287. 4:38:33what I can do is go into protect sheet
  7288. 4:38:35and previously we had both of these
  7289. 4:38:36selected of Select lock cells and select
  7290. 4:38:38unlock cells and in this case because we
  7291. 4:38:42locked all the cells except for C2 we
  7292. 4:38:45only want to allow people to select the
  7293. 4:38:47unlocked cell of C2 so I'm going to
  7294. 4:38:50uncheck this click okay and now I can't
  7295. 4:38:54click anywhere else except for where
  7296. 4:38:57I've set up that data validation in this
  7297. 4:38:59cell and I can still change it and it
  7298. 4:39:01will manipulate the value now we could
  7299. 4:39:03also go through and protect the workbook
  7300. 4:39:05itself I don't necessarily manipulate
  7301. 4:39:08with this as much instead what would I
  7302. 4:39:10would want to do in in this case is
  7303. 4:39:12actually hide all these other sheets
  7304. 4:39:15with the exception of this calculator
  7305. 4:39:17and so I can do this by right clicking a
  7306. 4:39:20tab and selecting hide so I'm going to
  7307. 4:39:22go through and actually hide all of them
  7308. 4:39:24so now we have everything as shown by
  7309. 4:39:25this tab down here of calculator we have
  7310. 4:39:28every tab hidden except for that and if
  7311. 4:39:30I wanted it to
  7312. 4:39:32reappear or get a sheet to reappear I
  7313. 4:39:34would just right click it click unhide
  7314. 4:39:36and then it's going to allow me to
  7315. 4:39:37select which option I can unhide and and
  7316. 4:39:41if I do want to make it to where a user
  7317. 4:39:43can't go in and necessarily unhide
  7318. 4:39:45sheets well I can go in here and select
  7319. 4:39:48protect workbook once again I can enter
  7320. 4:39:51a password if I wanted to I'm going to
  7321. 4:39:53just set this up but now when I come
  7322. 4:39:55down here to rightclick it there's no
  7323. 4:39:57option to hide or unhide a sheet so the
  7324. 4:40:01entire workbook is now protected so I'm
  7325. 4:40:04not going to lie that was definitely an
  7326. 4:40:06advanced intro into Data validation and
  7327. 4:40:08also protecting your workbooks but I
  7328. 4:40:10promise it's going to just come into
  7329. 4:40:11great use for whenever we're building
  7330. 4:40:13this project which will we get to next
  7331. 4:40:15now we do have some practice problems
  7332. 4:40:17for you go through and just test out all
  7333. 4:40:18these different features and with that
  7334. 4:40:20we'll be jumping in the next lesson and
  7335. 4:40:23actually building this data science
  7336. 4:40:25salary dashboard with that I'll see you
  7337. 4:40:27in that
  7338. 4:40:31one all right let's now dive in and
  7339. 4:40:34build our first project with Excel which
  7340. 4:40:37is this data science salary dashboard
  7341. 4:40:40this project is going to combine
  7342. 4:40:42everything that we've used and learned
  7343. 4:40:44up to this point from formulas and
  7344. 4:40:46functions to charts and then even to
  7345. 4:40:48data validation we're going to start
  7346. 4:40:50first by looking at the dashboard itself
  7347. 4:40:53you can just go to the project One
  7348. 4:40:54dashboard folder and Open salary
  7349. 4:40:57dashboard workbook now in this right now
  7350. 4:40:59you're only going to see one sheet and
  7351. 4:41:01as you try to click around you're not
  7352. 4:41:03going be able to do anything so as a
  7353. 4:41:04refresher if you want to actually dive
  7354. 4:41:07in and see what's going on behind the
  7355. 4:41:09scenes you'll need to First if you want
  7356. 4:41:11to actually touch any of these points
  7357. 4:41:13actually go into the review Tab and
  7358. 4:41:16click unprotect sheet then you'll be
  7359. 4:41:18able to investigate how I name certain
  7360. 4:41:20cells and whatnot additionally if you
  7361. 4:41:23want to investigate any of the workbooks
  7362. 4:41:25that I worked on you'll need to go into
  7363. 4:41:27unhide and select the appropriate
  7364. 4:41:30workbook that you want to well unhide so
  7365. 4:41:33for this we're going to be building it
  7366. 4:41:34out section by section specifically
  7367. 4:41:36we're going to start up at the top
  7368. 4:41:37building these data validation drop-down
  7369. 4:41:39menus then from from there we'll go into
  7370. 4:41:43building the different graphs associated
  7371. 4:41:45with it and then finally we'll end up
  7372. 4:41:47with these kpi cards now powering each
  7373. 4:41:50one of these major topics I've built
  7374. 4:41:53individual seats so for things like jobs
  7375. 4:41:56I have all the jobs along with any key
  7376. 4:41:59information to then build the
  7377. 4:42:01visualizations in it so here is the
  7378. 4:42:03basically the table that I made in order
  7379. 4:42:05to show the graphic right here similarly
  7380. 4:42:09for Country I have all the different
  7381. 4:42:10countries and then they're Associated
  7382. 4:42:12Med and salaries and I use that to not
  7383. 4:42:14only make the drop down but also make
  7384. 4:42:16the graph same thing for type and then
  7385. 4:42:18finally for platform anyway that's just
  7386. 4:42:21a quick overview to make sure that
  7387. 4:42:23you're under familiar with how we're
  7388. 4:42:24going to be working through this but
  7389. 4:42:25let's actually dive into
  7390. 4:42:29it for this I recommend picking up where
  7391. 4:42:32we left off in the last lesson on
  7392. 4:42:35collaboration did a lot of work for that
  7393. 4:42:37so we're going to use this workbook
  7394. 4:42:39first thing I'm going to do once this is
  7395. 4:42:40open I'm going to go in and actually
  7396. 4:42:42save it as this final dashboard and I
  7397. 4:42:44recommend that during this you're saving
  7398. 4:42:45this pretty frequently so we don't lose
  7399. 4:42:47progress first thing I'm going to do is
  7400. 4:42:48start moving this around I basically
  7401. 4:42:51know where I want to get these different
  7402. 4:42:52titles of these drop downs and then
  7403. 4:42:54where I want to put the drop downs we're
  7404. 4:42:56not going to be using meeting salary for
  7405. 4:42:57a little bit so I'm just going to take
  7406. 4:42:59that control xit and place it down at
  7407. 4:43:01the bottom then take the job title put
  7408. 4:43:04it in C3 and then move the data
  7409. 4:43:06validation to right below that we'll fix
  7410. 4:43:10all the format add in when we get later
  7411. 4:43:12on it okay so we have the job title now
  7412. 4:43:14the next thing we need to jump into is
  7413. 4:43:16country and we'll be putting that right
  7414. 4:43:18under this portion right here for this
  7415. 4:43:21I'm going to create a new sheet and call
  7416. 4:43:23this country with all these sheets I
  7417. 4:43:25want to have them pretty much similar to
  7418. 4:43:28what the title is above it so in this
  7419. 4:43:32case here where we had median salary
  7420. 4:43:34it's actually the titles um you have
  7421. 4:43:38named it in the previous one salary so
  7422. 4:43:40let's go ahead and just name this title
  7423. 4:43:43anyway going back to that country tab
  7424. 4:43:45that's where similar to the title tab if
  7425. 4:43:47you see we first grab the names of the
  7426. 4:43:50job titles from there and then calculate
  7427. 4:43:52the median salaries for each we're going
  7428. 4:43:54to be doing something similar in the
  7429. 4:43:56country tab with first putting in the
  7430. 4:43:59country names and then from there
  7431. 4:44:01putting in that median salary but I want
  7432. 4:44:04to keep a similar format as in this
  7433. 4:44:06title case remember we actually pulled
  7434. 4:44:09this from the data valid ation tab which
  7435. 4:44:12we're pulling here so I want to keep
  7436. 4:44:14this consistent anytime we're creating
  7437. 4:44:17anything for those drop downs we're
  7438. 4:44:19going to make it here in this data
  7439. 4:44:20validation tab so I'm going to create a
  7440. 4:44:22column here called job country and then
  7441. 4:44:25in this I want to get the unique values
  7442. 4:44:28from our data set specifically that jobs
  7443. 4:44:31table it's still named that jobs table
  7444. 4:44:33and of that column job country go ahead
  7445. 4:44:38and close the brackets and then close
  7446. 4:44:40parentheses and now we have all of these
  7447. 4:44:42different countries not sure why but
  7448. 4:44:43this is bolded I'm going to go ahead and
  7449. 4:44:44remove that anyway I want this in a
  7450. 4:44:46sorted format I'm not going to
  7451. 4:44:48necessarily sort it like count like we
  7452. 4:44:50did here with the job tiles I'm just
  7453. 4:44:52going to sort it in alphabetical order
  7454. 4:44:54so I'm going to use the sort function
  7455. 4:44:57and I'm just going to identify that we
  7456. 4:44:59wanted to use
  7457. 4:45:00G2 hashtag and Bam now we have all of
  7458. 4:45:04this also name this appropriately of job
  7459. 4:45:07country sorted so now we have our list
  7460. 4:45:11we can go back into here and actually
  7461. 4:45:14put in the country for the data
  7462. 4:45:17validation portion we do that by going
  7463. 4:45:19to the data tab selecting data
  7464. 4:45:22validation and the values we want to
  7465. 4:45:25provide a list to this and for the
  7466. 4:45:27source we go back to that data Val
  7467. 4:45:29station tab close this out and we
  7468. 4:45:32basically want to select all these
  7469. 4:45:33values here so I'll just do control
  7470. 4:45:35shift down pressing enter we now have
  7471. 4:45:38everything all the criteria for this I'm
  7472. 4:45:40going to go and click okay and I get
  7473. 4:45:42this error message and there's a problem
  7474. 4:45:43with this formula for some reason I
  7475. 4:45:45guess when I move back it added this
  7476. 4:45:47extra sheet in here I'm not too sure
  7477. 4:45:50this extra data I can't even select in
  7478. 4:45:52here anyway just make sure it's only one
  7479. 4:45:54sheet there it's going to work fine
  7480. 4:45:56country is now in here I can s something
  7481. 4:45:58like Argentina next value that we're
  7482. 4:46:00going to be looking at is the job type
  7483. 4:46:03so part-time full-time whatnot with this
  7484. 4:46:05although we're not going to use it yet
  7485. 4:46:06I'm going to create a new sheet and call
  7486. 4:46:08it type and also move that to the end
  7487. 4:46:12but now we want to get the unique values
  7488. 4:46:14of job schedule type so I'm put in the
  7489. 4:46:16column here of job schedule type and
  7490. 4:46:20then from there we want to get the once
  7491. 4:46:22again unique values for this we're using
  7492. 4:46:24the jobs table specifically that job
  7493. 4:46:27schedule type column and Bam now you
  7494. 4:46:30will notice from this one this one it's
  7495. 4:46:33a little bit this needs some data clean
  7496. 4:46:34up with it there's a lot of values in
  7497. 4:46:37here like it sometimes it has combined
  7498. 4:46:39values like full-time part-time and
  7499. 4:46:40internship and and whatnot we really I'm
  7500. 4:46:43actually going to expand this colum out
  7501. 4:46:44we really just want the single values
  7502. 4:46:46from this so something like fulltime
  7503. 4:46:49contractor part-time internship and then
  7504. 4:46:52also temp work so the first thing I'm
  7505. 4:46:54noticing about the thing ones we want to
  7506. 4:46:56remove is that they contain the word and
  7507. 4:46:59so we'll first identify those that con
  7508. 4:47:01turn and we do this using the search
  7509. 4:47:04function which is a text function to
  7510. 4:47:06find text specifically we're looking for
  7511. 4:47:08that keyword of and with intext we want
  7512. 4:47:11to just look through the whole array so
  7513. 4:47:13we'll put in J2
  7514. 4:47:15hashtag and I got a little error message
  7515. 4:47:18I need to make sure I use double quotes
  7516. 4:47:19for the text itself and running this now
  7517. 4:47:22I have basically number values for where
  7518. 4:47:27the and is located at and it looks like
  7519. 4:47:30yeah it looks like we're good on
  7520. 4:47:31everything with the exception of the
  7521. 4:47:33zero which we'll get in a little bit
  7522. 4:47:34okay so we need to convert this into
  7523. 4:47:36basically Boolean values because we're
  7524. 4:47:38going to end end up using this to to
  7525. 4:47:41pull out that we want using a filter
  7526. 4:47:43function so we're going to wrap this in
  7527. 4:47:46the is number and we're going to get
  7528. 4:47:49false or true and whatnot anyway all
  7529. 4:47:52right so now we have false or true the
  7530. 4:47:53last thing we need to do is use well not
  7531. 4:47:56the last thing second last thing we're
  7532. 4:47:57going to use the filter function and in
  7533. 4:48:00this we provided the array so in this
  7534. 4:48:03case it's going to be J2 hashtag and
  7535. 4:48:07then for what we want to include is this
  7536. 4:48:10other array that we just did so I'm
  7537. 4:48:12going go ahead and close this and see
  7538. 4:48:14what we get returned back and we're
  7539. 4:48:16returning now only the values that have
  7540. 4:48:20and in it we actually wanted to do
  7541. 4:48:22opposite of that right we want the
  7542. 4:48:24values that don't have an and so in
  7543. 4:48:26order to do that we're going to fix this
  7544. 4:48:27entire statement right here for the
  7545. 4:48:30include portion we're going to wrap it
  7546. 4:48:32in a giant knot to turn everything
  7547. 4:48:35around add an extra parenthesis on the
  7548. 4:48:37end bam now we have full-time contractor
  7549. 4:48:40part time we got the zero in there
  7550. 4:48:42internship and temp work we just need to
  7551. 4:48:44remove this zero out of it so we just
  7552. 4:48:47need to modify once again this right
  7553. 4:48:50here this portion of this include we're
  7554. 4:48:53going to do some array multiplication
  7555. 4:48:55basically once again looking through and
  7556. 4:48:57making sure no values equal to zero so
  7557. 4:49:00I'm going to do a multiplication do an
  7558. 4:49:03opening closing parenthesis and
  7559. 4:49:05basically we're just checking whether J2
  7560. 4:49:08hashtag is not equ equal to Zer let's go
  7561. 4:49:12ahead and enter this boom now we have it
  7562. 4:49:15down to the values that we want for this
  7563. 4:49:19I'm going to name this appropriately job
  7564. 4:49:22schedule type sorted also for some
  7565. 4:49:26reason this is in this column we're
  7566. 4:49:29going to move it over looks like we're
  7567. 4:49:30buing one spacing anyway now we need to
  7568. 4:49:33go back to our basic calculator Tab and
  7569. 4:49:36we need to enter data validation in this
  7570. 4:49:39portion to make sure can select the
  7571. 4:49:41right type so going select data
  7572. 4:49:43validation once again allow values of
  7573. 4:49:46list and then for the actual Source
  7574. 4:49:48itself we'll go to that data validation
  7575. 4:49:50tab select all these values in here
  7576. 4:49:53press enter and enter okay so now we
  7577. 4:49:57have the type in here so all of our data
  7578. 4:50:00validation portions are now
  7579. 4:50:05built next thing up is moving into
  7580. 4:50:08building the three different charts here
  7581. 4:50:10we're actually going to start with the
  7582. 4:50:11country chart because it's the easiest
  7583. 4:50:14and a sneak peek of what data is
  7584. 4:50:16actually needed for this I can go to the
  7585. 4:50:18country tab inside my final salary
  7586. 4:50:20dashboard and all we really need to do
  7587. 4:50:22is for each country calculate the median
  7588. 4:50:24salary and then throw it into a map
  7589. 4:50:26graph so back to our Excel worksheet
  7590. 4:50:28first thing we need to do is get those
  7591. 4:50:30list of countries and remember we
  7592. 4:50:31already have that so I'm put equal sign
  7593. 4:50:34it's inside of our data validation here
  7594. 4:50:36with these sorted values I want all
  7595. 4:50:40these values here here so I'm going to
  7596. 4:50:40do H2 hashtag press enter we have all
  7597. 4:50:44them all so let's actually start
  7598. 4:50:46developing the formula for building this
  7599. 4:50:49out using only we're just going to
  7600. 4:50:51calculate first the median salary for
  7601. 4:50:54that country and then also remember in
  7602. 4:50:56the past we've have to filter out any
  7603. 4:50:58values that basically equal zero so for
  7604. 4:51:00that if condition for The Logical test
  7605. 4:51:03we're going to do we're going to have to
  7606. 4:51:04do array multiplication and for our
  7607. 4:51:07first array we're going to be checking
  7608. 4:51:08for the job country right so we do that
  7609. 4:51:11jobs table and specifically that job
  7610. 4:51:15country column and we want to make sure
  7611. 4:51:18that it's equal to basically A2 in this
  7612. 4:51:21case the country right next to it
  7613. 4:51:23additionally we want to check that
  7614. 4:51:24there's 9 zero vales and so we're going
  7615. 4:51:26to be checking the salary year average
  7616. 4:51:27column and making sure that it's not
  7617. 4:51:29equal to zero so now moving on to the
  7618. 4:51:32value if true we basically want to use
  7619. 4:51:35the salary year average column value
  7620. 4:51:37false not applicable here go ahead and
  7621. 4:51:39close this looks like we have a typo it
  7622. 4:51:42went ahead and added that extra
  7623. 4:51:44parenthesis and we have a median salary
  7624. 4:51:46now and go ahead and copy that all the
  7625. 4:51:47way down now this is great but remember
  7626. 4:51:51in our if I go here back to to the basic
  7627. 4:51:54calculator tab we also want to not only
  7628. 4:51:56filter for a specific country but also
  7629. 4:52:00we're going to need to filter for a job
  7630. 4:52:03title and also for a job type so we need
  7631. 4:52:07to include not necessarily the country
  7632. 4:52:09because we're doing it for each country
  7633. 4:52:10but we need to include the job title and
  7634. 4:52:13the type now in order to add that this
  7635. 4:52:15formula is going to get a lot longer and
  7636. 4:52:17it's now getting hard to read so I want
  7637. 4:52:20to actually I want to one I want to
  7638. 4:52:21operate in this formula bar if you press
  7639. 4:52:23control shift U it expands it out and
  7640. 4:52:26then from there you can actually change
  7641. 4:52:28it to the desired length that you want
  7642. 4:52:30so what I'm going to do now is actually
  7643. 4:52:32break this into new lines I can press on
  7644. 4:52:35a Mac you're going to press Alt Enter on
  7645. 4:52:40the Mac I'm pressing option return
  7646. 4:52:43anyway I've went ahead broken this into
  7647. 4:52:44different lines I've also inserted some
  7648. 4:52:47spaces in there to basically put in some
  7649. 4:52:49indentation so I can read it better
  7650. 4:52:50don't have to necessarily do that but
  7651. 4:52:52now I feel like this is much readable
  7652. 4:52:54for my eyes go ahead and execute this
  7653. 4:52:57and Bam we have all the results and if I
  7654. 4:52:59do a drag and drop all the way down all
  7655. 4:53:02the other ones are updated as well so
  7656. 4:53:04the first thing we need to add to this
  7657. 4:53:05is to check for the job title itself so
  7658. 4:53:09I'm going put a multiplication there go
  7659. 4:53:12to the next line pressing Alt Enter and
  7660. 4:53:15for this I want to check jobs
  7661. 4:53:18specifically I want to check that job
  7662. 4:53:20title short column and whether it's
  7663. 4:53:23equal to basically title remember we
  7664. 4:53:26created title so I'm going go ahead and
  7665. 4:53:29press enter and it looks like we have a
  7666. 4:53:32typo because I forgot to insert a
  7667. 4:53:35parentheses at the end press enter looks
  7668. 4:53:38like I misspelled the actual table at
  7669. 4:53:40itself my bad press enter again now I'm
  7670. 4:53:43getting this name error right here and
  7671. 4:53:45that's because of this title that we're
  7672. 4:53:46using if we go back to that basic
  7673. 4:53:48calculator and select that cell C4 right
  7674. 4:53:51here it's named titlecore exe and I can
  7675. 4:53:56inspect the different names assigned to
  7676. 4:53:59cells by going to formulas Define names
  7677. 4:54:03and then the name manager now I started
  7678. 4:54:06directly with this workbook before we
  7679. 4:54:08actually created all these variables
  7680. 4:54:10here so what we'll do is this I'm going
  7681. 4:54:12to go ahead and actually just delete
  7682. 4:54:15this titlecore ex that was just an
  7683. 4:54:18example that's why it says ex then from
  7684. 4:54:21there I'm going to just rename it I'm
  7685. 4:54:22going to select the cell itself of C4
  7686. 4:54:25and I'm going to change it back to title
  7687. 4:54:28okay now it's Title Here back to the
  7688. 4:54:30country tab uh we have this updated for
  7689. 4:54:32the title it's actually appearing now no
  7690. 4:54:34name eror and I'll go ahead and drag it
  7691. 4:54:36all the way down there's going to be a
  7692. 4:54:37lot less values for this cuz we're
  7693. 4:54:39further filtering this so I'm seeing
  7694. 4:54:41some num erors that's as expected all
  7695. 4:54:43right the last condition we need to now
  7696. 4:54:45take into account is this type right
  7697. 4:54:48here and we haven't named this cell
  7698. 4:54:50already so I'm selecting K4 and I've
  7699. 4:54:52come up here and I'm going to select
  7700. 4:54:54type and now I've rename that as type so
  7701. 4:54:59we can finish this formula off we wanted
  7702. 4:55:01to I'm going to do a multiplication sign
  7703. 4:55:03start a new line by pressing Alt Enter
  7704. 4:55:07then do open and closeing parenthesis
  7705. 4:55:09for this we want to check if the job
  7706. 4:55:11schedule type column is equal to type
  7707. 4:55:15okay I'm going to go ahead and press
  7708. 4:55:16enter for this looks we have a value I
  7709. 4:55:18expect a few more even filtered from
  7710. 4:55:21here okay not a lot now one note on this
  7711. 4:55:24this formula is perfectly fine for
  7712. 4:55:27checking the job schedule tyght I'm
  7713. 4:55:29going to make it slightly better and
  7714. 4:55:31actually slightly more correct if I go
  7715. 4:55:33over to that data validation tab I'm
  7716. 4:55:36going to press uh control shift U to
  7717. 4:55:37actually close that formul bar if you
  7718. 4:55:39remember
  7719. 4:55:40from our job schedule tites yeah we
  7720. 4:55:42narrowed it down to this list but
  7721. 4:55:44actually there were the true list is
  7722. 4:55:47this so what we actually need to do is
  7723. 4:55:51check if a value is in here so in our
  7724. 4:55:56case we want to check whether the type
  7725. 4:55:57is in here so if we select part-time we
  7726. 4:56:00will also match on this job type here
  7727. 4:56:03where it says full-time parttime or this
  7728. 4:56:05one here where it says full-time
  7729. 4:56:07part-time temp work and we can do that
  7730. 4:56:09using the search function so we can find
  7731. 4:56:14something like part time within text of
  7732. 4:56:18right here and it's going to give us
  7733. 4:56:19back a number and then if it's not there
  7734. 4:56:22if I were to actually drag it down to
  7735. 4:56:24something like third column it's not
  7736. 4:56:25there it's going to get a a a value
  7737. 4:56:27error so I'm going to come back into
  7738. 4:56:28this and expand out the formula bar and
  7739. 4:56:32I'm going to change this formula right
  7740. 4:56:34here to basically get that condiction
  7741. 4:56:37remember we want to use the search
  7742. 4:56:38function we want to find the text of the
  7743. 4:56:42type which is that variable that we have
  7744. 4:56:44for the job type and we'll be searching
  7745. 4:56:46the job schedule type column now
  7746. 4:56:48remember this is going to return back a
  7747. 4:56:50number of the position if it's there so
  7748. 4:56:52we're going to need to wrap this all in
  7749. 4:56:54a is number function and then put
  7750. 4:56:57closing parentheses so I'm going to
  7751. 4:57:00autofill this all the way down again and
  7752. 4:57:03it doesn't look like any values at least
  7753. 4:57:04in view actually changed underneath this
  7754. 4:57:07formul bar for right now so I'm going to
  7755. 4:57:08go ahead and hide it and then for this
  7756. 4:57:11when we go to plot it we actually need
  7757. 4:57:12to remove these numb values from here so
  7758. 4:57:16in order to do this I'm going to I'll
  7759. 4:57:18create this new one called job country
  7760. 4:57:21filter and we're going to be using the
  7761. 4:57:23well filter function and for this we
  7762. 4:57:26need to include the array so everything
  7763. 4:57:29from here downwards pressing control
  7764. 4:57:32shift down to select that and then what
  7765. 4:57:35do we want to actually include well we
  7766. 4:57:37want to check to include anything in
  7767. 4:57:40that b column so is a number we going to
  7768. 4:57:43check those values are equal to a number
  7769. 4:57:45so I entered in that b column then as
  7770. 4:57:48well all right let's go ahead and run
  7771. 4:57:50this and it looks like it has all of our
  7772. 4:57:53values I don't like the order I'd rather
  7773. 4:57:55it sorted this is just me preference I'd
  7774. 4:57:57rather the numerical values be sorted so
  7775. 4:58:00I'm going to wrap this all in a sort
  7776. 4:58:02function and this is the array we're
  7777. 4:58:04applying to it we want to sort it on the
  7778. 4:58:08second index and for for this we wanted
  7779. 4:58:10to put it in we'll say descending order
  7780. 4:58:14and well Puerto Rico has some of the
  7781. 4:58:16highest jobs may have to move there and
  7782. 4:58:18okay we're going to get into applying
  7783. 4:58:19this now I want to make sure that we
  7784. 4:58:20have the maximum amount of values
  7785. 4:58:23present there's a lot of countries
  7786. 4:58:24missing that I know we available so I'm
  7787. 4:58:26going to just select the most basic job
  7788. 4:58:30possible to make sure that we have all
  7789. 4:58:32the jobs that we can appear so so we'll
  7790. 4:58:36just select data analyst United States
  7791. 4:58:38fulltime okay now we can go about
  7792. 4:58:40selecting column d and e and then
  7793. 4:58:43inserting in our map now I don't want
  7794. 4:58:46this here so I'm actually going to grab
  7795. 4:58:48this map and then come over here and put
  7796. 4:58:51it in I'm only going to do some minor
  7797. 4:58:53cleanup right now I'm going to remove
  7798. 4:58:54the chart title and also leged but we
  7799. 4:58:58now have this chart map available for
  7800. 4:59:00countries that shows the median salary
  7801. 4:59:02one quick note you are going to have
  7802. 4:59:04this sort of warning right here if I
  7803. 4:59:06click on it and it says hey we plotted
  7804. 4:59:0874% of the location from the data with
  7805. 4:59:11high confidence basically some of the
  7806. 4:59:13countries in there couldn't align
  7807. 4:59:15properly in my opinion it picked out a
  7808. 4:59:18lot of the major countries so I'm really
  7809. 4:59:21fine with that I'm fine if I didn't
  7810. 4:59:22identify all of them 74 is good enough
  7811. 4:59:25back to the final dashboard so we made
  7812. 4:59:27this country map right here now we need
  7813. 4:59:28to make these other two one thing to
  7814. 4:59:30call out with this which I don't think
  7815. 4:59:31I've called out before if we notice
  7816. 4:59:34whenever we select a job so in this case
  7817. 4:59:37I'll select data scientist it makes that
  7818. 4:59:39barall are a darker color blue the way
  7819. 4:59:41your eyes go towards it and then you can
  7820. 4:59:43compare it to the other ones so how did
  7821. 4:59:46I do this well if I go to my jobs tab my
  7822. 4:59:49final jobs tab what I'm doing here is I
  7823. 4:59:52have all the median salaries which we
  7824. 4:59:54calculated already in ours but I added
  7825. 4:59:56this over here basically I have one
  7826. 4:59:59column without we have data scientist
  7827. 5:00:01selected right now so I have one column
  7828. 5:00:04without the value appear in and then one
  7829. 5:00:06value with it appearing in and then what
  7830. 5:00:09we'll do from there is just some
  7831. 5:00:11basically manipulation of the graph to
  7832. 5:00:13make it to where in this case data
  7833. 5:00:15scientist appears so going back to our
  7834. 5:00:18worksheet of our fancy Dancy dashboard
  7835. 5:00:20we have so far going to go to that title
  7836. 5:00:23sheet remember we already did all this
  7837. 5:00:26portion of the last section first thing
  7838. 5:00:28we do is well we need to do some cleanup
  7839. 5:00:30we need to get rid of this name error
  7840. 5:00:32also we are going to create those extra
  7841. 5:00:34columns right here for basically what
  7842. 5:00:36job title selected but we need need to
  7843. 5:00:40more importantly if I expand out the
  7844. 5:00:43formula bar we need to update this
  7845. 5:00:46median salary similar to what we do with
  7846. 5:00:48job type to not only take into account
  7847. 5:00:52the job title but also the country and
  7848. 5:00:56the job schedule type so I'm all for not
  7849. 5:00:58repeating our work I'm going to go back
  7850. 5:01:00over to the country tab select the
  7851. 5:01:01median salary and I'm going to basically
  7852. 5:01:04just copy all that portion that's in
  7853. 5:01:05there anyway I'm going to escape out of
  7854. 5:01:07that come back into the job job title
  7855. 5:01:10tab select B2 and I'll go ahead and just
  7856. 5:01:14press uh Alt Enter insert all that in
  7857. 5:01:18and then now I just want to clean this
  7858. 5:01:20up we do want this country which we're
  7859. 5:01:22going to have to
  7860. 5:01:23fix but we don't need these middle two
  7861. 5:01:27right here that we already basically
  7862. 5:01:29have specifically with the job country
  7863. 5:01:32though so remember this thing's
  7864. 5:01:34calculating the median salary based on
  7865. 5:01:37the job title selected in this col here
  7866. 5:01:40and column A so this A2 is going to work
  7867. 5:01:42here previously we were doing the same
  7868. 5:01:44thing with country we don't need to do
  7869. 5:01:46country anymore we need to actually put
  7870. 5:01:48in a variable of country which we
  7871. 5:01:52haven't created yet so I'm just going to
  7872. 5:01:53enter country in it's going to give me
  7873. 5:01:55an error this name error I'm going to
  7874. 5:01:58come back over to the basic calculator
  7875. 5:01:59tab select this and then rename G4 to
  7876. 5:02:04Country press enter come back to the
  7877. 5:02:07title tab we're no longer getting that
  7878. 5:02:09name error looks like it's executing
  7879. 5:02:12just right I'm going to go ahead and
  7880. 5:02:14drag it all the way down and we do have
  7881. 5:02:17an error in my formula I have this comma
  7882. 5:02:20right here this is supposed to actually
  7883. 5:02:23be an array right this whole thing is
  7884. 5:02:26supposed to be um an array so now let's
  7885. 5:02:29try it again press enter okay 990,000
  7886. 5:02:32for data analyst in the United States I
  7887. 5:02:34know that's true and now we're filling
  7888. 5:02:37it in for all the rest okay so we have
  7889. 5:02:39what we need I'm going close out the
  7890. 5:02:41formula bar and remember we want to
  7891. 5:02:44basically in one column if it has the
  7892. 5:02:47word data analist we want to not include
  7893. 5:02:48it and then another one we want to only
  7894. 5:02:50include that one so we're going to use
  7895. 5:02:52an if for this so if this value which
  7896. 5:02:57we're going to go ahead and lock the
  7897. 5:03:00column is not equal to the title then
  7898. 5:03:05we're going to basically display those
  7899. 5:03:06results which I'm going to lock the
  7900. 5:03:08column for this otherwise I just wanted
  7901. 5:03:11to display an A and not a value Okay g
  7902. 5:03:14to go ahead and enter this and it is dat
  7903. 5:03:17analyst so it's not going to appear
  7904. 5:03:18there but it will appear all the rest of
  7905. 5:03:19these and so I locked those columns so I
  7906. 5:03:21can just drag this over and now with
  7907. 5:03:24this other one I want to do the opposite
  7908. 5:03:26basically if it's equal to title I want
  7909. 5:03:28it to appear and then I'll drag and drop
  7910. 5:03:30it all the way down so these are the
  7911. 5:03:33values I want to plot so I'm going to
  7912. 5:03:36select D2 to d11 then holding control
  7913. 5:03:40also select these values right here go
  7914. 5:03:43in and insert recommended charts and
  7915. 5:03:46first one up is actually the one that I
  7916. 5:03:48want so we'll go ahead and insert that
  7917. 5:03:50so I'll take this chart and also move
  7918. 5:03:53that right here into the basic
  7919. 5:03:56calculator tab with this one once again
  7920. 5:03:58I don't want a chart title and I don't
  7921. 5:04:01want a legend the other thing are the
  7922. 5:04:03values the horizontal values down here
  7923. 5:04:06I'm going to go ahead and double click
  7924. 5:04:07on that scroll down here all the way to
  7925. 5:04:10number and we're going to do that custom
  7926. 5:04:12formatting that we've done previously if
  7927. 5:04:14it's not peering uh feel free to type
  7928. 5:04:17the code in but we're going to use this
  7929. 5:04:19to basically format it as with the
  7930. 5:04:21dollar sign in the front and then also
  7931. 5:04:23the k for the thousands place all right
  7932. 5:04:26the last thing is you know I don't like
  7933. 5:04:28to use a lot of different colors in this
  7934. 5:04:30so making sure the graph is selected go
  7935. 5:04:32to chart design and then into chart
  7936. 5:04:34colors right now it's set under colorful
  7937. 5:04:37which I think is awful default value I'm
  7938. 5:04:39going to come down here and select not
  7939. 5:04:41this monochromatic palette 4 five sorry
  7940. 5:04:44the but the monochromatic palette 12 and
  7941. 5:04:47that's because now data analyst will be
  7942. 5:04:50the darkest blue the other ones will be
  7943. 5:04:52light so that way my eyes go to that one
  7944. 5:04:53instead so now what we just did with the
  7945. 5:04:55job title we need to repeat it for job
  7946. 5:04:58type so a lot of copy and pase in so
  7947. 5:05:01we're going to move a lot faster with
  7948. 5:05:02this one because we've done most of this
  7949. 5:05:04before for this we're going to be
  7950. 5:05:05entering in the type sheet and I'm going
  7951. 5:05:07to go ahead and pull all those things in
  7952. 5:05:09from data validation tab now we need to
  7953. 5:05:11get the median salaries for that I'm
  7954. 5:05:13just going to come back over to the
  7955. 5:05:14title sheet come into here and actually
  7956. 5:05:16just copy this en typable formula then
  7957. 5:05:19expanding this out with control shift U
  7958. 5:05:21pasting this in here now we need to just
  7959. 5:05:23change this up slightly so for the job
  7960. 5:05:25title we need to actually use the job
  7961. 5:05:28title whereas conversely for the job
  7962. 5:05:31type we no longer want to use type we
  7963. 5:05:34want to use what's available in A2
  7964. 5:05:37pressing enter we get our value for
  7965. 5:05:39full-time 990,000 of data analyst that's
  7966. 5:05:42correct and then drag it on down I'm
  7967. 5:05:44going to go ahead and close this for of
  7968. 5:05:45the bar and for this I'm going to use uh
  7969. 5:05:47similar to what we did in that Country
  7970. 5:05:49Sheet in where we not only filter the
  7971. 5:05:52data to make sure we include is numbers
  7972. 5:05:54but also we sorted it and that's because
  7973. 5:05:56sometimes these values sometimes we may
  7974. 5:05:58not have values and we go back to this
  7975. 5:06:00type tab sometimes there may not be a
  7976. 5:06:03certain job schedule type so I'm going
  7977. 5:06:05to go ahead and paste this in now it is
  7978. 5:06:08working I know there will always be five
  7979. 5:06:10values so I'm going to actually change
  7980. 5:06:12this to B6 here and also B6 here and
  7981. 5:06:17press enter now I also realized I made a
  7982. 5:06:20mistake earlier whenever I went to the
  7983. 5:06:22title sheet this is only doing the sort
  7984. 5:06:24function and we may have a condition
  7985. 5:06:26where in certain countries they don't
  7986. 5:06:28have all these different job titles
  7987. 5:06:31available so we need to do its similar
  7988. 5:06:33Hill here as well so I'm going to paste
  7989. 5:06:35that formula into here and then adjust
  7990. 5:06:37it because I know there's always 10 job
  7991. 5:06:40titles so it's going to go down to 11 in
  7992. 5:06:42this case and 11 here we go ahead and
  7993. 5:06:47run that there's going to be no change
  7994. 5:06:50the one issue though is in this case if
  7995. 5:06:54I go back to that basic calculator it
  7996. 5:06:56doesn't do it in the order that I want
  7997. 5:06:59so going back to that title sheet I'm
  7998. 5:07:00going to change that sorting value from
  7999. 5:07:02a negative one to a one so that way it
  8000. 5:07:04goes in basically ascending order and I
  8001. 5:07:07need to do the same thing here here as
  8002. 5:07:10well in the type sheet where it's also
  8003. 5:07:12in ascending order cuz we're going to be
  8004. 5:07:13making the same graph all right similar
  8005. 5:07:16to last time I wanted to if the value is
  8006. 5:07:19selected I want it to be highlighted so
  8007. 5:07:21we need to make those same columns again
  8008. 5:07:23so if this is not equal to the type I
  8009. 5:07:26want the value to appear and it be na
  8010. 5:07:29because right now fulltime is selected
  8011. 5:07:31dragging it over and then adjusting it
  8012. 5:07:33for equal instead and then dragging it
  8013. 5:07:36down I do want it to appear if it's
  8014. 5:07:38full-time now I'm going to select
  8015. 5:07:40D2 D6 and then these values in f and g
  8016. 5:07:47once again we're going to go to insert
  8017. 5:07:48recommended charts I don't like these
  8018. 5:07:50clustered columns I prefer a clustered
  8019. 5:07:54bar chart so I'm going to take this and
  8020. 5:07:57then put it in here make similar format
  8021. 5:08:00and changes as well of removing the
  8022. 5:08:01title and then also the legend updating
  8023. 5:08:04the xaxis by going into numbers and
  8024. 5:08:08changing the format to a custom format
  8025. 5:08:11to using the K value instead and then
  8026. 5:08:14finally the actual color Itself by going
  8027. 5:08:17to that monoch chromatic the color
  8028. 5:08:20palette 12 so bam now we have a lot of
  8029. 5:08:24this made so I can go through now and
  8030. 5:08:26select say data data scientist it will
  8031. 5:08:29update for selecting data scientist and
  8032. 5:08:32then you see all these other values
  8033. 5:08:33update as well I can also select the
  8034. 5:08:35different type um part-time in this case
  8035. 5:08:38and then the values still remain the the
  8036. 5:08:39same it just changes the bar that it's
  8037. 5:08:41selected
  8038. 5:08:44to all right the last major thing before
  8039. 5:08:46we get into formatting we're going to
  8040. 5:08:47make these three kpi cards one is for
  8041. 5:08:50the median salary the next is for the
  8042. 5:08:53top job platform and then finally on the
  8043. 5:08:56job count itself for how many counts of
  8044. 5:08:59jobs for all of these now one quick
  8045. 5:09:01thing Excel doesn't necessarily have kpi
  8046. 5:09:03cards like if you use something like
  8047. 5:09:05powerbi or looker they provide cards to
  8048. 5:09:08this we're going to do some sort of
  8049. 5:09:10backdoor approach if you will to make
  8050. 5:09:12this into a kpi card basically I'm going
  8051. 5:09:13to insert in a text box and we're going
  8052. 5:09:15to put a cell equal to it you'll see
  8053. 5:09:18what we're going to do with it but the
  8054. 5:09:19main point is these values this value
  8055. 5:09:21itself is not as you can see it's a
  8056. 5:09:24rectangle it's not in a Cell per se but
  8057. 5:09:28it is calculated within the workbook
  8058. 5:09:31anyway what we're going to be doing I
  8059. 5:09:33don't need this down here this median
  8060. 5:09:35salary what we did from the last lesson
  8061. 5:09:38I'm gonna go ahead and delete this but
  8062. 5:09:40the first we want to calculate is that
  8063. 5:09:42median salary and we basically have it
  8064. 5:09:46already and I'm going to calculate it
  8065. 5:09:49right here in this column of I2 and for
  8066. 5:09:51this we're just going to use a simple x
  8067. 5:09:54lookup and the value we want to look up
  8068. 5:09:57is based on the job title selected so
  8069. 5:10:01title and the lookup array is this array
  8070. 5:10:04right here and then the final return
  8071. 5:10:06array is right next to it there's a
  8072. 5:10:09missing value right now because Cloud
  8073. 5:10:10Engineers is not available in the
  8074. 5:10:12currenc are selected so make sure you're
  8075. 5:10:14selecting the full values and we going
  8076. 5:10:16to go ahead and close it but we have now
  8077. 5:10:19the median salary so I'm going to
  8078. 5:10:22actually rename this I2 cell to median
  8079. 5:10:27salary and then going back into our
  8080. 5:10:29basic calculator tab remember I'm not
  8081. 5:10:31going to insert it into a sell in here
  8082. 5:10:33but instead we go into insert and then
  8083. 5:10:38illustrations and I'm just going to
  8084. 5:10:40insert a simple old textt box I'll drag
  8085. 5:10:42it right there now the thing is I don't
  8086. 5:10:44want to type inside of here what I'm
  8087. 5:10:46actually do is I'm going to select the
  8088. 5:10:47Box itself so you no longer have that
  8089. 5:10:49blinking cursor in there come up into
  8090. 5:10:51the formula bar up here type in equal to
  8091. 5:10:55median salary and Bam now if you notice
  8092. 5:10:59it copied the formatting that we
  8093. 5:11:01previously have right here as a cluster
  8094. 5:11:03number looking at right there it copied
  8095. 5:11:05the same formatting that we're using
  8096. 5:11:07here in I2 so what I'm going to do is
  8097. 5:11:10just go in here and change this
  8098. 5:11:11formatting to a currency with zero
  8099. 5:11:13decimal places and then once we have
  8100. 5:11:16this value actually updated go back to
  8101. 5:11:18basic calculator we can see boom looks a
  8102. 5:11:20lot nicer we'll adjust the formatting as
  8103. 5:11:22far as the size and stuff in a little
  8104. 5:11:24bit after we calculate all the other
  8105. 5:11:26ones the next one from our final
  8106. 5:11:28dashboard is the top job platform so
  8107. 5:11:31we've only calculated things associated
  8108. 5:11:33with the job title the job country and
  8109. 5:11:35the job type so we need to make a new
  8110. 5:11:38sheet and we'll rename it platform and
  8111. 5:11:42technically the column name is job via
  8112. 5:11:45and for this we need to get the unique
  8113. 5:11:48values of the job via column now for
  8114. 5:11:54this one we're trying to get the top job
  8115. 5:11:56platform so we're not necessarily doing
  8116. 5:11:57that based on what is the top median
  8117. 5:12:01salary on this I just want where are the
  8118. 5:12:03most jobs actually located so we're
  8119. 5:12:06going to be doing a count using control
  8120. 5:12:08shift U to expand the we've been using
  8121. 5:12:09this median with this if array in it
  8122. 5:12:12we've already built this out already
  8123. 5:12:15which this formula does so you could so
  8124. 5:12:17we're going to use this I'm going to go
  8125. 5:12:19ahead and copy it by pressing contrl C
  8126. 5:12:21coming over to platform and then pasting
  8127. 5:12:23it in with contrl v okay and instead of
  8128. 5:12:26median we're going to use count and the
  8129. 5:12:30only other thing we need to update on
  8130. 5:12:32this is we stole it from the job country
  8131. 5:12:34page is we need to update the job
  8132. 5:12:36country to be well country and we need
  8133. 5:12:40to check one more condition so we need
  8134. 5:12:42to add to this array I'm going press uh
  8135. 5:12:44Alt Enter to create a new line and we
  8136. 5:12:47want to check that job via is equal to
  8137. 5:12:51in this case A2 and we go ahead and
  8138. 5:12:54press enter looks like 10 were available
  8139. 5:12:56for Via script zip recruiter and then it
  8140. 5:12:59calculates all the way down now remember
  8141. 5:13:01our data set also has hourly data in
  8142. 5:13:05there as well so technically if you
  8143. 5:13:07wanted to which I'm going to I'm going
  8144. 5:13:08to remove move this condition right here
  8145. 5:13:10that we're checking that it's not equal
  8146. 5:13:11to zero basically it's also going to
  8147. 5:13:13include if there's a job that has an
  8148. 5:13:15hourly salary included so I'm going to
  8149. 5:13:18go ahead and backspace out of that press
  8150. 5:13:20enter and then from there drag and drop
  8151. 5:13:22it down and I can see we added a few
  8152. 5:13:24more values because of this I'm close
  8153. 5:13:27this formula bar control shift you all
  8154. 5:13:29right so now I need to sort these values
  8155. 5:13:32basically from high to low selecting all
  8156. 5:13:35the values using control shift down the
  8157. 5:13:38sword index we want to use the second
  8158. 5:13:39index and we want to put this one in
  8159. 5:13:42descending order cuz we want the highest
  8160. 5:13:44one up at the top and for this it looks
  8161. 5:13:46like snag a job is the highest anyway uh
  8162. 5:13:51this is what we want this first one
  8163. 5:13:53actually appearing in our kpi card but
  8164. 5:13:56if you notice all of these have via in
  8165. 5:13:58front of it so what I'm going to use is
  8166. 5:14:00a text function of substitute which
  8167. 5:14:03replaces existing test with a new text
  8168. 5:14:06and for our text in D2
  8169. 5:14:09the old text that I want to replace is
  8170. 5:14:11via with a space and the new text is
  8171. 5:14:14just a blank value so snag job is now up
  8172. 5:14:18the top this is what I want to be known
  8173. 5:14:21as we're going to rename this variable
  8174. 5:14:23to platform then we do the same thing on
  8175. 5:14:26our dashboard of inserting a text value
  8176. 5:14:30and for this I'm going to select it and
  8177. 5:14:32say that it's equal to platform all
  8178. 5:14:35right so snag a job and for this one
  8179. 5:14:38this one is well somewhat simple but in
  8180. 5:14:41our data validation tab we were in the
  8181. 5:14:45very beginning in the last lesson we
  8182. 5:14:47were calculating the count and we were
  8183. 5:14:50calculating a generic count of all of
  8184. 5:14:53them so we need to once again modify
  8185. 5:14:54this because we want the count based on
  8186. 5:14:57our three conditions here so what I'm
  8187. 5:15:00going to do is just basically steal it
  8188. 5:15:01from what we did previously go into that
  8189. 5:15:03B2 cell in the platform sheet go ahead
  8190. 5:15:07and copy this all and then then in here
  8191. 5:15:09I'm going to expand this formula out I'm
  8192. 5:15:11going to go ahead and replace that in B2
  8193. 5:15:14with this now a few modifications we can
  8194. 5:15:16make to this we're no longer checking
  8195. 5:15:18the job via column we're not trying to
  8196. 5:15:21check that for the count that was
  8197. 5:15:22specific to where we stole that from so
  8198. 5:15:24I'm going to delete that and also this
  8199. 5:15:25uh multiplication point and then this is
  8200. 5:15:28checking all of the things selected of
  8201. 5:15:30country title and type we're wanting to
  8202. 5:15:32check the count of a certain title so
  8203. 5:15:36instead of having title we'll put in a
  8204. 5:15:39A2 pressing enter we have a lower value
  8205. 5:15:42because we've the current filters are
  8206. 5:15:44lower and then we'll fill it all the way
  8207. 5:15:46down closing the formula bar out we now
  8208. 5:15:49want to get the count for whatever is
  8209. 5:15:52selected so I'm going to go to an empty
  8210. 5:15:55column over here right here and we're
  8211. 5:15:57going to be doing an X lookup again the
  8212. 5:16:00lookup value is what is the title that
  8213. 5:16:03we're using the lookup array is we'll
  8214. 5:16:06use this one right here and then for as
  8215. 5:16:09far as the return array right next to it
  8216. 5:16:13pressing enter boom get a value of 537
  8217. 5:16:17now just to be safe in case there aren't
  8218. 5:16:20any results like say it was zero or
  8219. 5:16:22something or not applicable it's going
  8220. 5:16:23to be basically not applicable I do want
  8221. 5:16:26to include if not found I'm going to
  8222. 5:16:28enter in no results and I'm going to do
  8223. 5:16:31the same thing underneath the title
  8224. 5:16:33sheet for where we calculated the median
  8225. 5:16:35salary put for no results
  8226. 5:16:39so I'm going go ahead we want to get
  8227. 5:16:41that count in there so we insert that
  8228. 5:16:43illustration again for us we're going to
  8229. 5:16:44insert a text box and that textbox is
  8230. 5:16:47going to be equal to count which I don't
  8231. 5:16:50think we actually named yet so I
  8232. 5:16:52actually need to go back to escape out
  8233. 5:16:55of this go back to the data validation
  8234. 5:16:58tab rename this count and then from
  8235. 5:17:02there with the text box selected I'm
  8236. 5:17:03going put that equal to count now for
  8237. 5:17:06each one of these text boxes I need to
  8238. 5:17:08go through and actually
  8239. 5:17:09as you can see the we have a text box
  8240. 5:17:11for the value but I actually want to use
  8241. 5:17:14a shape basically background to tell us
  8242. 5:17:18what we're actually performing or
  8243. 5:17:20calculation that this kpi is showing so
  8244. 5:17:23I'm going come in here and to insert
  8245. 5:17:25illustrations for shapes we're going to
  8246. 5:17:27keep it actually we'll say a rectangle
  8247. 5:17:30this time and then we'll go ahead and
  8248. 5:17:32draw it now for the shape format itself
  8249. 5:17:36I'm going to go to this one right here
  8250. 5:17:38basically a blue around with white on
  8251. 5:17:40the front and with these shapes you can
  8252. 5:17:44still put in text in here so I can put
  8253. 5:17:46in something like median salary and I
  8254. 5:17:49can open up the Home tab and I can
  8255. 5:17:52actually customize this further so I can
  8256. 5:17:54make this bold I can put in the center I
  8257. 5:17:57actually want Center top and I'm going
  8258. 5:17:59to make this slightly bigger by 20 point
  8259. 5:18:02also I'm noticing this box is a green
  8260. 5:18:04outline I don't really like that I'd
  8261. 5:18:07rather a blue outline so we have that
  8262. 5:18:09now okay so how do we get that number if
  8263. 5:18:11you notice the number is no long it's
  8264. 5:18:13hidden behind here we can do a couple
  8265. 5:18:15different ways but I'm just going to
  8266. 5:18:16rightclick this object and then under
  8267. 5:18:19shape format you can go to send
  8268. 5:18:22backwards specifically I want to send
  8269. 5:18:23all the way to the back now getting into
  8270. 5:18:26the actual text box itself if you notice
  8271. 5:18:29there's a little bit of a a box around
  8272. 5:18:31it I don't really like that I'm also
  8273. 5:18:33going to exp expand it all the way to
  8274. 5:18:35the edges I'm going to format this one
  8275. 5:18:37as well to be centered bold and then
  8276. 5:18:41we're going to make the font much bigger
  8277. 5:18:42on this and I'm going to once I like I
  8278. 5:18:45talked about remove that shape outline
  8279. 5:18:47right now it has a a light one I'm going
  8280. 5:18:49to say no outline okay so now it looks
  8281. 5:18:52like a kpi card copying this I'm going
  8282. 5:18:55to then make two more and for each of
  8283. 5:18:58these I'm going to send them back to the
  8284. 5:18:59back name appropriately to top job
  8285. 5:19:02platform and job count for this I'm
  8286. 5:19:04going to just copy this text box here
  8287. 5:19:07that has the median salary in it and I
  8288. 5:19:10just want to copy the formatting to the
  8289. 5:19:11other ones as well so we can
  8290. 5:19:12conveniently use this paintbrush this
  8291. 5:19:14format prer and I'll select this one it
  8292. 5:19:17disappeared I have to reselect it and
  8293. 5:19:20I'll also select this one if you notice
  8294. 5:19:23the names are cutting off so it's really
  8295. 5:19:24important that you extend it all the way
  8296. 5:19:27over same thing with the job count as
  8297. 5:19:33well now we're getting into the format
  8298. 5:19:37portion of actually just doing some
  8299. 5:19:39final touches on here I don't like grid
  8300. 5:19:41lines so under view tab I'm going to
  8301. 5:19:43select remove grid lines for each of
  8302. 5:19:45these charts I don't really like those
  8303. 5:19:47outlines I want it just to sort of blend
  8304. 5:19:49in to make it look like it's there so
  8305. 5:19:51for the shape outline I'm going to
  8306. 5:19:52change each of them to no outline up in
  8307. 5:19:54our data validation point I want to make
  8308. 5:19:56the spacing right I'm also going to make
  8309. 5:19:58these titles slightly bigger for the
  8310. 5:20:01dropdowns themselves I want them to
  8311. 5:20:03basically pop out so I'm going to change
  8312. 5:20:06this formatting I'm going to go to the
  8313. 5:20:07cell Styles and I really like this one
  8314. 5:20:09of input because it sort of calls your
  8315. 5:20:10eyes to what you need to go to I'm going
  8316. 5:20:12to make this G column slightly bigger
  8317. 5:20:15and then shift the type over some the
  8318. 5:20:18other thing I want to do is add a title
  8319. 5:20:20up here at the top for what this
  8320. 5:20:21dashboard actually does so I'm going to
  8321. 5:20:23select cells B1 through L1 I'm going to
  8322. 5:20:26do merge and center and I'm going to
  8323. 5:20:28change this to data science salary
  8324. 5:20:30calculator along with going to the cell
  8325. 5:20:32style we'll do heading one for right now
  8326. 5:20:34I want that to still be slightly bigger
  8327. 5:20:37okay now we're going to to start moving
  8328. 5:20:39stuff around but I want to get in it's
  8329. 5:20:41like its final form that I'm going to
  8330. 5:20:43give to colleagues and co-workers and
  8331. 5:20:45I'm going to give it with the Home tab
  8332. 5:20:48closed and also with if I view this can
  8333. 5:20:52remove headings so it moved the column
  8334. 5:20:55headers the A and the B and then the row
  8335. 5:20:57numbers as well so it looks like
  8336. 5:20:59everything's upda correctly one minor
  8337. 5:21:01thing this job count I want to make sure
  8338. 5:21:03after I select it fulltime I saw that
  8339. 5:21:05the formatting of the thousands with the
  8340. 5:21:07Comm is not there so going back into
  8341. 5:21:09that data validation tab I'm going to
  8342. 5:21:11select this go to home make it a comma
  8343. 5:21:14and remove all the decimal places okay
  8344. 5:21:17looking good all right now we need to
  8345. 5:21:18get this set up to give to colleagues I
  8346. 5:21:21don't want them to have all these other
  8347. 5:21:23tabs or all these other sheets so I'm
  8348. 5:21:25going to go through and actually just
  8349. 5:21:26hide the ones that aren't applicable for
  8350. 5:21:28them Additionally the sheet of basic
  8351. 5:21:30calculator doesn't really make sense
  8352. 5:21:32anymore cuz that was for that first
  8353. 5:21:34lesson I'm going to actually name this
  8354. 5:21:35to salary calculator now call could
  8355. 5:21:39still potentially go in and they could
  8356. 5:21:41mess up these formulas and so we need to
  8357. 5:21:44now protect our worksheet and we only
  8358. 5:21:47want them to be able to manipulate these
  8359. 5:21:49three cells so we're going to be going
  8360. 5:21:52through protecting the sheet but we need
  8361. 5:21:54to actually recall that we have to pick
  8362. 5:21:56what cells that we want to lock right we
  8363. 5:21:59need to select all the cells and I
  8364. 5:22:01preemptively told you to hide the
  8365. 5:22:03headings you need to go back into view
  8366. 5:22:04and show the headings again cuz we need
  8367. 5:22:05to be able to select this triangle in
  8368. 5:22:07the upper left hand order to select all
  8369. 5:22:10the different cells and then from there
  8370. 5:22:12holding control unselect these three
  8371. 5:22:15cells and then from there we're going to
  8372. 5:22:17right click in there go to format cells
  8373. 5:22:20under protection and we want to make in
  8374. 5:22:22that case that they are locked or
  8375. 5:22:24basically we are going to be able to
  8376. 5:22:25lock them conversely we need to escape
  8377. 5:22:28out of this and now select the three
  8378. 5:22:31cells that we want to unlock right click
  8379. 5:22:34go to format cells and for these we want
  8380. 5:22:36to make sure that they are not checked
  8381. 5:22:38for this so basically unlocked whenever
  8382. 5:22:40we go ahead and protect the sheet so now
  8383. 5:22:43whenever I go into review go to protect
  8384. 5:22:46sheet I want to be able to select unlock
  8385. 5:22:49cells once again if you want to enter a
  8386. 5:22:51password you can I'm going to click okay
  8387. 5:22:53so now I can't click anywhere else
  8388. 5:22:57except for where we have our data
  8389. 5:23:00validation so I can go through and
  8390. 5:23:01select things like data scientist and
  8391. 5:23:04turkey now I'm just going to add that
  8392. 5:23:05last final touch of removing the
  8393. 5:23:08headings
  8394. 5:23:09bam we have our dashboard now I promise
  8395. 5:23:12last last thing before we go I'm
  8396. 5:23:15noticing and you're probably noticing as
  8397. 5:23:17well if you're going through and
  8398. 5:23:18manipulating these values in this case
  8399. 5:23:20let's go from data analyst from previous
  8400. 5:23:22selected data scientists this me talking
  8401. 5:23:24in real time I want to show it takes how
  8402. 5:23:26long it takes to load and it takes
  8403. 5:23:28forever to load why is it doing this
  8404. 5:23:31this is not good for stakeholders
  8405. 5:23:33they're going to get annoyed if it takes
  8406. 5:23:35this long I'm going go ahead and unhide
  8407. 5:23:37some of our sheet repats specifically
  8408. 5:23:40that platform one now these formulas
  8409. 5:23:43that we're using um the array formulas
  8410. 5:23:47to calculate these values it's F so in
  8411. 5:23:51this platforms one we have like oh my
  8412. 5:23:53gosh in this case we have close to 200
  8413. 5:23:56oh no it's like slowing down even going
  8414. 5:23:58through this we're executing this
  8415. 5:24:01hundreds of times in here whereas if I
  8416. 5:24:03compare it to something like the title
  8417. 5:24:06sheet we're only running this you know n
  8418. 5:24:1010 times which I feel isn't that big but
  8419. 5:24:13if we're running this formula hundreds
  8420. 5:24:15of times it's going to slow down this
  8421. 5:24:17sheet so I have a quick fix for this and
  8422. 5:24:21it involves we're not going to
  8423. 5:24:23especially for this sheet here platform
  8424. 5:24:24sheets we're not going to use this um
  8425. 5:24:27array multiplication order to calculate
  8426. 5:24:29this instead we're going to use a count
  8427. 5:24:32ifs the first thing we're going to do is
  8428. 5:24:35check that the Java is equal to the
  8429. 5:24:39criteria one of A2 so basically job
  8430. 5:24:42platform is what it is says it is from
  8431. 5:24:44there we'll check the job title short
  8432. 5:24:46column to make sure it makes up with
  8433. 5:24:47title we'll check the job country is
  8434. 5:24:50equal to Country and then finally we're
  8435. 5:24:52going to check that the job schedule
  8436. 5:24:54type is equal to type and then we're
  8437. 5:24:56going to go ahead and execute this and
  8438. 5:24:58then we're going to autofill it all the
  8439. 5:24:59way down notice that 1490 it's actually
  8440. 5:25:01going to go down slightly to
  8441. 5:25:041426 and that's because we've now
  8442. 5:25:07changed this condition inside of this
  8443. 5:25:09count ifs specifically if I go back to
  8444. 5:25:11that title sheet you remember whenever
  8445. 5:25:13we match for this we did a really
  8446. 5:25:16indepth search so if any job schedule
  8447. 5:25:19type contain those keywords we match to
  8448. 5:25:21it now we're only matching it if it
  8449. 5:25:23exactly matches but since this job
  8450. 5:25:26platform is just providing it's not
  8451. 5:25:28providing a numerical value it's
  8452. 5:25:30providing what is the Top Value I don't
  8453. 5:25:31think the Top Value is going to change
  8454. 5:25:34that much so I don't think we're being
  8455. 5:25:36inaccurate about this if we change this
  8456. 5:25:39formula anyway going back to the actual
  8457. 5:25:42dashboard itself now whenever I change
  8458. 5:25:43this from data analyst to data scientist
  8459. 5:25:46it is much faster so now I'm go ahead
  8460. 5:25:49and hide those sheets and we are done so
  8461. 5:25:53that was a heck of a lot of work so in
  8462. 5:25:56the next lesson we're going to be
  8463. 5:25:57getting into how you can actually go
  8464. 5:25:58through and share this dashboard
  8465. 5:26:01specifically for those that have a
  8466. 5:26:02Microsoft description you can use
  8467. 5:26:03something like Microsoft online because
  8468. 5:26:06it has all these features that we have
  8469. 5:26:07within here and host it there for others
  8470. 5:26:10to use additionally we're going to get
  8471. 5:26:12into my recommended method of sharing
  8472. 5:26:14any your projects and that's via linked
  8473. 5:26:16in now just a heads up we will be
  8474. 5:26:19getting into git and GitHub after
  8475. 5:26:22project 2 at the very end of this course
  8476. 5:26:26and during that portion we'll talk about
  8477. 5:26:28how to share not only project 2 but also
  8478. 5:26:30this project here but that's more
  8479. 5:26:32complicated and I really want to focus
  8480. 5:26:34on Excel so with that we're going to be
  8481. 5:26:36shifting in the next lesson to quickly
  8482. 5:26:38share it and then moving into the
  8483. 5:26:39advanced chapter all right with that
  8484. 5:26:41I'll see you in the next
  8485. 5:26:42[Music]
  8486. 5:26:46one first up congratulations on
  8487. 5:26:49completing your first project in Excel
  8488. 5:26:52and building this salary dashboard been
  8489. 5:26:55nothing short of your hard work and you
  8490. 5:26:58shouldn't let that hard work go
  8491. 5:26:59unnoticed so in this lesson we're going
  8492. 5:27:01to be going over different methods you
  8493. 5:27:03could go about actually sharing this
  8494. 5:27:05project to your social network and to
  8495. 5:27:07others to help out in the job search or
  8496. 5:27:10future employment now if you were just
  8497. 5:27:12learning these skills for fun you had no
  8498. 5:27:14intent getting a new job or increasing
  8499. 5:27:17your pay in your current job then you
  8500. 5:27:19can feel free to skip this and go to the
  8501. 5:27:21next chapter on pivot
  8502. 5:27:25tables so there's a few different ways
  8503. 5:27:27you can go about sharing your work that
  8504. 5:27:29you did we're not going to go dive into
  8505. 5:27:31deep any of these we're going to look at
  8506. 5:27:32these more at a high level before
  8507. 5:27:34jumping into one of the options first up
  8508. 5:27:36is a portfolio website here I have luk
  8509. 5:27:38bru.com and if I wanted to I could come
  8510. 5:27:41inside of here and edit it and include
  8511. 5:27:43my project here along with what I did
  8512. 5:27:46for others to see another option even if
  8513. 5:27:48you don't have a big following on
  8514. 5:27:50YouTube is you could actually go in and
  8515. 5:27:52record and describe what you did within
  8516. 5:27:55your dashboard and host it somewhere
  8517. 5:27:57like YouTube now for both those options
  8518. 5:27:59you may be like Luke how do I actually
  8519. 5:28:01actually share my Excel file that
  8520. 5:28:03actually went through well that's where
  8521. 5:28:05we run into a little bit of issues as as
  8522. 5:28:08yes we created this Excel file right
  8523. 5:28:10here but how do you actually go about
  8524. 5:28:13sharing it with others to see your work
  8525. 5:28:16well one option for this is actually
  8526. 5:28:18hosting your file online via something
  8527. 5:28:21like one drive which if you're paying
  8528. 5:28:23for a subscription of Microsoft service
  8529. 5:28:27you have access to one drive and you can
  8530. 5:28:29host your dashboard online all I need to
  8531. 5:28:31do is navigate to One drive. live.com go
  8532. 5:28:35to this add new and files upload from
  8533. 5:28:37there select my file that I actually
  8534. 5:28:39want to upload online and then we can go
  8535. 5:28:42to it and our file is actually uploaded
  8536. 5:28:45here which we can actually go through
  8537. 5:28:48and select something like data
  8538. 5:28:49scientists and it will actually
  8539. 5:28:51calculate based on the changes we make
  8540. 5:28:53to it now one note the country chart
  8541. 5:28:56inside of excel online doesn't work but
  8542. 5:28:59I have a fix for it and mainly it's to
  8543. 5:29:01just remove it you go into the review
  8544. 5:29:03tab under protection and go to manage
  8545. 5:29:06protection and then you turn off sheet
  8546. 5:29:08protection then from there you can
  8547. 5:29:10delete it next all you need to do is
  8548. 5:29:13just take those charts and actually
  8549. 5:29:15extend them over so way they take up
  8550. 5:29:17that extra space and then once you're
  8551. 5:29:20complete with that turn back on the
  8552. 5:29:21sheet protection and now you can go
  8553. 5:29:24about actually sharing this so here I'm
  8554. 5:29:26coming into share and you can add an
  8555. 5:29:29email if you want or if you just want to
  8556. 5:29:31share it in general with a link you can
  8557. 5:29:33come down here and fine-tune the control
  8558. 5:29:36of a link to provide in this case I'm
  8559. 5:29:38selecting that I'm going to share with
  8560. 5:29:40anyone they can edit it you could make
  8561. 5:29:43it view but then they can't change the
  8562. 5:29:44dropdowns so I recommend that you still
  8563. 5:29:46leave it on edit you could set an
  8564. 5:29:48expiration and even password and then
  8565. 5:29:50from there click apply and now you have
  8566. 5:29:53a link to your dashboard that works even
  8567. 5:29:57if you don't have a Microsoft account so
  8568. 5:29:59here I am in incognito mode within my
  8569. 5:30:01browser so I'm not signed in at all and
  8570. 5:30:03I can actually go in and access this
  8571. 5:30:06dashboard and go through and select
  8572. 5:30:09something and it updates in real time
  8573. 5:30:11and because I got that sheet protection
  8574. 5:30:13on they can't go through and change
  8575. 5:30:14anything except for these dropdowns
  8576. 5:30:16don't believe me you can check out my
  8577. 5:30:18project via the link below but what
  8578. 5:30:20happens if we want to not only maybe
  8579. 5:30:22share our file but also write up what we
  8580. 5:30:26did the work we did with this and all
  8581. 5:30:28the different skills that we used well
  8582. 5:30:31that's the case of using something like
  8583. 5:30:34GitHub GitHub provides a location to
  8584. 5:30:37store Excel files like shown here along
  8585. 5:30:40with giving you the ability to go
  8586. 5:30:41through and perform a write up detailing
  8587. 5:30:43all the different work that you did now
  8588. 5:30:45if you wanted to see this you could just
  8589. 5:30:47navigate over to my project where you
  8590. 5:30:49download all these files from on GitHub
  8591. 5:30:52navigate into that project
  8592. 5:30:53one-board and in here has our Excel file
  8593. 5:30:56and also this read me which then appears
  8594. 5:30:59actually underneath here and details all
  8595. 5:31:01the different work that we did for this
  8596. 5:31:03now getting this project onto GitHub if
  8597. 5:31:06you're not familiar with GitHub up is
  8598. 5:31:09fairly complex we're actually going to
  8599. 5:31:11be saving this for after project 2 and
  8600. 5:31:14in that case navigating back to the
  8601. 5:31:16project itself we'll not only be
  8602. 5:31:18uploading project one we'll also be
  8603. 5:31:20uploading project two as well so after
  8604. 5:31:23we finish the last chapter chapter 8 on
  8605. 5:31:24power pivot we'll be getting into all of
  8606. 5:31:26this and you'll be learning more about
  8607. 5:31:28git GitHub and how to manage a
  8608. 5:31:33projects now from what I found working
  8609. 5:31:35in data science it's that the best way
  8610. 5:31:38to share your work and your project and
  8611. 5:31:40potentially collaborate with others is
  8612. 5:31:42use something like LinkedIn a social
  8613. 5:31:44media platform for networking in order
  8614. 5:31:46to share your project specifically here
  8615. 5:31:48I am on my profile right here and if we
  8616. 5:31:51scroll on down they have a section in
  8617. 5:31:53your profile to basically show all your
  8618. 5:31:56different projects that you've worked on
  8619. 5:31:58and contributed to and adding a project
  8620. 5:32:00is super simple I got to do is click
  8621. 5:32:02this plus icon include a description in
  8622. 5:32:05my case I was trying to help out job
  8623. 5:32:07Seekers inves salaries for their desired
  8624. 5:32:09jobs put in a few skills up to five of
  8625. 5:32:12Microsoft Excel data analysis or Excel
  8626. 5:32:14dashboards now for media they do have
  8627. 5:32:16options to add a link or media in the
  8628. 5:32:19case of the media it doesn't support
  8629. 5:32:21Excel files and then if you try to
  8630. 5:32:23insert your one Drive Link I ran into
  8631. 5:32:26errors so I find the best way to
  8632. 5:32:27actually just share the link is to post
  8633. 5:32:29it inside of the description from there
  8634. 5:32:32specify when you start and stopped on
  8635. 5:32:34this project anybody that contributed to
  8636. 5:32:37it this or anything that is associated
  8637. 5:32:39with and then from there click save the
  8638. 5:32:42other option that I recommend is
  8639. 5:32:44actually just going in and making a post
  8640. 5:32:47here I just write up a short little
  8641. 5:32:49description of what you did with your
  8642. 5:32:50project and then if you want include
  8643. 5:32:53something like an image or even
  8644. 5:32:55something like a gif which shows an
  8645. 5:32:56overview of the project and then
  8646. 5:32:58probably the most important thing is
  8647. 5:33:00actually sharing that link to your one
  8648. 5:33:02drive online you can also Post in the
  8649. 5:33:03comments and not include in the
  8650. 5:33:04description it's really up to you anyway
  8651. 5:33:06go through there and then post
  8652. 5:33:08so bam that's how you share your project
  8653. 5:33:11as a reminder we will be going into
  8654. 5:33:14greater detail into how to share both
  8655. 5:33:16this project and also the second project
  8656. 5:33:19on GitHub using git and also use things
  8657. 5:33:21like markdown in order to write about
  8658. 5:33:24your project but that'll be included
  8659. 5:33:26after we go through all of the different
  8660. 5:33:27Excel content just wanted to have a
  8661. 5:33:29quick way of you going through and
  8662. 5:33:31actually sharing what you've done so far
  8663. 5:33:33cuz I know you're probably excited and
  8664. 5:33:34proud of it all right in the next videos
  8665. 5:33:36we're going to be shifting gear into the
  8666. 5:33:38advanced chapters getting starting off
  8667. 5:33:41first with pivot tables with that I'll
  8668. 5:33:44see you in
  8669. 5:33:48there all right welcome to the advanced
  8670. 5:33:52chapter and because we're get into the
  8671. 5:33:54advanced section you know it's time for
  8672. 5:33:56a new
  8673. 5:33:57flannel and with this Advanced chapter
  8674. 5:34:00we're going to be focusing on a few core
  8675. 5:34:03topics that I think is going to make
  8676. 5:34:05your life a lot easier specifically
  8677. 5:34:07we're f focus on things like pivot
  8678. 5:34:08tables power query and also power pivot
  8679. 5:34:12all of these are great at automating my
  8680. 5:34:15Excel workflows to make it a lot easier
  8681. 5:34:18to do repetitive analytics that my boss
  8682. 5:34:21may come to me back and back again for
  8683. 5:34:23instead of with something like a formula
  8684. 5:34:25where I have to go through and make and
  8685. 5:34:27copy and paste that formula all over
  8686. 5:34:29again and rerun that whole analysis
  8687. 5:34:32these Advanced chapters are going to
  8688. 5:34:33make your life a lot easier anyway in
  8689. 5:34:35this chapter we're going to be focused
  8690. 5:34:36on pivot tables this lesson specifically
  8691. 5:34:39will be getting an intro into pivot
  8692. 5:34:41tables how to make them how to
  8693. 5:34:43manipulate them how to even read them in
  8694. 5:34:45the next lesson we'll be going into
  8695. 5:34:47advanced pivot tables looking at things
  8696. 5:34:50like grouping and even aggregating such
  8697. 5:34:52as getting percentages of grand totals
  8698. 5:34:55and whatnot and then the final lesson in
  8699. 5:34:57this chapter is on pivot charts which
  8700. 5:34:59allows us to basically take what we have
  8701. 5:35:01in our pivot tables and convert it into
  8702. 5:35:04a usable chart hence the name pivot
  8703. 5:35:07chart all right so let's actually get
  8704. 5:35:09into it and understanding why these
  8705. 5:35:12pivot tables are so
  8706. 5:35:16important so in the basics chapter we
  8707. 5:35:19made this table right here which uses
  8708. 5:35:23hardcoded values for the different job
  8709. 5:35:25titles along with the different months
  8710. 5:35:28and then from there uses formulas
  8711. 5:35:30specifically some product along with
  8712. 5:35:32some array calculations in order to
  8713. 5:35:35calculate how many job counts per month
  8714. 5:35:38this is cool and all but what happens if
  8715. 5:35:41we wanted to add another job title so
  8716. 5:35:44say we have like some like business
  8717. 5:35:45analyst or we have software developer
  8718. 5:35:48we'd have to actually manipulate and
  8719. 5:35:49upgrade all these different formulas
  8720. 5:35:51that we have here well here's that same
  8721. 5:35:53table but in a pivot table and by its
  8722. 5:35:58name that's what they're great at
  8723. 5:35:59they're great at pivoting and thus
  8724. 5:36:01aggregating data based on certain values
  8725. 5:36:04and whatnot so what is if we want to add
  8726. 5:36:07more job title this well I can just come
  8727. 5:36:09in here similar to how we manipulate a
  8728. 5:36:11table select this filter dropdown and
  8729. 5:36:13then go from there and select things
  8730. 5:36:15like oh I want to include something like
  8731. 5:36:16a business analyst and then the data
  8732. 5:36:19automatically updates for this no
  8733. 5:36:21readjusting formulas makes it super
  8734. 5:36:23simple I can even take this table a step
  8735. 5:36:25further and if I wanted to I can
  8736. 5:36:28actually filter by the job country in
  8737. 5:36:30this case I'm filtering by the United
  8738. 5:36:32States and we now have these values
  8739. 5:36:35makes it super simple anyway we're
  8740. 5:36:36getting ahead of ourselves we actually
  8741. 5:36:37need to get into creating our first
  8742. 5:36:39pivot
  8743. 5:36:42table all right so for the advanced
  8744. 5:36:44chapters it's going to be a little bit
  8745. 5:36:46different for what files you're going to
  8746. 5:36:47use for this the final results of this
  8747. 5:36:50lesson will be in the lesson title of
  8748. 5:36:53pivot table intro but what I want you to
  8749. 5:36:55do whenever you're going through or
  8750. 5:36:57following me along in this lesson is
  8751. 5:36:59actually revert back to the previous
  8752. 5:37:01file of the last lesson in this case or
  8753. 5:37:04the first lesson so we don't have one so
  8754. 5:37:06I have this one called zero of just
  8755. 5:37:07pivot tables that's the one you want to
  8756. 5:37:09start with so in this case pivot tables
  8757. 5:37:12itself just has the data tab of the data
  8758. 5:37:14we want to work with and this sheet of
  8759. 5:37:16the table that we've been familiar with
  8760. 5:37:17in Basics chapter which by the end of
  8761. 5:37:19this we're going to make a pivot table
  8762. 5:37:21out of and when out of I mean actually
  8763. 5:37:23of the core data itself anyway for the
  8764. 5:37:27actual pivot table intro this will have
  8765. 5:37:29also those similar tabs but then also
  8766. 5:37:32the lesson itself will have all the
  8767. 5:37:34different work that we've actually done
  8768. 5:37:36to complete what we need to do so feel
  8769. 5:37:38free to just have both of these up
  8770. 5:37:41during a lesson so that way you can
  8771. 5:37:42consult back and forth in case you get
  8772. 5:37:44lost all right so let's get into our
  8773. 5:37:46first pivot table we're going to be
  8774. 5:37:47using the data that we previous been
  8775. 5:37:48using of all the salary data for those
  8776. 5:37:51job titles anyway if I go into the
  8777. 5:37:53insert tab up here in the top left hand
  8778. 5:37:56corner I have pivot tables but I also
  8779. 5:37:57have recommended pivot tables if I don't
  8780. 5:38:00have an analysis in mind I could come
  8781. 5:38:02into recommended pivot tables a Pan's
  8782. 5:38:04going to appear on the right hand side
  8783. 5:38:06and notice here that it actually
  8784. 5:38:08selected the data range I know that's
  8785. 5:38:11the data range and it goes through and
  8786. 5:38:13provides some recommended different
  8787. 5:38:15pivot tables that you could put into
  8788. 5:38:18here whether you put it into a new sheet
  8789. 5:38:20or an existing sheet but I know what
  8790. 5:38:23analysis I want to do specifically I
  8791. 5:38:25want to do a count of the different job
  8792. 5:38:29titles so data engineer I want to find
  8793. 5:38:31the accounts of this senior data analyst
  8794. 5:38:33and so on right now it's not providing
  8795. 5:38:35any of that I don't typically find that
  8796. 5:38:36any time with recommended pivot tables
  8797. 5:38:38that it provides me what I want so I
  8798. 5:38:39don't find myself using that often
  8799. 5:38:41instead I go directly into pivot tables
  8800. 5:38:44right here and then we have three
  8801. 5:38:47options but we're really going to focus
  8802. 5:38:48for this lesson and this chapter is from
  8803. 5:38:51table or range I'm selected inside of A4
  8804. 5:38:55right now but it automatically knows
  8805. 5:38:58that this is the data range all the way
  8806. 5:39:00down to the bottom the other thing it
  8807. 5:39:01says is choose where you want the pivot
  8808. 5:39:03tail to place you can either do a new
  8809. 5:39:04worksheet or you can do inside the
  8810. 5:39:07existing worksheet but you have to
  8811. 5:39:08specify a location we don't want that I
  8812. 5:39:11typically like it in a new worksheet to
  8813. 5:39:13keep my analysis in one standard
  8814. 5:39:15location the last thing it asked is
  8815. 5:39:17whether you want to analyze multiple
  8816. 5:39:19tables specifically add this to the data
  8817. 5:39:22model we're going to be going into Data
  8818. 5:39:24models very heavily in the power pivot
  8819. 5:39:28chapter or chapter eight or last chapter
  8820. 5:39:30this is a super powerful feature when
  8821. 5:39:32you have multiple tables you need to
  8822. 5:39:33combine it we're not doing it in this
  8823. 5:39:35lesson or in this chapter so we're going
  8824. 5:39:37to leave it unchecked so now I'm in this
  8825. 5:39:39new sheet that I'm going to rename to
  8826. 5:39:42job count and I'm also going to move it
  8827. 5:39:45over here to the end anyway this pivot
  8828. 5:39:48table this pivot table 2 that is calling
  8829. 5:39:50it is there's nothing in it right now
  8830. 5:39:52and you notice there's a few things that
  8831. 5:39:54popped up first is the pivot table
  8832. 5:39:55analyze tab which is available with this
  8833. 5:39:58and also the design tab we'll be going
  8834. 5:40:01into these in some upcoming examples
  8835. 5:40:03that we're going to get into we're
  8836. 5:40:05however going to be focusing on for this
  8837. 5:40:07example example on the job count I'm
  8838. 5:40:08going to close this out on this pivot
  8839. 5:40:10tabl Fields pane right here now the
  8840. 5:40:14layout of this you may see it's somewhat
  8841. 5:40:16different is we have the columns over
  8842. 5:40:19here on the left so if you remember the
  8843. 5:40:21job tile short column job tile column
  8844. 5:40:22job location and then these fields on
  8845. 5:40:26the right hand side are things for like
  8846. 5:40:29filters row columns or values so I can
  8847. 5:40:31take the job title short column put into
  8848. 5:40:33something like the rows and get
  8849. 5:40:35basically all the values in the rows now
  8850. 5:40:37your layout may be a little bit
  8851. 5:40:38different if you come up and select the
  8852. 5:40:40tools icon right here you may be under
  8853. 5:40:43this Field section and area section
  8854. 5:40:46stacked which has the feels down here on
  8855. 5:40:48the bottom I personally don't really
  8856. 5:40:51like this because look how short my
  8857. 5:40:53column titles are so I like having them
  8858. 5:40:57like this instead anyway I think we
  8859. 5:40:59understand this columns area right here
  8860. 5:41:01but I don't think we understand these
  8861. 5:41:02filters rows columns and values so let's
  8862. 5:41:05explore this by calculating the counts
  8863. 5:41:08of these different job titles now
  8864. 5:41:10anytime I add something to the rows or
  8865. 5:41:12any of these columns I can either remove
  8866. 5:41:14it by grabbing it and pulling it off
  8867. 5:41:16notice they have the x mark on it or
  8868. 5:41:18similarly I can also just come in here
  8869. 5:41:21and click the uncheck Mark box that's
  8870. 5:41:23more applicable if especially for having
  8871. 5:41:26it in multiple different panes and want
  8872. 5:41:28to move it completely makes it simple
  8873. 5:41:30besides rows we also have columns and so
  8874. 5:41:32instead of the job titles being in rows
  8875. 5:41:35they're in the different columns I don't
  8876. 5:41:37really like this too much I typically
  8877. 5:41:38find myself using rows so we're trying
  8878. 5:41:40to calculate what is the count of these
  8879. 5:41:43job title shorts so I'm just going to
  8880. 5:41:44take that job title short again and put
  8881. 5:41:46it into the values and it automatically
  8882. 5:41:50Aggregates this by counts of that but
  8883. 5:41:54what happens if I don't want to do that
  8884. 5:41:55count aggregation well one way is to
  8885. 5:41:58come back into that values right here
  8886. 5:42:00and I'm going to just click it not right
  8887. 5:42:02click it just normal click it and then
  8888. 5:42:04go into value field settings and this
  8889. 5:42:07pop-up is going to come up first up is
  8890. 5:42:09the name of the column itself I actually
  8891. 5:42:11don't like this for of a name I'm just
  8892. 5:42:12going to rename this to job count under
  8893. 5:42:15here under the summarized values by tab
  8894. 5:42:17you can select a lot of different
  8895. 5:42:20aggregation methods we're going to stay
  8896. 5:42:22with count you can also change how you
  8897. 5:42:25show value as basically if we wanted to
  8898. 5:42:27do a percentage of some total or not
  8899. 5:42:29we're going to be jumping that in the
  8900. 5:42:30advaned lesson so stand by for that the
  8901. 5:42:32last thing to note with this is the
  8902. 5:42:34number format so I can come in here and
  8903. 5:42:36actually select in our case we have
  8904. 5:42:39thousand values so I like to use a th
  8905. 5:42:41separator along with zero decimal places
  8906. 5:42:44and then clicking okay to apply this all
  8907. 5:42:47it updates the formatting and the name
  8908. 5:42:49so we've going over rows columns and
  8909. 5:42:51values what happens if we want to then
  8910. 5:42:53filter let's say for only United States
  8911. 5:42:56jobs well I could drag something like
  8912. 5:42:59the job country column into filters and
  8913. 5:43:02right now it's selecting all you have
  8914. 5:43:04you see this pan come up right here and
  8915. 5:43:06from there here I can actually go
  8916. 5:43:08through and select something like the
  8917. 5:43:10United States click okay and now the
  8918. 5:43:13values as you can see they reduced and
  8919. 5:43:15are only United States value other type
  8920. 5:43:17of filterings I can do I can filter the
  8921. 5:43:19row itself so if I wanted to I could
  8922. 5:43:22select the different job titles that I
  8923. 5:43:24want to appear in this and click apply I
  8924. 5:43:27could also do something where let's say
  8925. 5:43:29I wanted only job title so we're going
  8926. 5:43:30to do a label filter and jobs that
  8927. 5:43:33contain the word data so I could just
  8928. 5:43:36type in here
  8929. 5:43:37data and whenever I filter it I get all
  8930. 5:43:40the different jobs that contain data
  8931. 5:43:41similarly I could also filter by this
  8932. 5:43:44job count here and that's by the values
  8933. 5:43:47filter so I'm going to remove this label
  8934. 5:43:49filters to start with and we can go back
  8935. 5:43:52in here in the values filter and we
  8936. 5:43:54could do something like hey we want to
  8937. 5:43:55get jobs that are only greater than
  8938. 5:43:59let's see here Cloud Engineers 33 I
  8939. 5:44:01don't want to see that anymore I get to
  8940. 5:44:03greater than 100 and it filters down but
  8941. 5:44:06we're not going to use any filters right
  8942. 5:44:07now so I'm going to one clear this
  8943. 5:44:10filter for the table and then also
  8944. 5:44:13remove this filter from filtering for
  8945. 5:44:16the United
  8946. 5:44:19States so let's get into taking this
  8947. 5:44:22analysis of step further and we're going
  8948. 5:44:23to want to now analyze the average
  8949. 5:44:27salary of these different job titles
  8950. 5:44:29while we're going through this we're
  8951. 5:44:31also going to be exploring the pivot
  8952. 5:44:32table analyze tab so a quick tour of
  8953. 5:44:35this tab first up over here on the left
  8954. 5:44:37is Pivot tables if I wanted to I could
  8955. 5:44:40go through and rename this i' probably
  8956. 5:44:42name this typically something similar to
  8957. 5:44:44what is my sheet name itself this case I
  8958. 5:44:47named it job count additionally inside
  8959. 5:44:49of here we have options which allows us
  8960. 5:44:52to do a lot of detailed control of how
  8961. 5:44:55we're building our pivot tables it's a
  8962. 5:44:56very Advanced feature I don't find
  8963. 5:44:58myself going into it quite often unless
  8964. 5:45:00I need to fine-tune the functionality of
  8965. 5:45:02it active field so that tells us
  8966. 5:45:04basically what's the active field
  8967. 5:45:06grouping is something we're going to go
  8968. 5:45:07into in the next lesson we actually go
  8969. 5:45:09and Performing groups of different job
  8970. 5:45:11titles slicers and timelines we're going
  8971. 5:45:13to be going into the last lesson on
  8972. 5:45:15pivot charts in order to basically use
  8973. 5:45:17these slicers and timelines to filter
  8974. 5:45:19data section is used to control our data
  8975. 5:45:21so I can click something like refresh or
  8976. 5:45:24refresh all it's going to refresh the
  8977. 5:45:26data that we have so in this case
  8978. 5:45:28remember business analyst is around
  8979. 5:45:301,1 so if I go back to our data itself
  8980. 5:45:34and I find this entry on business
  8981. 5:45:36analyst and then and let's say that
  8982. 5:45:37that's not correct and I delete that out
  8983. 5:45:39of there whenever I come back to this
  8984. 5:45:42table itself it still says
  8985. 5:45:461,1 what I have to do is well we've
  8986. 5:45:49updated the data so I have to well
  8987. 5:45:51refresh it now that I refreshed it it's
  8988. 5:45:54down to 1,000 I actually don't want to
  8989. 5:45:56remove that entry so I'm going to just
  8990. 5:45:58press contrl Z and bring that right back
  8991. 5:46:02and then also click refresh to make sure
  8992. 5:46:03it's up to date if I want to change the
  8993. 5:46:05data source or maybe the range I could
  8994. 5:46:07go into something like this of change
  8995. 5:46:08data source actions allow us to clear
  8996. 5:46:12select and even move a pivot table for
  8997. 5:46:14calculations they have things like
  8998. 5:46:16calculated fields and items but we're
  8999. 5:46:18going to get into measures and I feel
  9000. 5:46:20they're way more powerful so we're not
  9001. 5:46:21going to cover this much the last thing
  9002. 5:46:23to cover with this is over here on the
  9003. 5:46:25right hand side is the show sometimes
  9004. 5:46:28whenever you're navigating you'll click
  9005. 5:46:30into your pivot table and that pivot
  9006. 5:46:31table Fields pane won't pop up you can
  9007. 5:46:33also pan it on and off by clicking this
  9008. 5:46:36field list and if you didn't want
  9009. 5:46:38something like row labels at the top you
  9010. 5:46:40could just remove the field headers as
  9011. 5:46:42well so getting into that actual
  9012. 5:46:43analysis we want to analyze the salary
  9013. 5:46:46year average what is the average value
  9014. 5:46:50now I can't see all the different values
  9015. 5:46:51selected in here so I'm going to
  9016. 5:46:52actually going to go ahead and close
  9017. 5:46:54this paint up here to have a bigger view
  9018. 5:46:55anyway what it did was it did a sum of
  9019. 5:46:58the salary year average we don't really
  9020. 5:47:02want that we want to go to average and
  9021. 5:47:05I'll change this column name to to
  9022. 5:47:07average yearly salary now if you've been
  9023. 5:47:10following along since the basic chapter
  9024. 5:47:12you probably know that I prefer me
  9025. 5:47:14performing a median for this salary data
  9026. 5:47:17over an average but if you actually go
  9027. 5:47:20through this there's no median value for
  9028. 5:47:23this that doesn't mean you can't do
  9029. 5:47:25median in pivot tables you actually can
  9030. 5:47:27you can actually do even more advanced
  9031. 5:47:28stuff which we're going to get to in
  9032. 5:47:31chapter 8 and power pivot but for now
  9033. 5:47:33we're just going to stick to only
  9034. 5:47:35performing average for this I'm going to
  9035. 5:47:37click okay so the formatting on this is
  9036. 5:47:39all jacked up and we could go into that
  9037. 5:47:42field settings and adjust that or I can
  9038. 5:47:44actually go in as long as I have all the
  9039. 5:47:46values selected here I can select hey I
  9040. 5:47:49want to convert this to a currency and
  9041. 5:47:52that I don't want any decimal places and
  9042. 5:47:54it's going to format all the values and
  9043. 5:47:57I feel this is a little bit easier
  9044. 5:47:58because now actually if you go back and
  9045. 5:48:01in exploring the value field settings
  9046. 5:48:03inside of number format it actually
  9047. 5:48:05applied this custom formatting for me so
  9048. 5:48:08it knows to apply that since I applied
  9049. 5:48:10it to all the values that were visible
  9050. 5:48:12now since this is so easy I could also
  9051. 5:48:14do something like get the average of the
  9052. 5:48:16hourly salary once again it's doing the
  9053. 5:48:19sum of that and I don't want that I want
  9054. 5:48:22the average itself and I can change that
  9055. 5:48:25column Name by just going in here and
  9056. 5:48:27typing in average hourly salary
  9057. 5:48:31inspecting the value field setting it
  9058. 5:48:33also updates inside of here and I'm
  9059. 5:48:35going to go ahead and adjust the
  9060. 5:48:36formatting as well changes to a currency
  9061. 5:48:38with two decimal
  9062. 5:48:42places so let's get into actually
  9063. 5:48:44cleaning how this table looks up and we
  9064. 5:48:46can go and do this by going into the
  9065. 5:48:49design tab now I'm going to start over
  9066. 5:48:51here on the right in pivot table Styles
  9067. 5:48:52and we can actually change what it may
  9068. 5:48:55look like in this case I sort of like
  9069. 5:48:57this one right here the simplistic look
  9070. 5:49:00I can also change things like column
  9071. 5:49:02headers which I like the formatting on
  9072. 5:49:04it or whether I want banded rows or
  9073. 5:49:07banded columns in my case I kind of like
  9074. 5:49:09the banded rows we'll go with that last
  9075. 5:49:11portion is around the layout if you
  9076. 5:49:13notice down here we have this grand
  9077. 5:49:15total over here this is a grand total
  9078. 5:49:18based on well the column values it's
  9079. 5:49:21adding up all the values in the column
  9080. 5:49:22so this is on for the column so if I
  9081. 5:49:24wanted to turn it off for rows and
  9082. 5:49:26columns I could come up here and
  9083. 5:49:27actually do that I kind of like this so
  9084. 5:49:29we're going to leave it on I could also
  9085. 5:49:30turn on on for the rows and columns but
  9086. 5:49:34in this case because we're doing
  9087. 5:49:35different aggregation method so a count
  9088. 5:49:37here and an average here it's not
  9089. 5:49:40necessarily going to do anything over
  9090. 5:49:42here for the row grand total whereas for
  9091. 5:49:45something like the columns gram total
  9092. 5:49:48that knows that hey for a job count I
  9093. 5:49:50probably need the total count for the
  9094. 5:49:52average I probably need an average and
  9095. 5:49:54that's what it does for both of these
  9096. 5:49:56there's some additional ones up here on
  9097. 5:49:57adjusting the report layout adjusting
  9098. 5:49:59for blank rolls and then also subtitles
  9099. 5:50:01we'll be exploring that as we go along
  9100. 5:50:02as we build out more complex pivot
  9101. 5:50:04tables
  9102. 5:50:07so let's now get into that final
  9103. 5:50:09analysis and we're going to be creating
  9104. 5:50:11basically this pivot table that we did
  9105. 5:50:13previously with formulas and functions
  9106. 5:50:17so what we'll need to do or think of
  9107. 5:50:18right we're going to need the job title
  9108. 5:50:20short in the rows and we're going to
  9109. 5:50:23need the month the job posted months in
  9110. 5:50:27the columns and then we'll need to
  9111. 5:50:28aggregate this by count for the values
  9112. 5:50:31now I can navigate back to the data Tab
  9113. 5:50:33and once again go to insert pivot table
  9114. 5:50:36if you notice here it says from table or
  9115. 5:50:38range so that's the really good thing if
  9116. 5:50:41we actually convert this to a table
  9117. 5:50:43we'll now be able to once we do this
  9118. 5:50:45press okay and rename this to something
  9119. 5:50:48like jobs now we can really be anywhere
  9120. 5:50:51in this workbook in this case I created
  9121. 5:50:53a new sheet I go hey insert from table
  9122. 5:50:57arrange specifically I want to do a
  9123. 5:50:58table of jobs and we want to do this
  9124. 5:51:01existing worksheet in A1 and all the
  9125. 5:51:05values from that jobs table are now here
  9126. 5:51:08so we know we need the job title short
  9127. 5:51:10along the rows but then we need the job
  9128. 5:51:13posted month across the top which right
  9129. 5:51:17now we have a date we could put the date
  9130. 5:51:19into the columns but we get this air
  9131. 5:51:22Message hey you cannot place a field
  9132. 5:51:23that has more than well 16,000 different
  9133. 5:51:26values for it so we're not going to do
  9134. 5:51:28that also before we forget I'm going to
  9135. 5:51:30rename the sheet to monthly count anyway
  9136. 5:51:32we need a monthly value here so what
  9137. 5:51:36going to have to do is good thing about
  9138. 5:51:38the table itself is now that we've
  9139. 5:51:41created this as a table I know next to
  9140. 5:51:43this job posted date colum I want to
  9141. 5:51:45insert in a column called job posted
  9142. 5:51:48month and for this we'll just use that
  9143. 5:51:51text function that we already know using
  9144. 5:51:53the value of job posted date and then
  9145. 5:51:56for the format we know we want three
  9146. 5:51:59lowercase M to get the month itself it's
  9147. 5:52:02going to fill all the way down okay so
  9148. 5:52:03now we have job posted month going back
  9149. 5:52:05to our pivot table itself remember we're
  9150. 5:52:08not going to see job posted month in
  9151. 5:52:11here until we actually go back into
  9152. 5:52:14pivot table to analyze and click
  9153. 5:52:17refresh now job posted month is inside
  9154. 5:52:21of here and conveniently it's also in
  9155. 5:52:23the correct order now this thing is
  9156. 5:52:25completely blank right now we need to
  9157. 5:52:27actually add what values we want so I'm
  9158. 5:52:28going to drag job title short into
  9159. 5:52:31values and it's going to do a count
  9160. 5:52:33notice here we do have column value Val
  9161. 5:52:37which go up and down and then the row
  9162. 5:52:38values itself so we can see what the
  9163. 5:52:41count of business analyst is around 101
  9164. 5:52:44I'm not really a fan of these things
  9165. 5:52:46that say row and column labels I'm going
  9166. 5:52:48so I'm going to toggle off field headers
  9167. 5:52:49to make this look a little bit better
  9168. 5:52:51and I'm also going to change the name of
  9169. 5:52:53this to monthly job count so bam this is
  9170. 5:52:56looking good and we compare it to our
  9171. 5:52:58basically non-pa table just to make sure
  9172. 5:53:00that our values are correct we can see
  9173. 5:53:01we have 982 for data analyst come over
  9174. 5:53:04over to data analyst we have 982 all the
  9175. 5:53:07last thing we want to do is actually
  9176. 5:53:09filter this down and better sort our
  9177. 5:53:11values specifically I'm curious about
  9178. 5:53:13roles in the United States so I'm going
  9179. 5:53:15to drag that job country over here and
  9180. 5:53:18select United States from here to apply
  9181. 5:53:20to it additionally I care about the most
  9182. 5:53:22important jobs at the top and the least
  9183. 5:53:24important at the bottom mainly by this
  9184. 5:53:26grand total right here and so what I can
  9185. 5:53:28do is I can sort it by the grand total
  9186. 5:53:30but if you notice I remove that that
  9187. 5:53:32filter button right here whenever I
  9188. 5:53:34actually remove the field headers so I
  9189. 5:53:36can also go in Instead rightclick This
  9190. 5:53:40Grand the value inside of grand total
  9191. 5:53:42and I can say sort from in our case
  9192. 5:53:45largest to smallest so I feel like that
  9193. 5:53:48makes it a lot more convenient alsoo
  9194. 5:53:50sort additionally I'm noticing the
  9195. 5:53:51formatting isn't correct for this I'm
  9196. 5:53:54going to put in that comma separator and
  9197. 5:53:55then remove the two decimal places
  9198. 5:53:58similarly not only did we sort by the
  9199. 5:53:59grand total let's say I only wanted
  9200. 5:54:01maybe the top six of these right here I
  9201. 5:54:04could rightclick any of these job titles
  9202. 5:54:06right here and then go into filter in
  9203. 5:54:09this case I'm going to go top 10 instead
  9204. 5:54:12I'm going to select top six press okay
  9205. 5:54:15now that we have this all sorted I can
  9206. 5:54:17once again go into that design tab
  9207. 5:54:19change the grand totals we're going to
  9208. 5:54:20turn it on for columns only and Bam now
  9209. 5:54:25we have basically the same pivot table
  9210. 5:54:28that we had before with our values or
  9211. 5:54:30using formulas but instead now with
  9212. 5:54:32pivot tables and this is a lot more
  9213. 5:54:35customizable all right all right it's
  9214. 5:54:36your turn now to get your hands dirty
  9215. 5:54:38with some practice problems and
  9216. 5:54:39exploring how to make some different
  9217. 5:54:41pivot tables in the next lesson we're
  9218. 5:54:43going to go deeper with pivot tables
  9219. 5:54:45looking at things like grouping
  9220. 5:54:47hierarchy and how we can show different
  9221. 5:54:49values as with that I'll see you in the
  9222. 5:54:51next
  9223. 5:54:55one so let's get into some Advanced
  9224. 5:54:58pivot table features and for this lesson
  9225. 5:55:01and actually for everything in advanced
  9226. 5:55:03chapter we're going to be sticking with
  9227. 5:55:05that salary data set of over 30,000 rows
  9228. 5:55:09in order to actually analyze for this so
  9229. 5:55:11I'm not going to be calling it out
  9230. 5:55:13really any further into other lessons or
  9231. 5:55:16chapters the first thing we're going to
  9232. 5:55:17focus on is hierarchy which allows us to
  9233. 5:55:20look at things like we want to aggregate
  9234. 5:55:23not only the job title itself but also
  9235. 5:55:25by the country so what job titles are
  9236. 5:55:27within a country and then look at
  9237. 5:55:29specific values there for say like the
  9238. 5:55:31salary next we're going to move into
  9239. 5:55:33grouping focusing first on automatic
  9240. 5:55:35grouping basically using that job posted
  9241. 5:55:37date column to automatically aggregate
  9242. 5:55:40by year month and whatnot and from there
  9243. 5:55:43we'll then shift into some manual
  9244. 5:55:45grouping we'll be able to create groups
  9245. 5:55:48of different job titles and basically
  9246. 5:55:50break out whether we want to look at
  9247. 5:55:52maybe senior roles such as senior data
  9248. 5:55:54analyst senior data engineers and
  9249. 5:55:55compare them to just normal data nerd
  9250. 5:55:58roles such as data analyst or data
  9251. 5:55:59Engineers with this we're also going to
  9252. 5:56:01dive deep into understanding a deeper
  9253. 5:56:04method to analyze maybe percentages of
  9254. 5:56:07totals or percentages of grand totals
  9255. 5:56:09when analyzing these type of groups for
  9256. 5:56:12this you can continue working with that
  9257. 5:56:14workbook you were working with on the
  9258. 5:56:16last lesson if you've did everything you
  9259. 5:56:17did there or you can just open the pivot
  9260. 5:56:21table intro for this lesson once again
  9261. 5:56:25as a reminder the solution is going to
  9262. 5:56:27be in pivot table Advanced we don't want
  9263. 5:56:30to open that just yet because it could
  9264. 5:56:31mess up what we're doing here if I could
  9265. 5:56:34it is so we have four different sheets
  9266. 5:56:35that we cre created with this I only
  9267. 5:56:37really care about the data tab right now
  9268. 5:56:38so I'm actually going to select all
  9269. 5:56:40these other ones by holding control and
  9270. 5:56:42then right clicking it to hi
  9271. 5:56:47them so let's actually look what a
  9272. 5:56:50hierarchy actually creates I'm going to
  9273. 5:56:52go in and insert a pivot table from
  9274. 5:56:54table arrange remember we're using that
  9275. 5:56:56table of jobs you should have named the
  9276. 5:56:59table that in order for this to work and
  9277. 5:57:00we're going to insert it in a new
  9278. 5:57:01worksheet I'm going to move this over
  9279. 5:57:03and I'm also going to create uh call
  9280. 5:57:05this sheet hierarchy so for this we want
  9281. 5:57:08to look at the salaries for job titles
  9282. 5:57:11in a certain country so we're going to
  9283. 5:57:14start by dragging that job country over
  9284. 5:57:16to Rose and right now there's no
  9285. 5:57:19hierarchy but if I drag job title short
  9286. 5:57:23into the rows as well when we close this
  9287. 5:57:25tab up here we can see that now we have
  9288. 5:57:27two values in here and how we have
  9289. 5:57:30values underneath here we've now created
  9290. 5:57:33a hierarchy so Albania is basically the
  9291. 5:57:36parent or the top of this and then we
  9292. 5:57:39have data analyst data scientist senior
  9293. 5:57:41data scientist notice there's only three
  9294. 5:57:42values here and that's because an
  9295. 5:57:44Albania sort of a smaller country they
  9296. 5:57:46only have three types of jobs there at
  9297. 5:57:48least in the data set now we want to
  9298. 5:57:49look at salary for this so I'm going to
  9299. 5:57:51drag the salary your average into the
  9300. 5:57:53values it's going to do a sum once again
  9301. 5:57:56going into value field settings I'm
  9302. 5:57:58going to change this to average rename
  9303. 5:58:00the title to salary year average and
  9304. 5:58:02then changing the number format to
  9305. 5:58:04currency with zero decimal places
  9306. 5:58:07pressing okay for all this bam now I'm
  9307. 5:58:09also curious by this how many jobs we
  9308. 5:58:13actually have with a salary value this
  9309. 5:58:16just sort of an add-on so I'm going to
  9310. 5:58:17drag that salary year average over going
  9311. 5:58:20into the value field settings I'm going
  9312. 5:58:21to do a count of this and we'll call
  9313. 5:58:25this job count click okay so now we get
  9314. 5:58:28more of a relative idea of how many jobs
  9315. 5:58:30are so in Albania we have well only five
  9316. 5:58:32job postings so now I want to get into
  9317. 5:58:35actually seeing what countries have the
  9318. 5:58:38highest pay now as a refresher you can
  9319. 5:58:41come in here and select the dropdown and
  9320. 5:58:43we could either select how we're going
  9321. 5:58:45to filter the row labels or filter the
  9322. 5:58:48value labels but remember we want to
  9323. 5:58:51sort them and right now this is only the
  9324. 5:58:52or option to sort a toz or Za to a for
  9325. 5:58:55those row labels instead I can just
  9326. 5:58:58click make sure I'm clicking the Sal
  9327. 5:59:00your average because that's where I care
  9328. 5:59:01about I can rightclick it and from there
  9329. 5:59:03go to sort in this case sort large just
  9330. 5:59:06the smallest and what it did is it
  9331. 5:59:08sorted the values well within each of
  9332. 5:59:11these it still kept this kept the
  9333. 5:59:13countries in alphabetic order instead
  9334. 5:59:15what I can do is Select this cell for
  9335. 5:59:17the countries because I want to sort the
  9336. 5:59:19country's highest to lowest and then I
  9337. 5:59:22can sort largest to smallest as well now
  9338. 5:59:25this is pretty neat because now we can
  9339. 5:59:26see things like Belarus Russia Bahamas I
  9340. 5:59:29got to go down there have some of the
  9341. 5:59:31highest salaries by country and then
  9342. 5:59:32what those are based on the different
  9343. 5:59:34job titles there now some sometimes I
  9344. 5:59:36find reading this somewhat difficult in
  9345. 5:59:39this manner that it's laid out here I'm
  9346. 5:59:40going to show you how you can actually
  9347. 5:59:41change this so going back into the
  9348. 5:59:43design tab remember we had this reports
  9349. 5:59:46layout that we sort of breezed over last
  9350. 5:59:49right now it's in this show in compact
  9351. 5:59:51form we can actually change this to
  9352. 5:59:53something like show in outline form and
  9353. 5:59:55it will basically shift this over and
  9354. 5:59:58have this hierarchy basically in two
  9355. 6:00:00separate columns it also makes it nice
  9356. 6:00:02that you can actually a little bit
  9357. 6:00:03easier to sort with another method is
  9358. 6:00:06show in tabular form so now it basically
  9359. 6:00:09crunches it up and I actually like this
  9360. 6:00:11one even better and it's still breaking
  9361. 6:00:13out the job country and job title short
  9362. 6:00:15into two different columns but now it's
  9363. 6:00:17actually aggregated to less line so I
  9364. 6:00:19can actually see more data on here now
  9365. 6:00:21this is definitely a form that I'd like
  9366. 6:00:23if I want to hand over on boss and even
  9367. 6:00:24if I wanted to convert this even further
  9368. 6:00:26to what is this repeat all item labels
  9369. 6:00:29so now I could if I wanted to actually
  9370. 6:00:31copy and paste this into its own table
  9371. 6:00:34and analyze further at least now I have
  9372. 6:00:36like Bahamas with the software data
  9373. 6:00:38engineer not software data engineer I
  9374. 6:00:40mean software engineer or senior data
  9375. 6:00:43engineer anyway you may have noticed
  9376. 6:00:44there are some blank values in here and
  9377. 6:00:47that's because it has an Associated
  9378. 6:00:49hourly salary but not yearly what i'
  9379. 6:00:53need to do is actually apply a value
  9380. 6:00:55filter because it's a value so I come in
  9381. 6:00:58here and click to drop down go to Value
  9382. 6:01:00F filters and then maybe put something
  9383. 6:01:02like greater than we'll put zero and now
  9384. 6:01:06those values will
  9385. 6:01:10disappear next analysis we're going to
  9386. 6:01:12do is a count by the job month but we're
  9387. 6:01:16not going to use the this job posted
  9388. 6:01:18month column that we created in the last
  9389. 6:01:20lesson instead we're going to use
  9390. 6:01:22automatic grouping for this so we'll go
  9391. 6:01:25ahead insert in a pivot table we'll
  9392. 6:01:28insert into a new sheet and we'll call
  9393. 6:01:31this group automatic I'll go ahead and
  9394. 6:01:34move that to the very end okay so what
  9395. 6:01:36I'm going to do is I'm going to take the
  9396. 6:01:37job posted date remember it's a bunch of
  9397. 6:01:40dates and I'm going to throw it into the
  9398. 6:01:42rows and this is going to get into some
  9399. 6:01:44aggregation it's going to take a little
  9400. 6:01:45bit to load my computer's not even
  9401. 6:01:47loaded yet but it's about 15 seconds
  9402. 6:01:49later and it is now available if you
  9403. 6:01:52notice now we have this hierarchy of
  9404. 6:01:56this grouping and I can now dive into in
  9405. 6:02:00this case January and then one Jan here
  9406. 6:02:04and then diving in further we can dive
  9407. 6:02:06into specific times of job postings
  9408. 6:02:09going to go ahead and close this up if
  9409. 6:02:11we actually investigate over here inside
  9410. 6:02:14of here we can see that after I dragged
  9411. 6:02:16that job posted date over it basically
  9412. 6:02:18created a month days and then the date
  9413. 6:02:22itself which is actually a date time but
  9414. 6:02:25anyway three different values its own
  9415. 6:02:28hierarchy with this automatic grouping
  9416. 6:02:31and so now I can go in and do something
  9417. 6:02:34like drag the job title short into here
  9418. 6:02:36to get the job count I'm going to change
  9419. 6:02:38this
  9420. 6:02:39to job count also go in and actually
  9421. 6:02:43adjust the formatting but now whenever
  9422. 6:02:47actually go into each one of these
  9423. 6:02:48hierarchies and look in we can see how
  9424. 6:02:50many job postings were having on a daily
  9425. 6:02:53bra basis and how many were happening at
  9426. 6:02:56a certain date time so now let's say I
  9427. 6:02:58wanted to dive deeper to understanding
  9428. 6:03:01maybe why July had such a high number
  9429. 6:03:04compared to all the other months one I
  9430. 6:03:07could double click it or I can just
  9431. 6:03:08rightclick it and go to show details
  9432. 6:03:12this is going to show well the details
  9433. 6:03:15and if we actually go over to the job
  9434. 6:03:17posted date column it's going to have
  9435. 6:03:20all the values for July inside of here
  9436. 6:03:24so this is a pretty unique way to get
  9437. 6:03:27into diving deep and showing the details
  9438. 6:03:30of what is the data being used to
  9439. 6:03:33perform these aggregations and also
  9440. 6:03:35double check your
  9441. 6:03:38work now we're going to get into manual
  9442. 6:03:40grouping specifically we're going to
  9443. 6:03:42create this where we actually go through
  9444. 6:03:45and aggregate based on the job titles
  9445. 6:03:49itself assigning it into well a group so
  9446. 6:03:51put data analyst scientists and data
  9447. 6:03:53Engineers into Data nerds senior RS into
  9448. 6:03:55senior data nerds and then these guys
  9449. 6:03:57into other data nerds so we're going to
  9450. 6:03:59create a pivot table for this go in and
  9451. 6:04:02select okay using the jobs table and
  9452. 6:04:04we're going to be grouping the job title
  9453. 6:04:06short so I'll drag that into the rows
  9454. 6:04:08for the time being and we'll just start
  9455. 6:04:11by grouping just the data nerds so I'm
  9456. 6:04:14going to just select one of these and
  9457. 6:04:16then hold down control and then also
  9458. 6:04:17select data engineer and then also data
  9459. 6:04:19scientist then I'm going to rightclick
  9460. 6:04:21it and select group the other way I
  9461. 6:04:24could also do this is go into pivot
  9462. 6:04:26table analyze and select group selection
  9463. 6:04:30the next one on want to group are senior
  9464. 6:04:32roles so I'm going to just select all
  9465. 6:04:33the different senior roles conveniently
  9466. 6:04:35they're all right next to each other
  9467. 6:04:37then I'm going right click it and go to
  9468. 6:04:39group so now they're the own group the
  9469. 6:04:41only thing left is getting the rest of
  9470. 6:04:43these I'm actually going have to control
  9471. 6:04:45these select these and then these as
  9472. 6:04:47well and then from there we'll group
  9473. 6:04:51that for group one I'm just going to
  9474. 6:04:52select it come up to the formula bar and
  9475. 6:04:55type in data nerds name group two to
  9476. 6:04:58senior data nerds and then group three
  9477. 6:05:01to other data nerds also going to zoom
  9478. 6:05:04in a little bit to get a little bit
  9479. 6:05:05closer
  9480. 6:05:09now that we have all these grouped let's
  9481. 6:05:10actually dive into performing a
  9482. 6:05:13basically deeper anal analysis on this
  9483. 6:05:16to look at how or what percentages these
  9484. 6:05:19make up of all the job titles and also
  9485. 6:05:23of their respective groups specifically
  9486. 6:05:26we're going to be looking at on going
  9487. 6:05:27job the job title short over here we're
  9488. 6:05:29looking at the count and how the counts
  9489. 6:05:32of those jobs are going to be of the
  9490. 6:05:34percentages anyway I'm going change this
  9491. 6:05:36to job count along with going through
  9492. 6:05:39and updating the formatting to use a
  9493. 6:05:41comma and no decimal places so for this
  9494. 6:05:44I still wanted to use that basically
  9495. 6:05:46count of the job title short so with
  9496. 6:05:49these counts we're going to do the
  9497. 6:05:50percentages so I'm still going to use
  9498. 6:05:51that job title short column going to
  9499. 6:05:53drag it into the values we did a count
  9500. 6:05:57but now let's actually go in inside of
  9501. 6:05:59the value field setting remember we got
  9502. 6:06:02to that show value as and inside of here
  9503. 6:06:06we can have different values percent of
  9504. 6:06:09grand total percent of column total
  9505. 6:06:11percent of row total we're just going to
  9506. 6:06:12go percent of grand total to start press
  9507. 6:06:15okay and Bam this is now showing us the
  9508. 6:06:19percent of the grand total now I'm not
  9509. 6:06:22liking how this is ordered right now I'm
  9510. 6:06:24actually going to I'm going to sort this
  9511. 6:06:26selecting one of the values inside of
  9512. 6:06:28the job count from sort it from largest
  9513. 6:06:32to smallest and then also I want to do
  9514. 6:06:34the actual grand total itself sort
  9515. 6:06:36largest to smallest anyway we updated
  9516. 6:06:39this to percent of grand total we need
  9517. 6:06:41to update the title to specify perent of
  9518. 6:06:44grand total and so we can see that data
  9519. 6:06:47nerds for their parent are taking up
  9520. 6:06:50about 76% almost 34 of the jobs are that
  9521. 6:06:54and individually we can see that data
  9522. 6:06:56analysts are nearly 30% of that whereas
  9523. 6:06:59we get down to the other data nerds
  9524. 6:07:00they're only taking up a very small
  9525. 6:07:02percentage now what happens if we want
  9526. 6:07:04to see so what is data analyst of the
  9527. 6:07:08actual parent or what is the cloud
  9528. 6:07:09engineer of the parent other data nerds
  9529. 6:07:13well I can drag that job title short
  9530. 6:07:15into the values again it's aggregating
  9531. 6:07:17by count but I can go in and this time
  9532. 6:07:20I'm actually just going to rightclick it
  9533. 6:07:23and we can have this show value as I'm
  9534. 6:07:25going to use that instead we can do that
  9535. 6:07:27percent of grand total but instead I'm
  9536. 6:07:29going to come down here to percent of
  9537. 6:07:32parent total and in our case it's asking
  9538. 6:07:35us what is the parent now you didn't we
  9539. 6:07:38haven't gone over this but it actually
  9540. 6:07:40recreated that that grouping as job
  9541. 6:07:42title short two so I'm going to click
  9542. 6:07:44okay we don't want to do the job title
  9543. 6:07:46short that's not the parent job child
  9544. 6:07:49short to and that's you can see it
  9545. 6:07:52actually down here job title short too
  9546. 6:07:54it created inside the rows but anyway
  9547. 6:07:56getting back to the parent now it's
  9548. 6:07:58showing the percent that it takes to
  9549. 6:08:01make the parent and then obviously the
  9550. 6:08:02parent is at 100% so I'm going to rename
  9551. 6:08:06this one percent of parent now we just
  9552. 6:08:09looked at percent of grand total and
  9553. 6:08:11percent of parent but the show value as
  9554. 6:08:14has a lot of different other ones you
  9555. 6:08:16can also do in here if I wanted to I can
  9556. 6:08:18even do something like rank largest to
  9557. 6:08:22smallest once again it's asking us do we
  9558. 6:08:24want to rank part of the parent or part
  9559. 6:08:26of the job tile short I want to rank
  9560. 6:08:27part of job tile short and it will show
  9561. 6:08:29its individual rankings underneath each
  9562. 6:08:32from highest to lowest I'm going to go
  9563. 6:08:34ahead and undo this I don't want to know
  9564. 6:08:35necessarily keep that one more note
  9565. 6:08:37before we go for those that purchase the
  9566. 6:08:38course practice problems and also note I
  9567. 6:08:41also go into calculated items and field
  9568. 6:08:45and have its own little worksheet for
  9569. 6:08:47you to follow along and try out
  9570. 6:08:49calculated items and field I didn't
  9571. 6:08:51necessarily include it in this lesson
  9572. 6:08:53because I felt that it wasn't a very
  9573. 6:08:56powerful feature I instead use like
  9574. 6:08:58using measures instead which we going to
  9575. 6:09:00cover in the power pivot chapter but if
  9576. 6:09:02you're interested about it I have
  9577. 6:09:04content on it in our notes and those
  9578. 6:09:06calculated field and items is underneath
  9579. 6:09:09that pivot table analyze tab in here on
  9580. 6:09:12calculated field and items we're not
  9581. 6:09:13going to be covering it outside of those
  9582. 6:09:15notes that you can follow along and do
  9583. 6:09:16your own self-study with it all right
  9584. 6:09:18you have some practice problems now go
  9585. 6:09:19through and get more and familiar with
  9586. 6:09:22these Advanced features and pivot tables
  9587. 6:09:24because in the next lesson we're going
  9588. 6:09:25to be diving into actually making charts
  9589. 6:09:28out of these pivot tables using pivot
  9590. 6:09:29charts with that see you in the next one
  9591. 6:09:36moving now into pivot charts so we did a
  9592. 6:09:39lot of work already in analyzing things
  9593. 6:09:42with pivot tables we're going to take it
  9594. 6:09:44now to Next Level pivot charts
  9595. 6:09:46specifically we're going to be looking
  9596. 6:09:47at first what is the average salary by a
  9597. 6:09:50job title next we'll be looking at which
  9598. 6:09:53job has the highest percent of demand
  9599. 6:09:55and then finally lastly we'll be looking
  9600. 6:09:58at how basically how are jobs trending
  9601. 6:10:01over time we're going to be building all
  9602. 6:10:03these charts using pivot tables
  9603. 6:10:05additionally we're going to include the
  9604. 6:10:07features of slicers and also timelines
  9605. 6:10:12based on what chart we're using in order
  9606. 6:10:14to be able to filter down and more
  9607. 6:10:16easily make our graphs more interactive
  9608. 6:10:19as usual in the advanced chapters I want
  9609. 6:10:20you to starting with the Excel workbook
  9610. 6:10:24from the last lesson so pivot tables
  9611. 6:10:26advance and if you want to see the
  9612. 6:10:27examples or the final answer you could
  9613. 6:10:29go to Pivot charts for this we're not
  9614. 6:10:31going to be using the hierarchy or that
  9615. 6:10:34show Det tail tab so I'm going to go
  9616. 6:10:37ahead and hide
  9617. 6:10:40those so let's create this first chart
  9618. 6:10:43to analyze what is the top paying job in
  9619. 6:10:45data science for this I'm going to just
  9620. 6:10:47create a new pivot table for this using
  9621. 6:10:50that jobs table and we're going to be
  9622. 6:10:52aggregating by job title short in the
  9623. 6:10:54rows and then the salary your average in
  9624. 6:10:57the values and for this we want to
  9625. 6:10:59summarize values we don't want to do the
  9626. 6:11:01sum we're going to do the average I did
  9627. 6:11:03this by right clicking it but we do to
  9628. 6:11:05have these all formatted correctly in
  9629. 6:11:08currency with no decimal places and I'll
  9630. 6:11:10update the title as well to average
  9631. 6:11:13yearly salary so in order to insert in
  9632. 6:11:17this pivot chart we're going to go to
  9633. 6:11:19the insert Tab and we're going to come
  9634. 6:11:21here to Pivot chart there's only one
  9635. 6:11:23option right now because we're selected
  9636. 6:11:25on a pivot table and that's a pivot
  9637. 6:11:27chart itself so I'll go ahead and insert
  9638. 6:11:28it with this there's no recommended
  9639. 6:11:30charts but I know I want a column chart
  9640. 6:11:33so we're going to go with that and if
  9641. 6:11:35charts aren't that different from
  9642. 6:11:36regular charts I can come up here select
  9643. 6:11:38this plus sign I can remove things like
  9644. 6:11:41the legend I don't really need that and
  9645. 6:11:43then I can change things like the title
  9646. 6:11:45by just double clicking this to
  9647. 6:11:47something like what is the top paying
  9648. 6:11:49job in data science now you may notice
  9649. 6:11:51these pivot charts are a little bit
  9650. 6:11:52different as they have these field
  9651. 6:11:54buttons on here that basically allow you
  9652. 6:11:56to with the chart itself go in and
  9653. 6:11:58filter it this is really convenient if
  9654. 6:12:00them say this chart was in a different
  9655. 6:12:01page anyway I want to have these salary
  9656. 6:12:05sorted from highest to lowest so I can
  9657. 6:12:08come into here and you know we can go
  9658. 6:12:10sort A to Z or Z to A and you can change
  9659. 6:12:14it around we want to actually sort from
  9660. 6:12:16highest to lowest so I can come in here
  9661. 6:12:18under more sort options and I can change
  9662. 6:12:21this from the job title short column to
  9663. 6:12:23that average yearly salary column and we
  9664. 6:12:27want it to be descending and we'll click
  9665. 6:12:29okay so bam now we have our salary
  9666. 6:12:33oriented from high to low with our
  9667. 6:12:35values if you don't like these field
  9668. 6:12:38buttons right here you can come in and
  9669. 6:12:40right click it and go hide all field
  9670. 6:12:43buttons if you want but if you want to
  9671. 6:12:45get them back you have to come back
  9672. 6:12:46underneath the pivot chart analyze Tab
  9673. 6:12:49and select field buttons and uncollect
  9674. 6:12:52this hide
  9675. 6:12:55all the next thing to analyze is which
  9676. 6:12:58job has the highest percentage of demand
  9677. 6:13:01we're going to use that percentage of
  9678. 6:13:02grand total column before and we're
  9679. 6:13:04going to be adding a little twist with
  9680. 6:13:05this one as we're going to be also
  9681. 6:13:07building in some slicers so we can slice
  9682. 6:13:09the data for what we want so back inside
  9683. 6:13:12the work should you should be working in
  9684. 6:13:13so we want the percent of grand total
  9685. 6:13:15only so I'm going to move out count
  9686. 6:13:18percent of parent and also that rank
  9687. 6:13:20count to only have what we want next
  9688. 6:13:22move into getting a pivot chart Built
  9689. 6:13:24For This and once again I'm going to be
  9690. 6:13:26using that column chart I'll go ahead
  9691. 6:13:28and insert that I'm going rename this to
  9692. 6:13:30which job has the highest percentage
  9693. 6:13:32once again I don't really care about
  9694. 6:13:34that Legend now I want my basically
  9695. 6:13:38target audience whoever I give this to
  9696. 6:13:40to have control to be able to select
  9697. 6:13:42which group they can filter for whether
  9698. 6:13:46that's data nerds senior data nerds or
  9699. 6:13:47other data nerds so in order to control
  9700. 6:13:50that I'm going to first zoom out we're
  9701. 6:13:52going to insert some slicers for this so
  9702. 6:13:55if we come into the pivot chart analyze
  9703. 6:13:57tab we can have with this chart selected
  9704. 6:14:01I'm going to go into insert slicer and
  9705. 6:14:05we're going to do it for remember that
  9706. 6:14:06that group from last time is actually
  9707. 6:14:08job title short 2 and also we're going
  9708. 6:14:10to filter this one also by country I'm
  9709. 6:14:13going to click okay they're going to pop
  9710. 6:14:15up here on top of this I don't really
  9711. 6:14:16like this I'm going to drag it over and
  9712. 6:14:18I'm going to fix the formatting real
  9713. 6:14:19quick so now with these slicers I can
  9714. 6:14:23make it a lot easier for somebody using
  9715. 6:14:25this to come in and say hey I only want
  9716. 6:14:27to look at data nerds or I want to look
  9717. 6:14:29at other data nerds and see what their
  9718. 6:14:33appropriate percentage is when you click
  9719. 6:14:35on a slicer you will notice that this
  9720. 6:14:37slicer tab comes up there's some
  9721. 6:14:39different formatting options the one
  9722. 6:14:41thing that I Define myself do changing
  9723. 6:14:43is the appropriate label or the slicer
  9724. 6:14:46caption in this case I would rename this
  9725. 6:14:49one to something like job group and then
  9726. 6:14:51for the job country I would just rename
  9727. 6:14:53this to Country and you can see they
  9728. 6:14:56update appropriately here for it as a
  9729. 6:14:58refresher right if you wanted to select
  9730. 6:15:00multiple different op options I would
  9731. 6:15:03select this multi select right here and
  9732. 6:15:06then with that enabled I can then select
  9733. 6:15:07data nerds and also senior data
  9734. 6:15:12nerds the last visualization we're going
  9735. 6:15:14to be building with this it's a line
  9736. 6:15:16chart looking at how jobs are trending
  9737. 6:15:18out of time using that previous pivot
  9738. 6:15:20table we made on the job count for this
  9739. 6:15:22one we're going to be using a timeline
  9740. 6:15:24filter to be able to select down to
  9741. 6:15:26maybe a certain quarter or month so back
  9742. 6:15:29in the workbook that we're working in
  9743. 6:15:30I'm in this group automatic sheet we
  9744. 6:15:32want to create a pivot chart so I go to
  9745. 6:15:34insert and into pivot chart and for this
  9746. 6:15:37one we want a line so I'm going to go
  9747. 6:15:40ahead and insert that I'm going to give
  9748. 6:15:41this appropriate title of how are jobs
  9749. 6:15:44trending over time additionally I'm
  9750. 6:15:47going to remove that Legend and I want
  9751. 6:15:49to add a trend line to it now you notice
  9752. 6:15:52by this one the actual field values for
  9753. 6:15:55this you have multiple different ones
  9754. 6:15:57here remember it did that automatic
  9755. 6:15:59grouping in the last lesson so you have
  9756. 6:16:01not only months to filter by days and
  9757. 6:16:03also that job posted date so a lot more
  9758. 6:16:05values here now to add a timeline for
  9759. 6:16:07this I'm going to go up to Pivot chart
  9760. 6:16:09analyze and I'm going to go into insert
  9761. 6:16:12timeline there's only one value that's
  9762. 6:16:13going to be available for this job
  9763. 6:16:15posted date and right now if I expand
  9764. 6:16:18this all the way out we have all the
  9765. 6:16:20different months that are available I'm
  9766. 6:16:22going go ahead and close this up right
  9767. 6:16:24below it so if I wanted to filter by a
  9768. 6:16:27specific month I could be like hey I
  9769. 6:16:29want from February to November in this
  9770. 6:16:32case October I actually need to select
  9771. 6:16:34February I'm holding down my key for
  9772. 6:16:36this and then dragging to November
  9773. 6:16:38anyway I can also change this with this
  9774. 6:16:40filter not only months but also quarters
  9775. 6:16:44and even something like years I prefer I
  9776. 6:16:47typically analyze things in quarters so
  9777. 6:16:49we're going to do it that manner and I'm
  9778. 6:16:51also going to shift it up here to the
  9779. 6:16:53right hand side similar to slicers if I
  9780. 6:16:55have the timeline selected I can come up
  9781. 6:16:58here and actually change the name in
  9782. 6:17:00this case I'm going to change it to date
  9783. 6:17:02I could also change thing like
  9784. 6:17:04formatting or even things like color now
  9785. 6:17:07one thing to note with this with what I
  9786. 6:17:09have selected here it's only going to
  9787. 6:17:11filter what I have the chart set up to
  9788. 6:17:14or what I actually created the timeline
  9789. 6:17:16while the pivot chart was selected so
  9790. 6:17:17let's say I came into here and I wanted
  9791. 6:17:19to look at in our case just data nerds
  9792. 6:17:22and then also go into looking at the
  9793. 6:17:25counts themselves this isn't necessarily
  9794. 6:17:27going to update for that those slicers
  9795. 6:17:30aren't connected to other charts but you
  9796. 6:17:33can change it to do that so in this case
  9797. 6:17:35I could select something like the pivot
  9798. 6:17:37table itself going into pivot table
  9799. 6:17:39analyze and then here under filters
  9800. 6:17:42where you can create things like slicers
  9801. 6:17:44and timelines which we did in the pivot
  9802. 6:17:46chart anyway they have this thing called
  9803. 6:17:47filter connections and I'm going to
  9804. 6:17:50expand this out so we can actually see
  9805. 6:17:52it and right now we're saying that well
  9806. 6:17:54for pivot table 3 as we can see up here
  9807. 6:17:56probably need to give these even better
  9808. 6:17:58names only the date is actually
  9809. 6:18:02connected to this if I wanted to connect
  9810. 6:18:03the other ones such as country or job
  9811. 6:18:05group I'd have to select them and press
  9812. 6:18:08okay now I don't know if you noticed
  9813. 6:18:10that but it actually adjusted these
  9814. 6:18:12values actually decrease because I have
  9815. 6:18:15less values selected here whereas if I
  9816. 6:18:17actually select more all of these going
  9817. 6:18:20on this is going to increase the values
  9818. 6:18:24anyway that's sort of hard to see let's
  9819. 6:18:25actually show this by with uh sheet one
  9820. 6:18:29which actually should be something like
  9821. 6:18:31top paying jobs and in this case I can
  9822. 6:18:35go into pivot chart analyze into filter
  9823. 6:18:39connections and this is going to show us
  9824. 6:18:41based on pivot table 7 which is this one
  9825. 6:18:44right here I should have renamed these
  9826. 6:18:46there's no different slicers or
  9827. 6:18:48timelines attached to it so I can
  9828. 6:18:49actually select all of these and apply
  9829. 6:18:52it to this one and now when I go to our
  9830. 6:18:55grouping right here right so we had all
  9831. 6:18:57of them selected if I want to just look
  9832. 6:18:59at data nerds here so I can see the
  9833. 6:19:01percentages of data analyst dat engineer
  9834. 6:19:02and data scientist I can see what their
  9835. 6:19:05salaries are for it and then also I can
  9836. 6:19:08see their counts for those as well so
  9837. 6:19:11this is definitely a useful feature if
  9838. 6:19:12you're looking to link charts or
  9839. 6:19:15specifically pivot tables that are not
  9840. 6:19:17necessarily
  9841. 6:19:18connected all right now it's your turn
  9842. 6:19:20to get more familiar with using pivot
  9843. 6:19:22charts we have some practice problems
  9844. 6:19:24that you go through and actually
  9845. 6:19:25understand more about how to use them
  9846. 6:19:27with that in the next lesson we're going
  9847. 6:19:29to be jumping into well the next chapter
  9848. 6:19:32on Advanced Data analysis and using some
  9849. 6:19:34pretty unique and pretty complicated
  9850. 6:19:37features in order to analyze data so
  9851. 6:19:39with that I'll see you in that
  9852. 6:19:45one welcome to this chapter on Advanced
  9853. 6:19:48Data analysis and this entire chapter is
  9854. 6:19:51really focused on using addins which are
  9855. 6:19:55basically programs that people have
  9856. 6:19:56built to incorporate into Excel to do
  9857. 6:19:59very unique and specific tasks because
  9858. 6:20:03of that going from less lesson to lesson
  9859. 6:20:05we're not going to necessarily be
  9860. 6:20:07building on each other as we go through
  9861. 6:20:09these lessons every lesson is going to
  9862. 6:20:10be sort of its own unique sort of
  9863. 6:20:12Learning Journey about a specific
  9864. 6:20:14feature or features to start with this
  9865. 6:20:17lesson we're looking at just enabling
  9866. 6:20:19the add-ins and looking at some basic
  9867. 6:20:21ones such as what if analysis and we're
  9868. 6:20:24going to get more into it in a second
  9869. 6:20:25but we're going to be focused on looking
  9870. 6:20:27at if weed three different job offers
  9871. 6:20:30which one should we actually take in the
  9872. 6:20:32next lesson we're going to be continuing
  9873. 6:20:34on with what analysis focusing on data
  9874. 6:20:36tables and this shows us how values are
  9875. 6:20:38going to be changing based on one or
  9876. 6:20:41multiple variables and then finally the
  9877. 6:20:43third lesson is on an addin called
  9878. 6:20:46analysis tool pack that provides us
  9879. 6:20:49access to a lot of different statistical
  9880. 6:20:52analysis that we can just easily select
  9881. 6:20:55what type of analysis want to perform
  9882. 6:20:57and it does all the analysis for for us
  9883. 6:20:59and provides it in a sheet pretty neat
  9884. 6:21:02anyway getting into this lesson we're
  9885. 6:21:04going to start by first enabling these
  9886. 6:21:06add-ins so that way you have it and then
  9887. 6:21:07from there we're going to move into our
  9888. 6:21:09first somewhat simple example
  9889. 6:21:11forecasting what's going to happen into
  9890. 6:21:13the future specifically we're going to
  9891. 6:21:15look in at our past job postings and try
  9892. 6:21:17to predict what's going to happen in the
  9893. 6:21:19future from there we're going to be
  9894. 6:21:20moving into what if analysis and for
  9895. 6:21:24this we're going to have a scenario
  9896. 6:21:26where we have three job offers and we're
  9897. 6:21:28trying to find what is the most optimal
  9898. 6:21:30one we're going to use things like
  9899. 6:21:32scenario manager to go through and
  9900. 6:21:34automatically calculate what it should
  9901. 6:21:36be for those three different job offers
  9902. 6:21:39and then let's say we need to actually
  9903. 6:21:40negotiate one of those job offers and we
  9904. 6:21:43want to match another we can use solver
  9905. 6:21:45or goalkeeper and both of these have
  9906. 6:21:48both unique different features of them
  9907. 6:21:50that we're going to dive into to allow
  9908. 6:21:52us to adjust what we could potentially
  9909. 6:21:54negotiate for better job offers one
  9910. 6:21:57quick reminder on which versions of
  9911. 6:21:59excel will support this chapter on
  9912. 6:22:02Advanced Data analysis all of them will
  9913. 6:22:04with the exception of Microsoft online
  9914. 6:22:07it doesn't have the ability to add in
  9915. 6:22:10these specific addins but you're on Mac
  9916. 6:22:13or the windows version you're going to
  9917. 6:22:14be completely fine so for this we're
  9918. 6:22:16going to be working inside of the
  9919. 6:22:18analysis addins workbook I know it said
  9920. 6:22:21previously you need to work with the
  9921. 6:22:22previous workbook from the previous
  9922. 6:22:23lesson but this chapter in general
  9923. 6:22:26doesn't build on anything it has
  9924. 6:22:27everything you need within the workbook
  9925. 6:22:30so you're going to be fine with this
  9926. 6:22:31anyway we just need two sheets from this
  9927. 6:22:33forecast original and what if analysis
  9928. 6:22:35all the others are just the results that
  9929. 6:22:37we're going to be getting and feel free
  9930. 6:22:39to go through and select the sheets that
  9931. 6:22:41we're not using so these four in this
  9932. 6:22:42case and hide them so that way we only
  9933. 6:22:46have the two sheets of forecast original
  9934. 6:22:48and what if
  9935. 6:22:52analysis so before we enable addins I
  9936. 6:22:54think you need to know what are exactly
  9937. 6:22:57Excel addins here I am in perplexity a
  9938. 6:23:00and I asked the question and it goes
  9939. 6:23:02into to specify What It Is by saying
  9940. 6:23:04that basically interacts with Excel
  9941. 6:23:06objects and data and it will add custom
  9942. 6:23:09ribbon buttons or menu items and thus
  9943. 6:23:12providing custom functions now this is a
  9944. 6:23:14little technical but there are three
  9945. 6:23:16different type of addins they have web
  9946. 6:23:18Excel and com add-ins today we're going
  9947. 6:23:20to be importing in Excel addins which
  9948. 6:23:23are actually created using something
  9949. 6:23:24like VBA anyway the most popular Excel
  9950. 6:23:27add-ins are things like solver power
  9951. 6:23:29pivot power query you don't necessarily
  9952. 6:23:31have to add in unless it's not included
  9953. 6:23:33and then also things like analysis tool
  9954. 6:23:35pack which we're going to get to in that
  9955. 6:23:36third lesson all right enough on the
  9956. 6:23:38history lesson let's actually get into
  9957. 6:23:39enabling your addins if you go to the
  9958. 6:23:41data tab right now you'll probably see
  9959. 6:23:43that you have this forecast section so
  9960. 6:23:45you do have what if analysis available
  9961. 6:23:47but you don't have anything ex else over
  9962. 6:23:50here right now it's um well usually
  9963. 6:23:52blank but we're going to add to it so
  9964. 6:23:53I'm going to go into file and then from
  9965. 6:23:55there it's hidden but under more I'm
  9966. 6:23:57going to go to options on the menu on
  9967. 6:23:59the left hand side I'm going to go into
  9968. 6:24:01addins and this menu right here tells
  9969. 6:24:03you what your active application addins
  9970. 6:24:06are right now I have no active
  9971. 6:24:07applications and then your inactive
  9972. 6:24:10application addins so I do have access
  9973. 6:24:12to all these different ones right here
  9974. 6:24:14so I want to enable them specifically I
  9975. 6:24:17want this analysis tool pack and then
  9976. 6:24:19well the one we're going to use in this
  9977. 6:24:20lesson solver so um on manage I have
  9978. 6:24:24Excel addins that's the one that I want
  9979. 6:24:25to actually use for this I'm going to
  9980. 6:24:27click go and now we need to enable which
  9981. 6:24:29ones we're going to use so analysis tool
  9982. 6:24:31pack for the third lesson and solver for
  9983. 6:24:33this one from there I'm going to click
  9984. 6:24:35okay and now over here on the right hand
  9985. 6:24:38side we have analysis popup data
  9986. 6:24:40analysis which is the analysis tool pack
  9987. 6:24:42and then solver is the solver
  9988. 6:24:47added so let's actually get into
  9989. 6:24:50forecasting specifically looking at what
  9990. 6:24:52we expect job postings it to be next
  9991. 6:24:55year and right here in the forecast
  9992. 6:24:57original sheet I have date and then also
  9993. 6:25:00the job count and this goes all the way
  9994. 6:25:03for or this is all the data for 2023
  9995. 6:25:07anyway this example is going to show the
  9996. 6:25:08custom features that we really can do
  9997. 6:25:11with some of these add-ins and also
  9998. 6:25:12built-in features so I can select the
  9999. 6:25:15date and job count column and then for
  10000. 6:25:18this we're going to go into the forecast
  10001. 6:25:20and specifically to forecast sheet in
  10002. 6:25:23this it plots in blue what are our
  10003. 6:25:26values that we currently have for
  10004. 6:25:28basically 2023 and then from there it
  10005. 6:25:31plots into the future using this orange
  10006. 6:25:33I can toggle this between this a line
  10007. 6:25:35chart and also a column chart but I'm
  10008. 6:25:38not really finding the column chart that
  10009. 6:25:39useful It's Time series data so I'm
  10010. 6:25:41going to go back to that line chart the
  10011. 6:25:43other major thing I control is the
  10012. 6:25:44forecast end date so if I wanted to only
  10013. 6:25:46do maybe two months I could change this
  10014. 6:25:49instead to end in March additionally
  10015. 6:25:52have hidden underneath this drop down of
  10016. 6:25:54options the ability to go in and
  10017. 6:25:57actually change other things like
  10018. 6:25:59confidence interval and seasonality and
  10019. 6:26:01things like that right now it's
  10020. 6:26:03automatic set it up to basically detect
  10021. 6:26:06automatically and seasonality is as you
  10022. 6:26:08notice in this data it goes up and down
  10023. 6:26:11up and down up and down it has a
  10024. 6:26:12seasonality to it basically every single
  10025. 6:26:15week there's more postings during the
  10026. 6:26:16week and on the weekend there's less as
  10027. 6:26:19expected so this seasonality is carried
  10028. 6:26:23out into the predicted data as you can
  10029. 6:26:25see here because it's still in the
  10030. 6:26:27orange actually goes up and down anyway
  10031. 6:26:30going to close this this is great I'm
  10032. 6:26:31going to click create in this new sheet
  10033. 6:26:34it automatically has this popup here
  10034. 6:26:36that says this table contains a copy of
  10035. 6:26:38your data with additional forecast of
  10036. 6:26:40values at the end you can manually edit
  10037. 6:26:42the forecasting formulas in the sheet or
  10038. 6:26:43return to the original data to create a
  10039. 6:26:45different forecast worksheet okay great
  10040. 6:26:46got it I'm going to zoom out a little
  10041. 6:26:48bit and what this table did is it still
  10042. 6:26:50kept that date and job count column but
  10043. 6:26:52it also built out three other columns to
  10044. 6:26:55actually look at scroll all the way down
  10045. 6:26:58what the forecasted would be a lower
  10046. 6:27:01confidence band and then an upper
  10047. 6:27:02confidence band and then looking at the
  10048. 6:27:05actual chart that it provides we can see
  10049. 6:27:08this where this darker orange color is
  10050. 6:27:11what The Forecastle band is this is the
  10051. 6:27:13upper band and then this is the lower
  10052. 6:27:14band anyway that's pretty cool that I
  10053. 6:27:16could generate this all by just clicking
  10054. 6:27:19a single button of forecast
  10055. 6:27:23sheet all right now we're going to move
  10056. 6:27:25into wh if analysis and we click this wh
  10057. 6:27:28if analysis we have three different
  10058. 6:27:30things here we have scenario manager
  10059. 6:27:32goal seeker and data table
  10060. 6:27:34for this one we're going to start with
  10061. 6:27:36scenario manager but let's first go over
  10062. 6:27:38what the data is here in the sheet that
  10063. 6:27:40we're trying to basically trying to
  10064. 6:27:42calculate first let's focus on these
  10065. 6:27:44columns B and C this is a if you will
  10066. 6:27:47dashboard or calculator that I built so
  10067. 6:27:49I can put into here a base salary a
  10068. 6:27:52bonus rate and then an annual raise
  10069. 6:27:54amount and it will calculate it so let's
  10070. 6:27:56say our base salary is 12,000 I can put
  10071. 6:27:59that into here assuming the same 10% and
  10072. 6:28:011.5% it's going to automatically update
  10073. 6:28:03for this over here on the right hand
  10074. 6:28:05side in E through H over here we have
  10075. 6:28:09three different job offers that we
  10076. 6:28:12received and they consist of the base
  10077. 6:28:14salary the bonus rate and the annual
  10078. 6:28:17raise underneath here this fourth or
  10079. 6:28:19fifth row if you will this is
  10080. 6:28:21constraints that we're going to use
  10081. 6:28:22later on I would just ignore this right
  10082. 6:28:24now so what's going on down here in the
  10083. 6:28:26result cell well what we're doing is
  10084. 6:28:29we're
  10085. 6:28:30calculating what the expected salary is
  10086. 6:28:34for year zero all the way to year four
  10087. 6:28:37and then from there we're actually
  10088. 6:28:38getting a total so in this case this is
  10089. 6:28:41summing up all these values right here
  10090. 6:28:44so why am I doing four years why am I do
  10091. 6:28:46a total left for these four years well
  10092. 6:28:48the Bureau of Labor Statistics basically
  10093. 6:28:51estimates that most people have the
  10094. 6:28:53average tenure at a company of four
  10095. 6:28:55years so the idea with this calculator
  10096. 6:28:59that I've made is that we're able to
  10097. 6:29:01calculate based on a job offer we re
  10098. 6:29:04what would we expect if we were to stay
  10099. 6:29:07at the basically average amount or
  10100. 6:29:09median amount of time that a normal
  10101. 6:29:11person stays at a job like just looking
  10102. 6:29:13at what's the first year because
  10103. 6:29:15sometimes things like bonuses and annual
  10104. 6:29:18raise may actually push us into higher
  10105. 6:29:21salaries even though the base salary is
  10106. 6:29:24lower than another salary so it
  10107. 6:29:26basically helps calculate this out and
  10108. 6:29:27even the playing field for these three
  10109. 6:29:30jobs that we're trying to calculate
  10110. 6:29:31anyway you can go through if you want to
  10111. 6:29:33and and understand what formulas are
  10112. 6:29:35going on behind the scenes here but
  10113. 6:29:37basically I'm just taking into account
  10114. 6:29:39these three parameters right here and
  10115. 6:29:41then every year basically starting with
  10116. 6:29:43that previous years and then adjusting
  10117. 6:29:46it for the annual raise and then giving
  10118. 6:29:48it its appropriate bonus so as expected
  10119. 6:29:51because there's an annual raise on each
  10120. 6:29:52one of these the salaries are going up
  10121. 6:29:54so with that what is going on here do I
  10122. 6:29:57need to actually go through and actually
  10123. 6:29:59put in every single one of those jobs so
  10124. 6:30:02I'll put in job one and get the 566,000
  10125. 6:30:05and then now do the second job and third
  10126. 6:30:07job no I can use scenario manager for
  10127. 6:30:10this so going into what if analysis I
  10128. 6:30:12select scenario manager and we're going
  10129. 6:30:14to add three different scenarios so I'm
  10130. 6:30:17going to come up here and select add
  10131. 6:30:20this scenario name we're going to call
  10132. 6:30:21it job one next we're going to move into
  10133. 6:30:25what we're going to use for the changing
  10134. 6:30:26cells and I've labeled these basically
  10135. 6:30:29or made these into an input format we're
  10136. 6:30:32going to select these three right here
  10137. 6:30:33so C3 through C5 we'll leave the comment
  10138. 6:30:36as is protection as prevent changes and
  10139. 6:30:38go to okay now it's going to ask us what
  10140. 6:30:42values we want to use for each in this
  10141. 6:30:44case I use 100,000 10% and 1.5 it's
  10142. 6:30:47already filled in pre-filled in from
  10143. 6:30:49there I'm going to click okay now we
  10144. 6:30:51need to add job two for this I'm going
  10145. 6:30:53to leave changing cells the same this
  10146. 6:30:55one I'm going to change to 880,000
  10147. 6:30:5815% and then change this bottom one to
  10148. 6:31:021.2%
  10149. 6:31:04then finally we need to add that job
  10150. 6:31:05three one of the last steps we need to
  10151. 6:31:07do is now go into summary right here and
  10152. 6:31:10for this we need to figure out what we
  10153. 6:31:12want to actually have it provide for us
  10154. 6:31:15in our case we want the result cell of
  10155. 6:31:17C9 through c14 to be provided from there
  10156. 6:31:21we click okay and bam we're going to get
  10157. 6:31:24this scenario summary sheet that goes
  10158. 6:31:27through in details based on job one job
  10159. 6:31:31two and job three for the value that we
  10160. 6:31:34input into it and from there it's going
  10161. 6:31:36to tell us what year zero is year 1 2 3
  10162. 6:31:41all the way down to the total salary now
  10163. 6:31:43one thing to note is you see these names
  10164. 6:31:46of Base bonus raise year zero uh and
  10165. 6:31:48then total salary if I go back to what
  10166. 6:31:51if analysis I've actually gone through
  10167. 6:31:53already for you and actually Nam this so
  10168. 6:31:56in this case I'm selecting zero it's
  10169. 6:31:58named year zero and total salary if I
  10170. 6:32:01were to use things that were maybe not
  10171. 6:32:04named it would just provide the cell so
  10172. 6:32:06if we're using the values here it would
  10173. 6:32:08just going to be provide F6 and in that
  10174. 6:32:10case we would have saw F6 here also back
  10175. 6:32:13in the scenario summary you may not have
  10176. 6:32:14ever saw this before but Excel allows
  10177. 6:32:17this sort of grouping if you will to
  10178. 6:32:20basically manipulate the sheets and what
  10179. 6:32:23values are hidden or potentially shown
  10180. 6:32:26here anyway pretty unique feature that
  10181. 6:32:28you may or may not have seen
  10182. 6:32:32before all right moving on to goal
  10183. 6:32:35Seeker let's say we have the scenario
  10184. 6:32:38now where we got the job offer for job
  10185. 6:32:42one in this case but we want to try to
  10186. 6:32:45match that of job three specifically if
  10187. 6:32:48I go back to that scenario summary sheet
  10188. 6:32:49we can see that job one is at around
  10189. 6:32:53566,000 but job three is at 640,000
  10190. 6:32:56we'll say we have some Insider
  10191. 6:32:58information that human resources told us
  10192. 6:33:02hey we can't adjust the base or the
  10193. 6:33:03bonus but we can adjust the raise what
  10194. 6:33:07raise you get every year and so you
  10195. 6:33:09could potentially ask for a higher Rays
  10196. 6:33:12what Rays would you need to basically
  10197. 6:33:14put into here to get equal to that job
  10198. 6:33:17three so the first thing I'm going to do
  10199. 6:33:18is go in and make sure that we have
  10200. 6:33:20inside of our formula input in the job
  10201. 6:33:22one actual statistics of it so 100,000
  10202. 6:33:2610% and 1.5% for the annual raise now I
  10203. 6:33:30could go through there so I type 1.7%
  10204. 6:33:33and then 1.8% and just keep on going up
  10205. 6:33:36until I actually find what it is or
  10206. 6:33:39instead we can just actually use this
  10207. 6:33:40goal seeker and for this we're going to
  10208. 6:33:42be setting a cell specifically cell
  10209. 6:33:45c14 to that 640,000 that we want to get
  10210. 6:33:50to and we need to provide what cell
  10211. 6:33:52we're going to actually change in this C
  10212. 6:33:54case we're going to change cell
  10213. 6:33:57C5 which is the annual raise no for this
  10214. 6:34:00we can only change one option we're
  10215. 6:34:02going to be able to change M multiple
  10216. 6:34:03the next scenario but not in this one of
  10217. 6:34:05goal Seeker so from there I'll go ahead
  10218. 6:34:07and click okay and Bam automatically
  10219. 6:34:11goes through I don't know if you saw
  10220. 6:34:13that it Ste through it and it went up to
  10221. 6:34:167.6% and that's what we'll need in order
  10222. 6:34:18to get to that 640,000 and it even
  10223. 6:34:21provides an old nice dialogue box saying
  10224. 6:34:23that hey it did find a solution
  10225. 6:34:25sometimes you may put a goal in that's
  10226. 6:34:27not achievable and in this case it would
  10227. 6:34:29it would tell
  10228. 6:34:32you so
  10229. 6:34:347.76% is a pretty high raise let's say
  10230. 6:34:38we get further information from HR
  10231. 6:34:40saying hey we can actually change not
  10232. 6:34:43only the annual raise but also your
  10233. 6:34:45bonus we still have the same scenario
  10234. 6:34:47you can't change the base salary needs
  10235. 6:34:49to stay at 100,000 for that first year
  10236. 6:34:52so we have multiple parameters now that
  10237. 6:34:54are changing this is when we're going to
  10238. 6:34:56shift from using this goal Seeker now
  10239. 6:34:59over to solver one thing before we start
  10240. 6:35:02we need to actually reset these values
  10241. 6:35:04in here I'm going to change this back to
  10242. 6:35:081.5% both of these Step Up in value so
  10243. 6:35:10you want to reset it before you go so
  10244. 6:35:13opening up solver I'm going to set the
  10245. 6:35:16objective as before that c14 of that
  10246. 6:35:19total salary and we want to get it to a
  10247. 6:35:22salary of 640,000 and we want to do this
  10248. 6:35:26by like we said we can change two things
  10249. 6:35:28in this case the bonus and the annual
  10250. 6:35:30raise we can also add constraints which
  10251. 6:35:33we'll do in a second after we just run
  10252. 6:35:36through this one but I want to actually
  10253. 6:35:37just go through and solve it first and
  10254. 6:35:40the last thing we need to look at is
  10255. 6:35:42select a solving method we're going to
  10256. 6:35:44just leave it here I really like this
  10257. 6:35:45grg nonlinear we'll leave it that for
  10258. 6:35:48the time being and we'll go ahead and
  10259. 6:35:49click solve now for this it says solver
  10260. 6:35:52found a solution all constraints and
  10261. 6:35:54optionality conditions are satisfied as
  10262. 6:35:56we can see it increased the bonus and
  10263. 6:35:58then also the annual raise and we got to
  10264. 6:36:00that 640,000 inside of this popup box we
  10265. 6:36:04can have it output certain reports so
  10266. 6:36:06I'm going to just hold control and
  10267. 6:36:08select multiple different reports along
  10268. 6:36:11with clicking this for outline reports
  10269. 6:36:13that's it's going to actually print to
  10270. 6:36:14different sheets and from there click
  10271. 6:36:18okay anyway the most important of these
  10272. 6:36:20three different reports that it gave to
  10273. 6:36:22us feels the answer report basically
  10274. 6:36:24tells us hey what was the original
  10275. 6:36:26values put in for the D bonus and raise
  10276. 6:36:29and then what are the final values in
  10277. 6:36:31order to get to that final value of 6
  10278. 6:36:3340,000 they also have these two other
  10279. 6:36:36reports one on sensitivity analysis and
  10280. 6:36:39the other one evaluating the limits
  10281. 6:36:40which we're going to get to um but these
  10282. 6:36:42I don't find as important so now with
  10283. 6:36:44this with solver we found that we can
  10284. 6:36:46input more than one different input now
  10285. 6:36:49we can also specify constraints if I
  10286. 6:36:52come back up to solver and it says Hey
  10287. 6:36:54in this dialogue box subject to the
  10288. 6:36:58constraint right now the annual raise is
  10289. 6:37:00sort of low still at 2.1% but that bonus
  10290. 6:37:04skyrocketed it was previously at 10% and
  10291. 6:37:07it went all the way up to 23% so we
  10292. 6:37:09could actually put some constraints in
  10293. 6:37:11by clicking add and we'll say hey the
  10294. 6:37:13bonus we're not going to let that exceed
  10295. 6:37:1715% we'll click add for that and then
  10296. 6:37:20for the next one we don't want the
  10297. 6:37:23annual raise to exceed we'll say 4% and
  10298. 6:37:27we'll click okay remember I did name
  10299. 6:37:30these cells so that's why it pops up
  10300. 6:37:32automatically as B and raise makes it
  10301. 6:37:34super easy whenever you name cells all
  10302. 6:37:36right let's go ahead and click solve so
  10303. 6:37:39look at this solver could not find a
  10304. 6:37:42feasible solution with these constraints
  10305. 6:37:45basically maxed out the bonus and maxed
  10306. 6:37:48out that annual raise and we didn't get
  10307. 6:37:49to that 640,000 so what I can do is I
  10308. 6:37:52can return to the solver parameters
  10309. 6:37:54dialogue click okay and in this case
  10310. 6:37:57I'll change the bonus to we'll say 20%
  10311. 6:38:01now and then for the raise we'll change
  10312. 6:38:03this to 5% click okay and then try to
  10313. 6:38:07solve again and we found a solution we
  10314. 6:38:11have 17% and
  10315. 6:38:144.4% and for this I'm going to Output
  10316. 6:38:16the answers I'll click outline reports
  10317. 6:38:19to export it click okay close this out
  10318. 6:38:22and then go to the report we can see
  10319. 6:38:25what our finally values are along with
  10320. 6:38:28how we got to our 640,000 final value
  10321. 6:38:32all right you got some practice problem
  10322. 6:38:33problem to now go through and try these
  10323. 6:38:36different features out of scenario
  10324. 6:38:38manager and goal seeker and also solver
  10325. 6:38:41and I think once you play around with
  10326. 6:38:42them more you can find out which one is
  10327. 6:38:44more applicable to which scenario with
  10328. 6:38:47that I'll see you in the next section
  10329. 6:38:49where we're going be going into deeper
  10330. 6:38:51into what if analysis specifically on
  10331. 6:38:53data tables one my favorite features of
  10332. 6:38:55what if analysis with that see you
  10333. 6:39:01there let's now get wrapped up on what
  10334. 6:39:04if analysis by focusing on data tables
  10335. 6:39:07we're going to be focusing on building
  10336. 6:39:09one input and also two input data tables
  10337. 6:39:12for the first one on one input we're
  10338. 6:39:14going to be continuing on with that
  10339. 6:39:15exercise from last lesson looking into
  10340. 6:39:19that job offer one and seeing how we
  10341. 6:39:21could change the annual rays in order to
  10342. 6:39:25thus affect different salaries at our
  10343. 6:39:284-year point and mainly the total salary
  10344. 6:39:31at this point and from there we're going
  10345. 6:39:32to shift into building two input data
  10346. 6:39:34tables where we're not only analyzing
  10347. 6:39:37that annual raise increase but also a
  10348. 6:39:39change in the bonus rate to see what the
  10349. 6:39:42different salaries are for that final
  10350. 6:39:44total amount of those four years so for
  10351. 6:39:47this lesson and also for this chapter
  10352. 6:39:48we're going to be starting with the
  10353. 6:39:49actual workbook of the name of the
  10354. 6:39:51chapter in this case data tables and
  10355. 6:39:54we're going to be working this original
  10356. 6:39:55sheet but I want to jump into that one
  10357. 6:39:57input to basically show you what we're
  10358. 6:39:59going to be building
  10359. 6:40:03we're going to be inputting into here
  10360. 6:40:05the annual raise percentage we're going
  10361. 6:40:07to put it in increments of. 5% and then
  10362. 6:40:11along the top in the row we're going to
  10363. 6:40:13be inputting the values from over here
  10364. 6:40:17um and these values right here across
  10365. 6:40:19the top and then the data table itself
  10366. 6:40:22is going to fill this in with the
  10367. 6:40:26expected result so in this case year
  10368. 6:40:29three at 2% s uh 2% increase in arrays
  10369. 6:40:33it's going to get around
  10370. 6:40:35116,000 we also do for coloring at the
  10371. 6:40:37end uh the data tables don't do that
  10372. 6:40:39that's done with conditional formatting
  10373. 6:40:41so here we are back in the original
  10374. 6:40:42sheet first thing we need to do is get
  10375. 6:40:44the annual Rays put up here remember we
  10376. 6:40:48want to go in we'll say. 5% increment so
  10377. 6:40:51I'll do zero
  10378. 6:40:540.5% and then for the rest of these I'll
  10379. 6:40:57just drag them down I end up messing up
  10380. 6:40:59the formatting so I'm just clear the
  10381. 6:41:01borders and then put a border back
  10382. 6:41:04around the outside now for the salaries
  10383. 6:41:07I want that to be for what year zero
  10384. 6:41:10then year 1 I'll drag this on over for
  10385. 6:41:13these and then we'll put a total so for
  10386. 6:41:15this I want to enter in that year zero
  10387. 6:41:17we're going to be doing this for all the
  10388. 6:41:18different values right there I'm going
  10389. 6:41:20go ahead and put it in if you notice it
  10390. 6:41:22has this line through it and I actually
  10391. 6:41:24click it and then from here whenever I
  10392. 6:41:27look into it it provides the error of
  10393. 6:41:28stale value you may or may not see this
  10394. 6:41:32but I'm going I show you how to fix this
  10395. 6:41:34if you are experienced this you can go
  10396. 6:41:36into file and then into more under
  10397. 6:41:39options and what happens is under
  10398. 6:41:42formulas my workbook calculations went
  10399. 6:41:45from basically automatically calculating
  10400. 6:41:47to manually where under manually if I
  10401. 6:41:50look at this little icon right here they
  10402. 6:41:52can be manually calculated by pressing
  10403. 6:41:55F9 or going to formulas calculate now
  10404. 6:41:58anyway there's nothing wrong with having
  10405. 6:41:59automatic calculations that's actually
  10406. 6:42:01what I want all the time somehow my
  10407. 6:42:02thing switched into this manual if yours
  10408. 6:42:04does switch it back to automatic click
  10409. 6:42:07okay bam we're good to go and we'll
  10410. 6:42:09continue on now it's important for up
  10411. 6:42:12here at the top that we have them equal
  10412. 6:42:15to the formulas here because this is
  10413. 6:42:18what's going to be ultimately getting
  10414. 6:42:20changed and manipulated so I wouldn't
  10415. 6:42:23want to go through and actually manually
  10416. 6:42:24fill this in with a 110,000 it needs to
  10417. 6:42:26be connected to the formula that
  10418. 6:42:28actually is getting calculated so
  10419. 6:42:30building our data table now I'm going to
  10420. 6:42:32select this entire range right here E3
  10421. 6:42:36all the way down to K12 go to the data
  10422. 6:42:38Tab and select data table now this
  10423. 6:42:41provides us two inputs a row input cell
  10424. 6:42:44and a column input cell we're only doing
  10425. 6:42:46a one input data table so we only need
  10426. 6:42:48to fill in one of these specifically
  10427. 6:42:51we're looking for the input either into
  10428. 6:42:53the row or the input into the column in
  10429. 6:42:55this case we're going to be subbing in
  10430. 6:42:57this this column this e column right
  10431. 6:42:59here we're going to be subbing it into
  10432. 6:43:01the formula here and it wants to know
  10433. 6:43:03what is the input cell for in this case
  10434. 6:43:05the column so I'm going to go ahead and
  10435. 6:43:07select it it's C5 I'm gonna go ahead and
  10436. 6:43:10click okay and it's going to
  10437. 6:43:13automatically fill it in now what's
  10438. 6:43:15unique about this is I could also go in
  10439. 6:43:17here if I wanted to and maybe change
  10440. 6:43:19this to something like 10% and it will
  10441. 6:43:23update this entire data table with that
  10442. 6:43:26new value I'm actually going to change
  10443. 6:43:27that back to 3% but pretty unique anyway
  10444. 6:43:30if I wanted to I can come in also and
  10445. 6:43:32I'll so go in and to conditional format
  10446. 6:43:35it I'm only going to select Euro 0
  10447. 6:43:37through four and I'm going to do a white
  10448. 6:43:39to green and then for the total I'm
  10449. 6:43:41going to do its own because it's almost
  10450. 6:43:42in its own bracket here right it's a a
  10451. 6:43:44sum of all those different values so I'm
  10452. 6:43:46also going to do the same thing of the
  10453. 6:43:49white to green and then you know me I
  10454. 6:43:51don't really really like green so I'm
  10455. 6:43:53going to go ahead and select this and
  10456. 6:43:54I'm going to end up changing this by
  10457. 6:43:55going into manage rules and conditional
  10458. 6:43:57formatting selecting on this one
  10459. 6:44:00adjusting the color to Blue and also
  10460. 6:44:02selecting this one and changing this one
  10461. 6:44:04to Blue as well click apply and then
  10462. 6:44:07okay and
  10463. 6:44:11Bam so with that example complete let's
  10464. 6:44:13move into a two input data table and
  10465. 6:44:15let's look at the final example for this
  10466. 6:44:17for this we're going to have as we had
  10467. 6:44:21before the annual rays in the column but
  10468. 6:44:24this time we're going to have the bonus
  10469. 6:44:27up on that top row and for this we're
  10470. 6:44:30going to be calculating as we click here
  10471. 6:44:32it's going to be calculating
  10472. 6:44:33c14 which is the total salary we're not
  10473. 6:44:36going to be calculating that 0 1 through
  10474. 6:44:384 anymore and it's going to go through
  10475. 6:44:40and calculate it for all of these
  10476. 6:44:43different scenarios if you will all
  10477. 6:44:45right to do this I'm going to go back to
  10478. 6:44:47that original sheet I'm going to
  10479. 6:44:49actually duplicate this by saying copy
  10480. 6:44:52it create a copy and click okay okay so
  10481. 6:44:56now we have original two so I'm going to
  10482. 6:44:58name original to one input and then
  10483. 6:45:02rename or two to two input now for this
  10484. 6:45:05one I'm going to end up just clearing
  10485. 6:45:07the contents from here I'll go to
  10486. 6:45:09editing clear and I'll just select clear
  10487. 6:45:12contents and now thinking about it I
  10488. 6:45:14want to also clear any of the formatting
  10489. 6:45:16that's in here cuz we're going to be
  10490. 6:45:17doing something different with it I can
  10491. 6:45:19go into clear rules I can go clear rules
  10492. 6:45:22from entire sheet all right so we're
  10493. 6:45:24have the Rays and the rows and now we
  10494. 6:45:27need the actual bonus in the columns for
  10495. 6:45:30this we'll go from 0% to
  10496. 6:45:335% and I need to actually change this
  10497. 6:45:36formatting to actually be a percentage
  10498. 6:45:38and then drag this all the way through
  10499. 6:45:40along with fixing this formatting so now
  10500. 6:45:43a two input data table is a little bit
  10501. 6:45:46different in that we need in the upper
  10502. 6:45:48left hand corner what we actually want
  10503. 6:45:50to change whereas the one input put we
  10504. 6:45:52did across in in our case we did across
  10505. 6:45:55the rows in this case we just want to
  10506. 6:45:57have in the upper left hand corner there
  10507. 6:45:59it is I sort of grayed it out you can
  10508. 6:46:01make it a little bit darker if if you
  10509. 6:46:03want to but I would just want to make it
  10510. 6:46:05known that hey we're not necessarily
  10511. 6:46:06using it so similarly we're actually
  10512. 6:46:08going to get into creating it we're
  10513. 6:46:09going to select the entire data table go
  10514. 6:46:11to the data tab what if analysis data
  10515. 6:46:13table for the row input cell so this row
  10516. 6:46:17up here what are we wanting to
  10517. 6:46:19substitute these values into well we
  10518. 6:46:21want to sub it into the bonus and then
  10519. 6:46:25similarly for the column input same as
  10520. 6:46:27last time that's the annual raise so
  10521. 6:46:29we're going to want to sub that into C5
  10522. 6:46:32going go ahead and click okay so I'm
  10523. 6:46:34going to dress this up a little bit I'm
  10524. 6:46:36going to bold the header right here also
  10525. 6:46:38I'm going to merge and center this all
  10526. 6:46:40so we can put inside of here bonus and
  10527. 6:46:43then finally I'm going to conditionally
  10528. 6:46:45format it like we did last time using
  10529. 6:46:47that white to green and then changing
  10530. 6:46:50that green to a blue to get it more of
  10531. 6:46:53what I want so bam now we have a two
  10532. 6:46:56input table and we can see what it's
  10533. 6:46:59going to be across all these things also
  10534. 6:47:01with this if you remember from our last
  10535. 6:47:03lesson right we were looking at finding
  10536. 6:47:05what is the value we'd want to be to get
  10537. 6:47:07around 640,000
  10538. 6:47:10now we have a few different values we
  10539. 6:47:13can actually look at for this and we can
  10540. 6:47:16tell from this well we going to need to
  10541. 6:47:18be above a bonus rate of 15% to even be
  10542. 6:47:20considered to get up to 640,000 so
  10543. 6:47:24sometimes I like this visually better
  10544. 6:47:26than going in and doing something like
  10545. 6:47:28goal Seeker or even things like solver
  10546. 6:47:30because now I have multiple different
  10547. 6:47:33variables I can look at and analyze and
  10548. 6:47:35try to adjust on my own all right so you
  10549. 6:47:38now have some practice problems to go
  10550. 6:47:39through and get familiar with data
  10551. 6:47:41tables I found when I first started with
  10552. 6:47:44data tables got really confused on the
  10553. 6:47:46row input and also the column input
  10554. 6:47:49cells but really understanding how those
  10555. 6:47:51are being applied into the original
  10556. 6:47:53formula helps you figure that out all
  10557. 6:47:55right with that I'll see in the next one
  10558. 6:47:57where we're going going into the
  10559. 6:47:58analysis tool pack and diving into a lot
  10560. 6:48:01of different statistical analysis you
  10561. 6:48:02can do with Excel so with that see you
  10562. 6:48:08there all right this is the last lesson
  10563. 6:48:10in this chapter on Advanced ad analysis
  10564. 6:48:13and specifically we're going to be
  10565. 6:48:14focusing on that analysis tool pack
  10566. 6:48:16addin now this addin is packed full of
  10567. 6:48:19features and I can make a whole tutorial
  10568. 6:48:21just on this addin alone but we're only
  10569. 6:48:23going to be focusing on four core things
  10570. 6:48:25of it that it does that I use from time
  10571. 6:48:27to time on our job posting salary data
  10572. 6:48:30set of over 30,000 rows first we're
  10573. 6:48:33going to look at how we can get
  10574. 6:48:34descriptive statistics of something like
  10575. 6:48:36a salary column so we don't have to go
  10576. 6:48:38through and use formulas to get all the
  10577. 6:48:39different statistics for it second we're
  10578. 6:48:41going to investigate how to make
  10579. 6:48:43histograms but these are a little bit
  10580. 6:48:45with a Twist in that I feel like they're
  10581. 6:48:47more customizable than the previous
  10582. 6:48:49histograms we can make third we'll get
  10583. 6:48:51into ranking and assigning a percentile
  10584. 6:48:55for our salary data so we can understand
  10585. 6:48:57where it actually ranks for percentiles
  10586. 6:49:00and then finally we're going to be
  10587. 6:49:01moving into looking at at a moving
  10588. 6:49:03average if you remember our job posting
  10589. 6:49:05data set had all the seasonality in it
  10590. 6:49:07basically went up and down a lot
  10591. 6:49:08depending on where it was posted during
  10592. 6:49:10the week well we can remove those
  10593. 6:49:12fluctuations by a moving average for
  10594. 6:49:15this we're going to be working in the
  10595. 6:49:16analysis tool pack workbook and all the
  10596. 6:49:19answers in there so you can feel free to
  10597. 6:49:21go ahead and actually select all the
  10598. 6:49:24different sheets in here and go ahead
  10599. 6:49:26and hide them so we only have the data
  10600. 6:49:28tab in there and we'll be working with
  10601. 6:49:30this
  10602. 6:49:34so as a refresher this is the data
  10603. 6:49:36analysis tool pack you should have gone
  10604. 6:49:38through in that first lesson and
  10605. 6:49:40actually enabled it by going into
  10606. 6:49:43options into the addins itself and it
  10607. 6:49:45should now be under the active addins if
  10608. 6:49:48you didn't do that remember you all you
  10609. 6:49:50have to do is just go into go into here
  10610. 6:49:52and select it all right so let's open
  10611. 6:49:54this bad boy up and if I click that
  10612. 6:49:56analysis it's going to pop up here and
  10613. 6:50:00this dialogue box allows us to select
  10614. 6:50:03like I said from a variety of different
  10615. 6:50:05tests that we can actually perform
  10616. 6:50:07there's a lot of different statistical
  10617. 6:50:09tests in here such as regression and
  10618. 6:50:11sampling and then even things like
  10619. 6:50:14correlation Co variance and whatnot so
  10620. 6:50:16let's start with the one that I find
  10621. 6:50:17myself using the most and that's
  10622. 6:50:19descriptive statistics when I want to
  10623. 6:50:20perform Eda or exploratory analysis this
  10624. 6:50:22is the first thing I want to do now the
  10625. 6:50:24thing about this is we need to provide a
  10626. 6:50:26column that has numerical values in it
  10627. 6:50:29so we could do the date column but what
  10628. 6:50:31we're going to do is we're going to to
  10629. 6:50:32provide the salary year average column
  10630. 6:50:36go ahead and press enter for this we do
  10631. 6:50:38have labels in the first row so I need
  10632. 6:50:40to click this here for output options we
  10633. 6:50:42want to go to a new worksheet so that's
  10634. 6:50:45what we'll leave for this and with this
  10635. 6:50:48we do want the summary statistics you
  10636. 6:50:51can go in and also specify things like
  10637. 6:50:53confidence level and the cith largest
  10638. 6:50:56and kith smth but we're going to leave
  10639. 6:50:57those default for the time being and
  10640. 6:50:59click okay now it's popped up in this
  10641. 6:51:01new sheet called cheap one and diving
  10642. 6:51:04into it I'm actually going to expand
  10643. 6:51:06this out and then format all these
  10644. 6:51:08numbers real quick so that's much more
  10645. 6:51:10readable so now we have all the key
  10646. 6:51:12statistics from it we don't have to go
  10647. 6:51:14through and calculate a formula for mean
  10648. 6:51:16median mode standard deviation the
  10649. 6:51:19minimum maximum sum
  10650. 6:51:23whatnot all right next up is histogram
  10651. 6:51:26and previously remember we could just
  10652. 6:51:28select something like the M column go
  10653. 6:51:29into insert here and actually insert a
  10654. 6:51:32histogram now the one problem I have
  10655. 6:51:35with this is the formatting of the rows
  10656. 6:51:38or the X values down here it basically
  10657. 6:51:41provides this range this is a lot of
  10658. 6:51:43data right there and there's it's really
  10659. 6:51:44hard to format this so let's look at an
  10660. 6:51:47alternate option for this using the data
  10661. 6:51:49analysis tool pack specifically we're to
  10662. 6:51:52come in here to histogram for the input
  10663. 6:51:54range once again I'm going to go ahead
  10664. 6:51:56and just select that column M press
  10665. 6:51:58enter it does have labels for bin range
  10666. 6:52:01I'm going to leave m I'm not going to
  10667. 6:52:03specify a width of the histogram or the
  10668. 6:52:05bin I'm going to leave it just default
  10669. 6:52:08for the output I'm going to leave it as
  10670. 6:52:09the new worksheet ply I don't want
  10671. 6:52:11either of these the parto or the
  10672. 6:52:13cumulative percentage instead I just
  10673. 6:52:15want the chart output of this press okay
  10674. 6:52:18and here we have the histogram it's
  10675. 6:52:20honestly not too special it's a little
  10676. 6:52:22hard to read based on the size of these
  10677. 6:52:25bins as you can see basically the
  10678. 6:52:27difference between these is around it
  10679. 6:52:30looks like they're doing basically an
  10680. 6:52:31thousand increments so the increments
  10681. 6:52:33are way too small we need to adjust the
  10682. 6:52:35bin anyway the one good thing is along
  10683. 6:52:38this xais it's only one value now so a
  10684. 6:52:41lot easier to read so now let's go in
  10685. 6:52:44and adjust that bin size so if I go back
  10686. 6:52:47to data analysis into histogram and
  10687. 6:52:49click okay for the bin range it wants me
  10688. 6:52:51to actually put in a range or a
  10689. 6:52:54selection so we need to actually
  10690. 6:52:56pre-fill out what range or bins we want
  10691. 6:52:59for this so I'm going to copy this
  10692. 6:53:00header up here cuz we're going to keep
  10693. 6:53:01the bin in frequency start a new sheet
  10694. 6:53:05paste it in here and I want to go in
  10695. 6:53:08we'll say 50,000 increments so 0
  10696. 6:53:1150,000 and I want it to go to basically
  10697. 6:53:16400,000 so now going into Data analysis
  10698. 6:53:19again histogram opening it back up still
  10699. 6:53:21has the input range selected correctly
  10700. 6:53:23now for the bin range I'll select A2 to
  10701. 6:53:27A10 select the output range to I
  10702. 6:53:30basically want it to be inside of of
  10703. 6:53:32this notebook so I'm going to select up
  10704. 6:53:34here on D1 we'll just start there and we
  10705. 6:53:37want a chart output on this page okay
  10706. 6:53:39I'll click okay and I'm getting this
  10707. 6:53:41error message that the input range must
  10708. 6:53:42contain at least one data point right
  10709. 6:53:44now this Elm is not referring back to
  10710. 6:53:47the correct sheet it needs to look at so
  10711. 6:53:49actually I'm going to select right here
  10712. 6:53:51you can see it selected that other sheet
  10713. 6:53:52I actually want to select the M column
  10714. 6:53:54of the data tab now we'll press okay so
  10715. 6:53:58now I love this because wanted output
  10716. 6:54:01this I didn't apparently need to do this
  10717. 6:54:03frequency thing I got confused anyway we
  10718. 6:54:06can actually go in and format this to
  10719. 6:54:09remove the legend and then update the
  10720. 6:54:12axess title for salary and then we'll
  10721. 6:54:15update this one for frequency anyway I
  10722. 6:54:17really like this because now look at
  10723. 6:54:19this control we were able to minimize it
  10724. 6:54:23not to go past 40,000 and have all these
  10725. 6:54:26outliers and everything else that has
  10726. 6:54:28past 40,000 is put into this basically
  10727. 6:54:31more value you anyway this is my
  10728. 6:54:33preferred method for making histograms
  10729. 6:54:35especially whenever I need to control
  10730. 6:54:37that
  10731. 6:54:40xais next up is Rank and percentile and
  10732. 6:54:43with this one we're going to be doing a
  10733. 6:54:44rank and percentile of that salary year
  10734. 6:54:46average column once again now this one
  10735. 6:54:49depending on the size of your computer
  10736. 6:54:51may take up it may even crash your
  10737. 6:54:53computer so if you're concerned that
  10738. 6:54:56this is not going to be able to
  10739. 6:54:58performed on your computer don't run it
  10740. 6:55:00just look at my example and understand
  10741. 6:55:02what get out of it anyway I selected
  10742. 6:55:03rank in percentile and then for the
  10743. 6:55:05input range once again I'll select that
  10744. 6:55:08column M and then we'll output it to a
  10745. 6:55:10new worksheet ply and I can do something
  10746. 6:55:12like even name it in this case calling
  10747. 6:55:15it Rank and percentile of the sheet that
  10748. 6:55:16it's going to go to so clicking okay it
  10749. 6:55:19says Rank and percentile input range
  10750. 6:55:20contains non-numeric data basically I
  10751. 6:55:24forgot to click this of labels in the
  10752. 6:55:25first row clicking again it's thinking
  10753. 6:55:28how long is it going to take all right
  10754. 6:55:31so Excel just on me maybe that wasn't a
  10755. 6:55:33great idea let's try that again using
  10756. 6:55:35Rank and percentile this time instead of
  10757. 6:55:38selecting the whole column I think
  10758. 6:55:40because it had some blank value
  10759. 6:55:41especially down to a million rows sort
  10760. 6:55:43of crashed it instead what I'm going to
  10761. 6:55:45do is I'm going to just select A1 and
  10762. 6:55:47then select down all the way to the
  10763. 6:55:49bottom I don't know why it changed it
  10764. 6:55:51over to column F but the main point of
  10765. 6:55:52me to doing this is that way we select
  10766. 6:55:55column M and also I need to remove this
  10767. 6:55:59A1 at the beginning okay and also need
  10768. 6:56:01to update this to be starting the second
  10769. 6:56:03cell and we're going to try this again I
  10770. 6:56:05gave it the name of rank percentile I
  10771. 6:56:07didn't have the labels in first row
  10772. 6:56:08selected because we're going from the
  10773. 6:56:09second cell how long is it going to take
  10774. 6:56:11this time all right so that was a lot
  10775. 6:56:14quicker this time and we have our now in
  10776. 6:56:16this Rank and percentile sheet our
  10777. 6:56:18actual data it did take about a minute
  10778. 6:56:21to do so once again if you have a
  10779. 6:56:22computer that's not necessarily that
  10780. 6:56:24fast don't try this at home all right so
  10781. 6:56:27some key statistics about this it
  10782. 6:56:29provides a point which is the row number
  10783. 6:56:32it's itself and then from there what is
  10784. 6:56:34the value that's the column the rank and
  10785. 6:56:37then the percentile what's cool about
  10786. 6:56:39this because of provided point we could
  10787. 6:56:41do something like the index function and
  10788. 6:56:44you provided an array and then the row
  10789. 6:56:46number in this case that's the row
  10790. 6:56:47number so if I wanted to find out what
  10791. 6:56:50the job title is I could select column B
  10792. 6:56:54and then from there for the row number
  10793. 6:56:56go back to rank and percentile and
  10794. 6:56:58select this value right here then close
  10795. 6:57:01parenthesis press enter looks like it's
  10796. 6:57:03a clinical NLP data scientist and I can
  10797. 6:57:06actually autofill this all the way down
  10798. 6:57:09anyway let's make sure this is actually
  10799. 6:57:11correct okay yeah just double checking
  10800. 6:57:13the row number at 25589 is clinical NLP
  10801. 6:57:17data scientist so we have it correct
  10802. 6:57:19anyway I could go through now and I did
  10803. 6:57:21this for the job title itself but you
  10804. 6:57:23could imagine you could pull out things
  10805. 6:57:25like the job country job tile short all
  10806. 6:57:27sorts of other key information and get
  10807. 6:57:29this in a list of what it's rank is
  10808. 6:57:32along with its
  10809. 6:57:36percentile our last feature to look at
  10810. 6:57:38is moving average and this is what we're
  10811. 6:57:41going to be calculating here the Blue
  10812. 6:57:43Line already is data we already have of
  10813. 6:57:46what are the job postings over time but
  10814. 6:57:48that orange line is the moving average
  10815. 6:57:51we can use this analysis tool pack in
  10816. 6:57:53order to calculate this and as you can
  10817. 6:57:55see it removes a lot of these fluctu
  10818. 6:57:57these weekly fluctuations if you will
  10819. 6:58:00from it and makes it a lot more are
  10820. 6:58:02basically readable to see where actual
  10821. 6:58:04the Peaks and the troughs are now in
  10822. 6:58:06order to do this I can't necessarily
  10823. 6:58:08just put in that job posted date into it
  10824. 6:58:11I have to actually get a count of the
  10825. 6:58:15dates and also what are the counts of
  10826. 6:58:17the job postings per date so we need to
  10827. 6:58:19create a pivot table so we go in insert
  10828. 6:58:21pivot table from table we're going to do
  10829. 6:58:23it from this table which is named jobs
  10830. 6:58:25and we're going to insert it into a new
  10831. 6:58:27sheet similar before we're going to put
  10832. 6:58:29that job posted date into the rows and
  10833. 6:58:32I'm actually going to take out you can
  10834. 6:58:33see it aggregated by month I'm going to
  10835. 6:58:35take out the month from there so it does
  10836. 6:58:38by days and now I'm going to throw into
  10837. 6:58:41the values here it's going to do a count
  10838. 6:58:43so I'm just change this to job count and
  10839. 6:58:48we can actually visualize this by itself
  10840. 6:58:50by going to insert pivot charts
  10841. 6:58:51inserting in a pivot chart we want a
  10842. 6:58:55line and that's what we saw before with
  10843. 6:58:58our Blue Line before that showed how it
  10844. 6:59:00basically went across uh went through
  10845. 6:59:01time
  10846. 6:59:02all right so goes ahead and I'm going to
  10847. 6:59:04delete this chart because we're going to
  10848. 6:59:05be making it and once again we're going
  10849. 6:59:07to that data tab into Data analysis and
  10850. 6:59:10we're going to be forming moving average
  10851. 6:59:13for the input range I'm going to select
  10852. 6:59:15B4 and then select all the way to the
  10853. 6:59:18Bottom now this grand total went into it
  10854. 6:59:21so actually I'm going to back up one and
  10855. 6:59:23change this to 368 we didn't select any
  10856. 6:59:26labels in the front row so I'm going to
  10857. 6:59:28leave that on blank in the interval I'm
  10858. 6:59:30going to just set it something like
  10859. 6:59:32seven for the time being for the output
  10860. 6:59:35range I want it to go right next to my
  10861. 6:59:36chart so I'm going to copy this above
  10862. 6:59:39and paste it below and change these B's
  10863. 6:59:41into C's so it's C values right next to
  10864. 6:59:45it and we want a chart output along with
  10865. 6:59:48standard errors I'm going to go ahead
  10866. 6:59:49and click okay now this chart is not
  10867. 6:59:52correct um we made a little bit of a
  10868. 6:59:54mistake but I did want to show you real
  10869. 6:59:56quick this moving average we can see
  10870. 6:59:58that it starts 7 days later right here
  10871. 7:00:02and so that's what's happening in this C
  10872. 7:00:04column here that's the actual moving
  10873. 7:00:06average and then the actual error itself
  10874. 7:00:08is right next to it it's pretty
  10875. 7:00:10consistent around 30 to 40 anyway we
  10876. 7:00:12need to fix this we need to take this
  10877. 7:00:13entire value if you will and move it out
  10878. 7:00:16of a pivot chart so I'm going to select
  10879. 7:00:18this all the way down to the bottom and
  10880. 7:00:21copy it then inside of a new sheet I'm
  10881. 7:00:23going to come in and paste it I'm going
  10882. 7:00:25to just paste looks like a pasting with
  10883. 7:00:27the pivot table formatting I'm going to
  10884. 7:00:28paste uh the values only and change this
  10885. 7:00:32to job date so let's try this again
  10886. 7:00:34using data analysis going to moving
  10887. 7:00:36average for the input range we're going
  10888. 7:00:39to select B2 and then all the way down
  10889. 7:00:41to the bottom remember this has a grand
  10890. 7:00:43total so I actually need to change that
  10891. 7:00:45to minus one for the interval I'm going
  10892. 7:00:48to adjust it a little bit I'm going to
  10893. 7:00:49actually change this now to a 21-day
  10894. 7:00:52moving average and then for the output
  10895. 7:00:53range this actually needs to be adjusted
  10896. 7:00:55to match what the input range is but for
  10897. 7:00:59b or c sorry anyway go go ahead leave
  10898. 7:01:02everything else checked click okay and
  10899. 7:01:05Bam now we have blue and also orange if
  10900. 7:01:09you will for the actual and the forecast
  10901. 7:01:13now one thing I'm noticing with this
  10902. 7:01:14chart is well the markers are pretty
  10903. 7:01:18heinous they're making they're clogging
  10904. 7:01:20up this chart so what I can do is Select
  10905. 7:01:22something like this orange line right
  10906. 7:01:23here I can rightclick it go to format
  10907. 7:01:26data series and then here underneath
  10908. 7:01:28this fill and line go into markers and
  10909. 7:01:32then for the marker options just
  10910. 7:01:34basically do none we just want to have a
  10911. 7:01:36line instead additionally we can just go
  10912. 7:01:38ahead and click that blue the blue line
  10913. 7:01:41and for the markers there we can do none
  10914. 7:01:43as well okay sensory overloads gone now
  10915. 7:01:46looks a lot more readable with the
  10916. 7:01:49exception of down here for some reason
  10917. 7:01:51it didn't pick up the dates on mine and
  10918. 7:01:54we can adjust that by right clicking
  10919. 7:01:57that and going to select data underneath
  10920. 7:02:00the horizontal ax labels I'm going to go
  10921. 7:02:02ahead and edit this I'm going like from
  10922. 7:02:05A2 all the way down minus one we don't
  10923. 7:02:08to do grand total click okay that
  10924. 7:02:11changed the names let's see if that
  10925. 7:02:12updated the chart and Bam it did now I'm
  10926. 7:02:15going to do some minor cleanup I'm going
  10927. 7:02:17to remove that Legend from there and
  10928. 7:02:21that looks a lot better so now we have a
  10929. 7:02:23graph of our moving average of the job
  10930. 7:02:26postings and as we sort of suspected in
  10931. 7:02:30August we had a peak along with January
  10932. 7:02:32seemed sort of high then went down a
  10933. 7:02:34little bit but then up again in August
  10934. 7:02:36so we see a lot more Trends and then
  10935. 7:02:37tapering out towards the end of the year
  10936. 7:02:40all right now it's your turn to go
  10937. 7:02:41through and practice with those practice
  10938. 7:02:43problems and exploring some of these
  10939. 7:02:45features in the analysis tool pack add
  10940. 7:02:47in with that we're going to be wrapping
  10941. 7:02:50up this chapter and in the next one
  10942. 7:02:52we're be jumping into Power query which
  10943. 7:02:55I'm super excited about in order how to
  10944. 7:02:56clean up our data and load it in in the
  10945. 7:02:59format that we want easily all right
  10946. 7:03:01with that see you
  10947. 7:03:06there welcome to this chapter on power
  10948. 7:03:08query and no pun intended but this is
  10949. 7:03:11one of the most powerful tools within
  10950. 7:03:14Excel it allows us to perform ETL
  10951. 7:03:17processes or extract transform and load
  10952. 7:03:21which just some fancy data engineering
  10953. 7:03:23talk for connecting to a data source and
  10954. 7:03:25loading it in after you clean it up
  10955. 7:03:27anyway in this chapter we have five
  10956. 7:03:30lessons specifically in this one we're
  10957. 7:03:31going to have an intro to power query
  10958. 7:03:33what it's all about how to actually
  10959. 7:03:35connect to a data source in the next one
  10960. 7:03:37we'll be moving into the power query
  10961. 7:03:39editor and we'll be covering that for
  10962. 7:03:42three lessons in order to go in how to
  10963. 7:03:44actually clean up your data and get it
  10964. 7:03:46prepared to a format that you want in
  10965. 7:03:49the last lesson we'll be diving into the
  10966. 7:03:51M language which is powering power query
  10967. 7:03:55don't worry we're not going to do any
  10968. 7:03:56in-depth coding or anything like that
  10969. 7:03:58just want you to have some familiarity
  10970. 7:03:59with you so we have more experience with
  10971. 7:04:01using power
  10972. 7:04:05query so what's this lesson about well
  10973. 7:04:08in order to understand that we have to
  10974. 7:04:10understand is what is power query and
  10975. 7:04:13here on Microsoft's learning platform
  10976. 7:04:16they have this fancy Dancy diagram that
  10977. 7:04:17basically shows this what power query
  10978. 7:04:20does it allows us to connect to
  10979. 7:04:22different data sources it could be
  10980. 7:04:23something like a database a text file or
  10981. 7:04:26even something on the cloud from there
  10982. 7:04:29power query will then pipe it in to a
  10983. 7:04:32bunch of different products they have
  10984. 7:04:33and we're going to be using it for
  10985. 7:04:34Microsoft Excel but it's also famously
  10986. 7:04:37also in powerbi now if you have a
  10987. 7:04:39Windows version of excel power query is
  10988. 7:04:41going to work just fine on the Mac
  10989. 7:04:43versions it is available however it's
  10990. 7:04:47very limited so a lot of the stuff we're
  10991. 7:04:49going to do within this lesson you're
  10992. 7:04:51not going to be able to do and also
  10993. 7:04:53Microsoft online is just completely not
  10994. 7:04:55available so as a reminder power query
  10995. 7:04:57is an ETL tool or extract transform load
  10996. 7:05:01and we can connect to as a data source
  10997. 7:05:03such as this here's a Wikipedia page on
  10998. 7:05:05the list of S&P 500 companies and it has
  10999. 7:05:09all the different 500 companies that are
  11000. 7:05:11part of the S&P 500 anyway let's say I
  11001. 7:05:14want this table I could go through and
  11002. 7:05:17try I mean as you can see I'm trying to
  11003. 7:05:18select it right now and it's like
  11004. 7:05:19selecting the whole page it's a whole
  11005. 7:05:22mess if I'm trying to get this but we
  11006. 7:05:24can actually use power query to extract
  11007. 7:05:26all this components out all I have to do
  11008. 7:05:29is go in and provide the web address of
  11009. 7:05:32this which I know it's located right
  11010. 7:05:34here I'll then select which of the
  11011. 7:05:36tables I want out of the web page which
  11012. 7:05:38is this one right here and then I just
  11013. 7:05:40load it in and here it is in our
  11014. 7:05:43workbook now don't worry I sort of ran
  11015. 7:05:45through that example real quick we're
  11016. 7:05:46going to go more in depth and Detail in
  11017. 7:05:48the last example in this lesson but I
  11018. 7:05:51just wanted to show the power of this
  11019. 7:05:53and how we can actually get data even
  11020. 7:05:55from online into our workbook so easily
  11021. 7:05:58so why do we need to use power query
  11022. 7:06:00well we're going to find that out as we
  11023. 7:06:02go along but I'm going to give you the
  11024. 7:06:04tidbits right now of One it automates
  11025. 7:06:07the ETL process so I don't have to do
  11026. 7:06:09that annoying task of going to a sheet
  11027. 7:06:12and copying it over every time I get new
  11028. 7:06:14data I can just get power query to do it
  11029. 7:06:16for me additionally with that sometimes
  11030. 7:06:18I may have mistakes I'm copy and paste
  11031. 7:06:20and sheets over therefore I have
  11032. 7:06:23reproducibility and then finally with
  11033. 7:06:25this I'm now allowed to bring data in
  11034. 7:06:28that potentially exceeds that 1 million
  11035. 7:06:30row limit of Excel which we'll show how
  11036. 7:06:33we can deal with that in a bit so let's
  11037. 7:06:35actually get into performing our first
  11038. 7:06:36example of loading in a simple data set
  11039. 7:06:39specifically from another Excel sheet
  11040. 7:06:41like I talked about the beginning of the
  11041. 7:06:42advanced chapters you're not going to be
  11042. 7:06:44able to actually work inside of the
  11043. 7:06:46workbooks that I have given so in this
  11044. 7:06:47case power query intro has the final
  11045. 7:06:50results but I don't want you working in
  11046. 7:06:52that I'll tell you what works you need
  11047. 7:06:54to be working with as we go through this
  11048. 7:06:56which you're probably getting the
  11049. 7:06:56security warning of external data
  11050. 7:06:58connections have been disabled and we'll
  11051. 7:07:00get to troubleshoot shooting that at the
  11052. 7:07:02end so instead we're going to be
  11053. 7:07:03starting with a new blank workbook I'm
  11054. 7:07:06going to go to navigate over here to the
  11055. 7:07:07data tab this is where power query is
  11056. 7:07:10located specifically under this get and
  11057. 7:07:13transform data it doesn't really say
  11058. 7:07:15power query but that's where power query
  11059. 7:07:17is hidden now anytime I'm importing any
  11060. 7:07:19data I typically go to this get data and
  11061. 7:07:22then from there I navigate Down Deeper
  11062. 7:07:25depending on it's file database from
  11063. 7:07:27fabric and power platforms or from even
  11064. 7:07:30other sources they do have for all these
  11065. 7:07:32for it here they also have smaller icons
  11066. 7:07:35right next to it that you can navigate
  11067. 7:07:37over and basically highlight okay this
  11068. 7:07:39is from web and then this is from a
  11069. 7:07:41table of range and whatnot we're going
  11070. 7:07:43to be going over multiple examples in
  11071. 7:07:45this video so don't worry if you're not
  11072. 7:07:47following along with which data sources
  11073. 7:07:48you can actually import I think you'll
  11074. 7:07:50have a good idea by the end of
  11075. 7:07:54this so what are we going to import
  11076. 7:07:56first well if you navigate into our
  11077. 7:07:59course folder under resources under dat
  11078. 7:08:01ass sets and then data jobs monthly we
  11079. 7:08:04have Excel files for every single month
  11080. 7:08:08we're going to start by just importing
  11081. 7:08:10one Excel file to start and then in the
  11082. 7:08:12next exercise we'll go into how to
  11083. 7:08:14import all these at once anyway we're
  11084. 7:08:15going to start simple first with just
  11085. 7:08:17this Excel file so for this I'm going to
  11086. 7:08:19go to get data and it's a file
  11087. 7:08:22specifically it's from an Excel workbook
  11088. 7:08:25inside the course folder I'm going to
  11089. 7:08:27then navigate to the data set going to
  11090. 7:08:29resources data sets monthly and then
  11091. 7:08:31select that January data set and click
  11092. 7:08:33import with power query you're going to
  11093. 7:08:35find that it has this Navigator window
  11094. 7:08:37pop up and from there it will show you
  11095. 7:08:40what is actually importing in in this
  11096. 7:08:42case January data jobs the Excel sheet
  11097. 7:08:45and then if it had one or multiple
  11098. 7:08:47sheets it will appear there underneath
  11099. 7:08:49it whenever I select sheet one it then
  11100. 7:08:51shows me to the right hand side a
  11101. 7:08:53snapshot or a preview of all the
  11102. 7:08:56different data in there it doesn't show
  11103. 7:08:58all the columns but a snapshot of it at
  11104. 7:09:01the bottom there's a few options to load
  11105. 7:09:04or load to and then also transform we're
  11106. 7:09:08going to keep it simple for the time
  11107. 7:09:10being and we're just going to load so
  11108. 7:09:13I'll go ahead and click it so we just
  11109. 7:09:15imported in this data set from another
  11110. 7:09:17worksh sheet it's already in its own
  11111. 7:09:20table and because it also was sheet one
  11112. 7:09:24it's naming the sheet sheet one
  11113. 7:09:26parenthesis 2 to signify as the second
  11114. 7:09:29one so congratulations we just completed
  11115. 7:09:31our first ETL process of actually
  11116. 7:09:34extracting transforming and loading an
  11117. 7:09:36Excel workbook into another
  11118. 7:09:41workbook so we loaded this table in but
  11119. 7:09:44how do we actually go about using it
  11120. 7:09:47well in this portion we're going to be
  11121. 7:09:48demonstrating how we can manipulate it
  11122. 7:09:49with a pivot table and how to basically
  11123. 7:09:52control all our different queries if you
  11124. 7:09:54notice we had over on the right hand
  11125. 7:09:56pane this queries and connections now if
  11126. 7:09:59it's not popping up you can go up here
  11127. 7:10:01to the data Tab and then you see queries
  11128. 7:10:04and connections you can navigate it on
  11129. 7:10:06and off by clicking this button power
  11130. 7:10:09query sets up these queries and in this
  11131. 7:10:11case it named it sheet one after the
  11132. 7:10:13sheet one in that workbook that we
  11133. 7:10:15exported in I'm sorry that we imported
  11134. 7:10:17in and if we hover over it we can get
  11135. 7:10:19some details about the columns when it
  11136. 7:10:22was last refreshed it's load status and
  11137. 7:10:24even data source now connections over
  11138. 7:10:28here on the right right now we have zero
  11139. 7:10:29connections that's actually what's
  11140. 7:10:31controlled by power pivot which we're
  11141. 7:10:33going to be going over in the next
  11142. 7:10:35chapter on power pivot but anyway back
  11143. 7:10:38to Power queries itself right now we see
  11144. 7:10:40with sheet one that 3,000 rows are
  11145. 7:10:43loaded and if necessary we go through
  11146. 7:10:46and refresh the data set as showing it
  11147. 7:10:48loaded the data and 3,000 rows are
  11148. 7:10:50loaded again pretty quick so let's
  11149. 7:10:52actually get into manipulating this well
  11150. 7:10:54it says that 3,000 rows are loaded but I
  11151. 7:10:56actually I can go in and delete this tab
  11152. 7:10:59and it's going to give you this warming
  11153. 7:11:00that's going to per delete the sheet do
  11154. 7:11:02you want to continue yes I do and
  11155. 7:11:04whenever I do that since the data is no
  11156. 7:11:06longer loaded it now displays that it's
  11157. 7:11:09connection only so we can actually
  11158. 7:11:11change where we load our data to if you
  11159. 7:11:15will and I can get to this by right
  11160. 7:11:18clicking it and then going into here and
  11161. 7:11:20we'll be exploring all these other
  11162. 7:11:22options as we go through but I'm only
  11163. 7:11:24want to focus right now on this load to
  11164. 7:11:27and they have a few different options in
  11165. 7:11:28here let's actually explore them right
  11166. 7:11:30now it has only create connection so
  11167. 7:11:32right now it only has a connection if we
  11168. 7:11:34go back to that table and click okay it
  11169. 7:11:37once again loads it into that table if
  11170. 7:11:40we want to actually get into a pivot
  11171. 7:11:42table we'll select this on pivot table
  11172. 7:11:44report we can also do a pivot chart and
  11173. 7:11:46it asks whether we want to put it in the
  11174. 7:11:48existing worksheet or a new worksheet
  11175. 7:11:50and then finally it has ADD this data to
  11176. 7:11:53the data model you've seen this one
  11177. 7:11:55before and once again we're going to be
  11178. 7:11:58going over data models more in depth in
  11179. 7:12:00chapter eight on power pivot so we're
  11180. 7:12:02not going to be enabling this checkbox
  11181. 7:12:05just yet anyway I went in the existing
  11182. 7:12:07worksheet I don't need that table there
  11183. 7:12:09so I'm going to click okay and it says
  11184. 7:12:10hey there's possible data loss because
  11185. 7:12:12we're going to be basically getting rid
  11186. 7:12:13of that table and replacing it with a
  11187. 7:12:15pivot table do I want to continue yeah
  11188. 7:12:18and now like we did before in the pivot
  11189. 7:12:19table chapter we're now using a pivot
  11190. 7:12:22table and so we can put things like job
  11191. 7:12:24title short and analyze it for the count
  11192. 7:12:26of different jobs that it has within it
  11193. 7:12:28there's no change whatsoever in
  11194. 7:12:29everything we learn in pivot tables
  11195. 7:12:31still same application that we're using
  11196. 7:12:33it here
  11197. 7:12:36for so now let's actually get into
  11198. 7:12:39importing multiple different Excel files
  11199. 7:12:41we're going to specifically be importing
  11200. 7:12:43all 12 of these of January through
  11201. 7:12:46December this time whenever I go into
  11202. 7:12:48the data tab under get data and we want
  11203. 7:12:50to get it from a file but I'm not going
  11204. 7:12:53to select an Excel workbook instead what
  11205. 7:12:55I'm going to do is select a folder
  11206. 7:12:57because all those Excel files are in the
  11207. 7:13:00same folder inside my course I'll
  11208. 7:13:02navigate into resources data sets and
  11209. 7:13:05then I'm going to select the folder
  11210. 7:13:06itself and select open now you may
  11211. 7:13:08notice the Navigator window looks a
  11212. 7:13:10little bit different and that's because
  11213. 7:13:12now it contains the metadata of these
  11214. 7:13:15Excel files itself such as the name data
  11215. 7:13:18access modified created and whatnot and
  11216. 7:13:20with this one before we had that load
  11217. 7:13:22and load to along with transform data
  11218. 7:13:25we're just going to go into combining
  11219. 7:13:27this data set so I'm going to go ahead
  11220. 7:13:28and click that and specifically we're
  11221. 7:13:30going to use combine and load now we
  11222. 7:13:33navigate to a window we're more familiar
  11223. 7:13:35with of combined files and what this is
  11224. 7:13:38doing is showing is how it's going to
  11225. 7:13:40actually combine the files in that we
  11226. 7:13:43need to make sure one that they're all
  11227. 7:13:44the same format but if I actually click
  11228. 7:13:47sheet one of which the sample file is
  11229. 7:13:50looking at is the first file this is
  11230. 7:13:52what it looks like and we know this
  11231. 7:13:54already because we looked at the January
  11232. 7:13:55file anyway if you wanted to you could
  11233. 7:13:57also change this to a specific file I'm
  11234. 7:14:00fine with just using first file
  11235. 7:14:01selecting a sheet if I was having errors
  11236. 7:14:04I would do skip files with errors but
  11237. 7:14:05I'm not worried about that just yet I'm
  11238. 7:14:07going go ahead and click okay and Bam
  11239. 7:14:09now we have that once again that table
  11240. 7:14:11loaded into here and this has all the
  11241. 7:14:13data so I expect it to have around
  11242. 7:14:1530,000 results similar to what we've
  11243. 7:14:18been working with before and it looks
  11244. 7:14:20like it does and if you notice we have
  11245. 7:14:22this new column right here on Source
  11246. 7:14:24name which tells which Excel file each
  11247. 7:14:27of these comes through and just doing a
  11248. 7:14:29cursory check it looks like all the
  11249. 7:14:30different months are in there now onto
  11250. 7:14:33this queries and connections paint up
  11251. 7:14:35here I'm going to actually make this
  11252. 7:14:36smaller so I can actually see it all
  11253. 7:14:38previously we only had our sheet one
  11254. 7:14:40query but now we have also this data
  11255. 7:14:43jobs monthly query and with that up here
  11256. 7:14:47at the top because we're connecting
  11257. 7:14:50multiple different files we have these
  11258. 7:14:53helper queries that were created during
  11259. 7:14:55the process so you can navigate over
  11260. 7:14:57these and basically see that hey it used
  11261. 7:15:00the September file as a sample and this
  11262. 7:15:02is the steps it took or this is what the
  11263. 7:15:04sample file actually looks like anyway
  11264. 7:15:07I'm not too concerned with those helper
  11265. 7:15:08queries right there or with anything
  11266. 7:15:10underneath this transform from files I
  11267. 7:15:12mainly care about what's under those
  11268. 7:15:14other queries so we have sheet one and
  11269. 7:15:16data jobs monthly speaking of which
  11270. 7:15:18sheet one is a really bad name for this
  11271. 7:15:20so I'm going to rename this to data jobs
  11272. 7:15:23January I also rename the sheet so just
  11273. 7:15:25to prove with the data jobs monthly that
  11274. 7:15:27we actually imported it all in we're
  11275. 7:15:30going to go in and load to and we're
  11276. 7:15:32going to do this time a pivot chart
  11277. 7:15:35going to go ahead and click okay we're
  11278. 7:15:37doing the existing sheet with the table
  11279. 7:15:39I don't care if I get rid of that table
  11280. 7:15:40so I'll click okay and similar four I'm
  11281. 7:15:42going to put that job title short this
  11282. 7:15:44we're going to put in the Axis or the
  11283. 7:15:45rows and then we're going to want a
  11284. 7:15:47count of that as well and then I'll just
  11285. 7:15:49organize this in descending order based
  11286. 7:15:52on the count of job title short so bam
  11287. 7:15:55we now connected with power query to
  11288. 7:15:58multiple Excel files and imported in at
  11289. 7:16:01once I hope you realize that now this
  11290. 7:16:05unlocks a lot of potentials because say
  11291. 7:16:07you get January of next year's data you
  11292. 7:16:10could just put it into this folder here
  11293. 7:16:13and then just all you need to do is go
  11294. 7:16:15back into the data tab click refresh
  11295. 7:16:18it's going to go through and refresh all
  11296. 7:16:20that data set and pull those new numbers
  11297. 7:16:25in all right in this example you're not
  11298. 7:16:28going to follow along I'm just want to
  11299. 7:16:29show the power a power query okay the
  11300. 7:16:32pun's getting old by now anyway I have
  11301. 7:16:34this CSV pile or comma separated values
  11302. 7:16:38basically it has comma separating
  11303. 7:16:40everything I looked at this is in VSS
  11304. 7:16:42code don't worry about any of this stuff
  11305. 7:16:43like I said you're not doing it the main
  11306. 7:16:45point is to show this data set itself
  11307. 7:16:47right here it's starting at the top row
  11308. 7:16:48of one and if I scroll all the way down
  11309. 7:16:51we get to the last entry and that's
  11310. 7:16:552.7 million jobs that I have here in
  11311. 7:16:59this data set we can actually import
  11312. 7:17:02this into Excel now if you recall if you
  11313. 7:17:04scroll all the way down to the bottom of
  11314. 7:17:06excel it only includes about 1 million
  11315. 7:17:09rows so how the heck are we going to do
  11316. 7:17:11this with power query so this is a CSV
  11317. 7:17:13file I'm going to go to data get data
  11318. 7:17:15from file specifically it's a text or
  11319. 7:17:17CSV and I'm going to import in this data
  11320. 7:17:19jobs large file that I have reminder
  11321. 7:17:21again you don't have access to this file
  11322. 7:17:23it's just too big to even get onto
  11323. 7:17:24GitHub so that's why this is a demo only
  11324. 7:17:27this is the data set itself so I'm going
  11325. 7:17:29to go in and actually go and look load
  11326. 7:17:31it now this has taken a little bit of
  11327. 7:17:33time as you can see it's loading around
  11328. 7:17:35100,000 rows as it goes through also it
  11329. 7:17:38had well it has three errors now in here
  11330. 7:17:41this usually appears whenever it has a
  11331. 7:17:43row of data that doesn't necessarily
  11332. 7:17:45make sense for what it's supposed to
  11333. 7:17:46import it alert you there's an error so
  11334. 7:17:48the 2.7 million rows are loaded but I
  11335. 7:17:50get this error message the query
  11336. 7:17:52returned more data that will fit on a
  11337. 7:17:53worksheet remember it automatically by
  11338. 7:17:55default tries to load it into a table
  11339. 7:17:58into Excel and it's telling me that hey
  11340. 7:18:00it's not going to fit so I'll click okay
  11341. 7:18:03now it's still going to try to load that
  11342. 7:18:04table but it's going to cut it off at
  11343. 7:18:07that 1.5 million but this doesn't mean
  11344. 7:18:10we can't analyze it if I scroll over
  11345. 7:18:13this query it reminds me that the
  11346. 7:18:14results of this query is too large to be
  11347. 7:18:16loaded to the specified location
  11348. 7:18:17worksheets have a limit of 1 million
  11349. 7:18:19rows sure instead what I'm going to do
  11350. 7:18:21is go and load to and I'm going to load
  11351. 7:18:23to a pivot table click okay and it's
  11352. 7:18:26going to warn me again about the table
  11353. 7:18:28loss yeah I know so once it loaded like
  11354. 7:18:30a hot minute to do that I can actually
  11355. 7:18:32go through and now analyze these 2.7
  11356. 7:18:35million rows so if I do something like
  11357. 7:18:37put the job posted date into the rows
  11358. 7:18:40and we also want and we want to get a
  11359. 7:18:42count of this so I'm going to put the
  11360. 7:18:43job poster date also into the values so
  11361. 7:18:45we get this counts anyway reformatting
  11362. 7:18:47it with commas to actually be able to
  11363. 7:18:48read this now we can see that we did
  11364. 7:18:52actually get in 2.7 million different
  11365. 7:18:54data points for this and as a side note
  11366. 7:18:57this is all the data that I've collected
  11367. 7:18:59since I started in 2022 doing this so
  11368. 7:19:03there's a lot of different jobs so Excel
  11369. 7:19:05is not necessarily limited to just
  11370. 7:19:07analyzing 1 million rows of
  11371. 7:19:12data all right so let's finally get into
  11372. 7:19:14that last example of importing in this
  11373. 7:19:16list of S&P 500 companies feel free you
  11374. 7:19:19don't necessarily have to do this table
  11375. 7:19:20from Wikipedia but I'll drop a link
  11376. 7:19:23below on where this table is located and
  11377. 7:19:25you can use that if you want so I copied
  11378. 7:19:27the web page of that table then I'm
  11379. 7:19:29going to come in here and select like
  11380. 7:19:30this of from web you can do basic or
  11381. 7:19:33Advanced with Wikipedia it's perfectly
  11382. 7:19:35fine to do the basic version putting in
  11383. 7:19:37that URL clicking okay we get into that
  11384. 7:19:39Navigator window and there's actually
  11385. 7:19:42multiple tables inside of here one is
  11386. 7:19:45the list of 500 companies and the second
  11387. 7:19:48one is a list of companies that have
  11388. 7:19:50been added and also removed from there
  11389. 7:19:53they also just have random tables in
  11390. 7:19:55there as well just because in the
  11391. 7:19:56internet you're going to have random
  11392. 7:19:57tables like this one of main menu
  11393. 7:19:58contents tools appearances not
  11394. 7:19:59applicable anyway we want to do table
  11395. 7:20:02one I'm going to go ahead and click load
  11396. 7:20:04and now that we have it in here anytime
  11397. 7:20:06we do this probably need to rename it
  11398. 7:20:08appropriately from something like table
  11399. 7:20:10one to S&P 500 in this case and Bam
  11400. 7:20:13scrolling down we can see that we have
  11401. 7:20:16um should be 500 oh a little bit more
  11402. 7:20:18than 500 apparently the list has been
  11403. 7:20:21updated to clear a little bit more I
  11404. 7:20:23don't know why that is but got all the
  11405. 7:20:25DAT
  11406. 7:20:28nonetheless now quick note on if you
  11407. 7:20:31want to actually navigate into any of
  11408. 7:20:33the files and see what I've done
  11409. 7:20:36whenever you go to open it so in this
  11410. 7:20:38case I want to open power query intro
  11411. 7:20:40I'm going to open it up you're going to
  11412. 7:20:42get this of external data connections
  11413. 7:20:44have been disabled do you want to enable
  11414. 7:20:46content in this case yes you want to
  11415. 7:20:48enable all that now the problem you now
  11416. 7:20:50may also have is that it may give you a
  11417. 7:20:53warning that your data source settings
  11418. 7:20:54aren't correct and what do I mean by
  11419. 7:20:56that if I go into data and then under
  11420. 7:20:58get data we're going to see this thing
  11421. 7:21:00here for data source settings and it's
  11422. 7:21:04managing settings for your data sources
  11423. 7:21:06anyway you're going to see these
  11424. 7:21:07locations here these are file locations
  11425. 7:21:10of the data sets and they reference the
  11426. 7:21:12files that are on my computer that's not
  11427. 7:21:16going to be the same for your computer
  11428. 7:21:17it's probably going to be in a different
  11429. 7:21:19location with a different name so here I
  11430. 7:21:22know that this is the data jobs monthly
  11431. 7:21:25folder if I wanted to actually go in and
  11432. 7:21:28update it with the actual location for
  11433. 7:21:30where it is I would go down here select
  11434. 7:21:33change source and then from there select
  11435. 7:21:36browse to navigate to it you're going to
  11436. 7:21:38once again navigate to your course of
  11437. 7:21:40excel. analytics into resources data
  11438. 7:21:43sets and then there's that data jobs
  11439. 7:21:44monthly click open and okay and then
  11440. 7:21:48it's going to update you're going to
  11441. 7:21:50have to do that for this file and all
  11442. 7:21:52the files within a power query and also
  11443. 7:21:55power pivot because your file locations
  11444. 7:21:58are not the same as my file locations
  11445. 7:22:00then after you do that all it should go
  11446. 7:22:02through and refresh but if it doesn't
  11447. 7:22:03you can manually refresh it underneath
  11448. 7:22:05the data tab by clicking refresh
  11449. 7:22:09all the last item to call out is the
  11450. 7:22:12options menu we're going to be going
  11451. 7:22:13into the query editor in the next video
  11452. 7:22:16so we're going to save that for that one
  11453. 7:22:17anyway query option has a lot of
  11454. 7:22:20advanced details in controlling power
  11455. 7:22:23query in this case of showing the query
  11456. 7:22:25Peak when hovering on a query in the
  11457. 7:22:27query's task pane that's sort of
  11458. 7:22:29annoying to me it pops up every now and
  11459. 7:22:31then I'm going to go ahead and unclick
  11460. 7:22:32it but they also have different
  11461. 7:22:34behaviors you contr control for data
  11462. 7:22:35load for the power qu editor the
  11463. 7:22:37security privacy and even Diagnostics so
  11464. 7:22:40feel free to go through this and
  11465. 7:22:41navigate and see what is available to
  11466. 7:22:43actually customize with this I'm going
  11467. 7:22:45to go ahead and click my changes of okay
  11468. 7:22:48and now whenever I go to the queries and
  11469. 7:22:49connections and actually hover over
  11470. 7:22:51something like data jobs Jan doesn't
  11471. 7:22:53just pop up on the screen and sort of
  11472. 7:22:55catch me off guard so I sort of like
  11473. 7:22:57that all right we now got some practice
  11474. 7:23:00problems for you to go through and get
  11475. 7:23:01more familiar with performing Bally ETL
  11476. 7:23:04with power query and loading in some
  11477. 7:23:07different data sources with it with that
  11478. 7:23:09we'll see you in the next one we're
  11479. 7:23:11going to get into the power query editor
  11480. 7:23:13anyway nothing to be intimidated by as a
  11481. 7:23:15lot of the core principles we've learned
  11482. 7:23:17already in Excel are going to be applied
  11483. 7:23:19to this new window so you're going to
  11484. 7:23:21pick it right up on it all right with
  11485. 7:23:23that I'll see you in the next
  11486. 7:23:24[Music]
  11487. 7:23:28one in this lesson we're going to be
  11488. 7:23:30continuing on with power query focusing
  11489. 7:23:32on specifically getting you introduced
  11490. 7:23:35to this power query editor and in order
  11491. 7:23:38to facilitate this we're going to be
  11492. 7:23:40going through or walking through
  11493. 7:23:42actually importing and cleaning up our
  11494. 7:23:45data science job posting data set that
  11495. 7:23:47has over 30,000 rows of data we're going
  11496. 7:23:50to be automating a lot of the steps
  11497. 7:23:52using power query that previously we had
  11498. 7:23:55to use functions and formulas for so
  11499. 7:23:57it's going to be saving us a lot of
  11500. 7:23:59times in order to actually automate this
  11501. 7:24:01data in
  11502. 7:24:05justest for this we're going to be
  11503. 7:24:07starting out with a blank workbook so I
  11504. 7:24:09know we do have this power query editor
  11505. 7:24:11but I don't want you actually editing
  11506. 7:24:12from that that's more for a reference
  11507. 7:24:15now if you do open this file in order to
  11508. 7:24:17reference it as we go along this
  11509. 7:24:19remember you're going to have issues or
  11510. 7:24:21an error saying hey data source isn't
  11511. 7:24:23there remember you need to go in and
  11512. 7:24:25actually select where this data set is
  11513. 7:24:27so under the data tab get data and then
  11514. 7:24:30under data source settings you're going
  11515. 7:24:33to need to update this link or this
  11516. 7:24:36address right here of where you're
  11517. 7:24:38actually accessing the data job salary
  11518. 7:24:41all Excel file this is my location not
  11519. 7:24:44yours got to update it anyway like I
  11520. 7:24:46said we're not going to be using this so
  11521. 7:24:47I'm going to open up a new notebook and
  11522. 7:24:50like before we're going to be importing
  11523. 7:24:51in that data set so we'll go to get data
  11524. 7:24:54from file from Excel workbook you'll
  11525. 7:24:57navigate to the course itself under
  11526. 7:24:59resource under data sets and then we're
  11527. 7:25:02going to be using this data jobs salary
  11528. 7:25:04all Microsoft Excel file go ahead and
  11529. 7:25:07import this in we're going to select
  11530. 7:25:09that sheet one and this time instead of
  11531. 7:25:11doing load or even the load two we're
  11532. 7:25:14actually going to go into transform data
  11533. 7:25:17and this is now going to pop open the
  11534. 7:25:19power query editor and this is where all
  11535. 7:25:22the magic happens behind the scenes in
  11536. 7:25:24order to get our data cleaned up so
  11537. 7:25:27let's go over a quick overview of the
  11538. 7:25:29window itself it's very similar to laid
  11539. 7:25:32out to excel up at the top we have a
  11540. 7:25:34ribbon with four different tabs of Home
  11541. 7:25:36transform add columns and view we'll be
  11542. 7:25:38walking through each one of these as we
  11543. 7:25:40go through this lesson underneath here
  11544. 7:25:42on the Le hand side we have which query
  11545. 7:25:44we're selected to once we're building
  11546. 7:25:46multiple queries they'll start popping
  11547. 7:25:48up underneath each other we can close
  11548. 7:25:50this if we want and make more room is
  11549. 7:25:53right here in the middle is what the
  11550. 7:25:55current step or what the current status
  11551. 7:25:58is is of our data set now yours may look
  11552. 7:26:01a little bit different right now
  11553. 7:26:03specifically I have this column
  11554. 7:26:04distribution enabled underneath the view
  11555. 7:26:06tab which I'm going to go to more in a
  11556. 7:26:08second but anyway it basically outlines
  11557. 7:26:10all the different columns or where we're
  11558. 7:26:11at with the data set itself before we
  11559. 7:26:14finally loaded in now right above this
  11560. 7:26:16area is a Formula bar just like similar
  11561. 7:26:20again to the Excel UI and this has all
  11562. 7:26:24the steps or all the code the M language
  11563. 7:26:28done in this current step if you will of
  11564. 7:26:32actually cleaning up this data set and
  11565. 7:26:35you're like step like what step well
  11566. 7:26:37over here on the right hand side we have
  11567. 7:26:39our query settings and in it we have the
  11568. 7:26:42name of our query and then we have the
  11569. 7:26:44applied steps this lists all the
  11570. 7:26:48different Transformations that we've
  11571. 7:26:50walked through so just a brief walkr the
  11572. 7:26:52first step is source and if I look at
  11573. 7:26:55the formula bar basically what it's
  11574. 7:26:56doing is it's connecting to that Excel
  11575. 7:26:59file with the file path that it has in
  11576. 7:27:02the next step of navigation it's
  11577. 7:27:04basically selecting hey out of that
  11578. 7:27:05Excel file actually select sheet one
  11579. 7:27:08from there to actually load in then from
  11580. 7:27:10there we can see that the headers are
  11581. 7:27:13actually in the first row and not up at
  11582. 7:27:14the top so the next or third step is the
  11583. 7:27:18promote the headers up to the top and
  11584. 7:27:20then finally the last step is change
  11585. 7:27:23type it actually goes through and
  11586. 7:27:24assigns for each of these what data type
  11587. 7:27:27it is so in this case job title short it
  11588. 7:27:30assigns to type text whereas something
  11589. 7:27:32like job posted date it assigns to type
  11590. 7:27:35number which needs to be a date which we
  11591. 7:27:36going to fix that in a little bit down
  11592. 7:27:38at the bottom there's a few statistics
  11593. 7:27:39on this specifically talks about 16
  11594. 7:27:42columns and over 999 rows and it tells
  11595. 7:27:45you when the last preview is downloaded
  11596. 7:27:47anyway if I just wanted to stop here
  11597. 7:27:49with this data transformation if you
  11598. 7:27:50will I would just come up into home go
  11599. 7:27:52into close and load we're just going to
  11600. 7:27:54do close and load two and in this case
  11601. 7:27:58like I'm just going to put in a pivot
  11602. 7:27:59table
  11603. 7:28:00specifically analyzing for job title
  11604. 7:28:03short specifically how many different
  11605. 7:28:05counts or that we have of this we can
  11606. 7:28:07see totaling it all up have around
  11607. 7:28:1032,000 anyway that's a quick overview
  11608. 7:28:12let's actually get into exploring each
  11609. 7:28:14one of those tabs in the power query
  11610. 7:28:16editor so we're going to go back to data
  11611. 7:28:18get data and from there you can just
  11612. 7:28:21select this of launch powerquery editor
  11613. 7:28:24similarly you can also use a shortcut of
  11614. 7:28:26just alt F12 I'm on a Mac so I have to
  11615. 7:28:29press option
  11616. 7:28:30but actually launching this up boom it
  11617. 7:28:32has it with just a shortcut anytime you
  11618. 7:28:35launch it it may be grayed out here so
  11619. 7:28:37we need to make sure that we go in and
  11620. 7:28:38actually select a query that we want to
  11621. 7:28:41analyze and
  11622. 7:28:45transform for this overview we're going
  11623. 7:28:47to start with the view tab because
  11624. 7:28:49mainly I want to get into actually how
  11625. 7:28:51we can use the power query editor for
  11626. 7:28:54Eda and thus save us a lot of time of
  11627. 7:28:57actually having to analyze it in Excel
  11628. 7:29:00in the spreadsheets itself instead we
  11629. 7:29:02can do it right here so going through
  11630. 7:29:04this first thing is you can toggle on
  11631. 7:29:06and off the formula bar I always leave
  11632. 7:29:08the form on so I don't know why that's
  11633. 7:29:09an option next is the data preview I can
  11634. 7:29:12change the font type I can also CH the
  11635. 7:29:16column quality so this is telling us if
  11636. 7:29:19there would be a potential error in here
  11637. 7:29:23or if in this case of job location if
  11638. 7:29:25there's empty values you typically have
  11639. 7:29:27error values whenever the data type
  11640. 7:29:29isn't being being understood correctly
  11641. 7:29:31so in this case job tile short is text
  11642. 7:29:33everything in there is a text column if
  11643. 7:29:35I were to change this to number press
  11644. 7:29:37enter to run I'm going to get errors all
  11645. 7:29:39the way through here because well that
  11646. 7:29:41was text and can't convert text to
  11647. 7:29:43numbers also not sure why but it should
  11648. 7:29:45say 100% error but it's not anyway they
  11649. 7:29:47also have this green bar up at the top
  11650. 7:29:50and you can use this that's what I
  11651. 7:29:52actually prefer so I'm going to unclick
  11652. 7:29:53on The View and changes from the con
  11653. 7:29:55quality because you can actually look up
  11654. 7:29:58here and see and then also togg it so in
  11655. 7:30:00this case for salary or average it looks
  11656. 7:30:03like there's 60% of them are valid and
  11657. 7:30:0640% are empty now remember this is only
  11658. 7:30:10doing the data sets around 30,000 or
  11659. 7:30:1332,000 rows but it's only profiling so
  11660. 7:30:16down here on the bottom column profiling
  11661. 7:30:18based on the top 1,000 rows so that's
  11662. 7:30:21all we're seeing right here if I wanted
  11663. 7:30:23to see all of the data itself now
  11664. 7:30:25depending on how big it is we may not
  11665. 7:30:27want to do this I can select this at the
  11666. 7:30:29bottom and column profiling based on
  11667. 7:30:31entire data set and it's going to reload
  11668. 7:30:34back into here not sure how long it's
  11669. 7:30:36going to take now going over I can see
  11670. 7:30:38there's 22,000 data sets of for data
  11671. 7:30:41points of the salary year where 10,000
  11672. 7:30:44are empty the other thing that you may
  11673. 7:30:46have enabled by now is that column
  11674. 7:30:47distribution to be able to see what are
  11675. 7:30:50the what is the breakdown of distinct
  11676. 7:30:53and also unique values investigating
  11677. 7:30:56what actually distinct unique means I
  11678. 7:30:58went back to the job tile short looks
  11679. 7:31:00like now it's actually picking up on all
  11680. 7:31:01the different errors I'm going to
  11681. 7:31:03actually change this back we don't want
  11682. 7:31:04this to be number for job tile short
  11683. 7:31:06we're going to change this back to text
  11684. 7:31:08and I'm also going to refresh the
  11685. 7:31:10preview by going to that Home tab
  11686. 7:31:13basically refreshing it to get it all
  11687. 7:31:15cleaned up anyway if we recall from our
  11688. 7:31:17previous analysis there's 10 different
  11689. 7:31:20job titles of sat senior data scientist
  11690. 7:31:23data engineers and whatnot and so that
  11691. 7:31:26is the 10 distinct values they're
  11692. 7:31:30distinct because they have repetitive
  11693. 7:31:33values in here like right in here in six
  11694. 7:31:35and 7 data engineer appears more than
  11695. 7:31:38once now if we go over to something like
  11696. 7:31:40job country they have 111 distinct so
  11697. 7:31:43meaning 111 countries that have multiple
  11698. 7:31:46different countries and only 12
  11699. 7:31:48countries that have one value for it or
  11700. 7:31:51one unique value all right the last
  11701. 7:31:53thing in data preview is column profile
  11702. 7:31:56and this is pretty neat right now I'm
  11703. 7:31:58selected on the job tile short column
  11704. 7:32:00it provides one on the left- hand side
  11705. 7:32:02key statistics about the column and then
  11706. 7:32:05two it actually shows a breakdown of the
  11707. 7:32:08value distribution of it so this is
  11708. 7:32:10really helpful in performing Eda if I
  11709. 7:32:13wanted to go through here and actually
  11710. 7:32:14see something so I can easily go in and
  11711. 7:32:16even see something like job country and
  11712. 7:32:18see how United States has the majority
  11713. 7:32:20of the values and then how the different
  11714. 7:32:22other countries Fall underneath that now
  11715. 7:32:24this takes up a lot of room and sort of
  11716. 7:32:27valuable real estate so I find myself
  11717. 7:32:29togging Ling this column profile on and
  11718. 7:32:31off all right last few sections in this
  11719. 7:32:34view tab go to column if you have a
  11720. 7:32:36large data set with a ton of columns you
  11721. 7:32:38can just come down here select the
  11722. 7:32:39column you want to go to and then it
  11723. 7:32:41will navigate you to it parameters this
  11724. 7:32:44is beyond the scope of this course we're
  11725. 7:32:46not going to be enabling parameters or
  11726. 7:32:47even using them so we'll call This na
  11727. 7:32:50next is the advanced editor which allows
  11728. 7:32:52us access to basically the behind the
  11729. 7:32:55scenes of our am uh M language which
  11730. 7:32:58we're going to be breaking down further
  11731. 7:32:59in an upcoming lesson so we're going to
  11732. 7:33:01save that but you can also access that
  11733. 7:33:04from the home menu in advanced editor as
  11734. 7:33:06well lastly is query dependencies
  11735. 7:33:09whenever it gets into complicated ways
  11736. 7:33:11that you're actually building your
  11737. 7:33:13different queries and how they're
  11738. 7:33:14connected to each other this is going to
  11739. 7:33:16come in handy and this case we're
  11740. 7:33:18showing that hey we connected to that
  11741. 7:33:20Excel file on my MacBook and we loaded
  11742. 7:33:24it into a pivot
  11743. 7:33:28table all right next up is query
  11744. 7:33:31settings I'm actually going to go ahead
  11745. 7:33:32and close this out for queries over here
  11746. 7:33:35anyway with the query settings we can
  11747. 7:33:37actually change the name of the query if
  11748. 7:33:40we want to in this case is named sheet
  11749. 7:33:43one I don't really like that I'm going
  11750. 7:33:44to name it something like J jobs and I
  11751. 7:33:47know it has salary data in it so I'm
  11752. 7:33:49going to have salary down here on the
  11753. 7:33:51applied steps like we mentioned this is
  11754. 7:33:52a step through walkth through of each of
  11755. 7:33:55the individual steps that power query
  11756. 7:33:57has taken to actually clean up our data
  11757. 7:34:00set now one thing I will call out in
  11758. 7:34:02this if I need to modify anything so in
  11759. 7:34:05this case if I wanted to modify the data
  11760. 7:34:08source here I could come inside of here
  11761. 7:34:11into the formula bar and edit it I would
  11762. 7:34:14encourage you if you're not familiar
  11763. 7:34:15with the phone of the bar with using
  11764. 7:34:17that or comfortable using it instead
  11765. 7:34:19click click this settings icon over here
  11766. 7:34:22on the right hand side and then
  11767. 7:34:24typically a window will pop up and allow
  11768. 7:34:26you to edit it so I could technically
  11769. 7:34:29change the location of this or change
  11770. 7:34:32what type of file it is the same for
  11771. 7:34:34navigation as well I can basically pull
  11772. 7:34:36back up that navigation window that I
  11773. 7:34:38had before and change the sheet I wanted
  11774. 7:34:40to for the change type this doesn't
  11775. 7:34:42really have a gear icon next to it for
  11776. 7:34:44us to edit so we're about to go through
  11777. 7:34:47and actually change it but if we inspect
  11778. 7:34:51the job posted date we'll see that here
  11779. 7:34:54one it has it underneath the type number
  11780. 7:34:56but then actually looking at the column
  11781. 7:34:58itself it's a number value because
  11782. 7:35:00remember Excel stores ex uh dates as
  11783. 7:35:03number values behind the scene well we
  11784. 7:35:05could convert this to a date by typing
  11785. 7:35:07in date here but you may not be
  11786. 7:35:09comfortable doing that just yet anyway
  11787. 7:35:11with that that's a great segue into the
  11788. 7:35:13Home tab into how actually we can change
  11789. 7:35:16something like a data
  11790. 7:35:19type with the home typ we've already
  11791. 7:35:21seen a lot of things already right we
  11792. 7:35:23saw the close and load too we also saw
  11793. 7:35:26that I can go through and actually
  11794. 7:35:28refresh my query query to make sure that
  11795. 7:35:30it's fully loaded and up to date if I
  11796. 7:35:33have multiple queries I can not only do
  11797. 7:35:35this refresh pery I can go to this
  11798. 7:35:37refresh all and it does refresh of all
  11799. 7:35:39queries we've already seen Advanced
  11800. 7:35:41edited before properties just allows us
  11801. 7:35:44to actually go in and change the name of
  11802. 7:35:46this query if you want to and manage is
  11803. 7:35:48more advanced we'll be dive in that in a
  11804. 7:35:50little bit similar to Under The View tab
  11805. 7:35:52with goto column we also have this
  11806. 7:35:54option of choose column and go do column
  11807. 7:35:58we can also just actually select a
  11808. 7:36:00column if you will so if I wanted to
  11809. 7:36:02actually select job post to date or even
  11810. 7:36:05more than that I can just do that and
  11811. 7:36:07it's going to select it and it's going
  11812. 7:36:10to actually remove all the other columns
  11813. 7:36:12so which is not what we want to do which
  11814. 7:36:14brings us a good point if we want to get
  11815. 7:36:16mid rid of a step all we have to do is
  11816. 7:36:18come over to the applied steps and
  11817. 7:36:20there's a red x mark that will appear
  11818. 7:36:23over any step that you do so I'm just
  11819. 7:36:25going to go ahead and click X here and
  11820. 7:36:27it's going to remove anything that I've
  11821. 7:36:29done moving on to remove columns which I
  11822. 7:36:31think is pretty self-explanatory if you
  11823. 7:36:32want to remove a column you just select
  11824. 7:36:34it and you select remove column
  11825. 7:36:36additionally if I want to remove all
  11826. 7:36:38other columns so in this case job title
  11827. 7:36:40let's say I want to keep that I could
  11828. 7:36:41select remove all other columns and it
  11829. 7:36:43would do that I want to cancel this step
  11830. 7:36:45so I'll click X similarly to remove
  11831. 7:36:47columns we have well keep rows and also
  11832. 7:36:50remove rows and then we have options for
  11833. 7:36:52also sorting our values if we want to
  11834. 7:36:55sort them from a to z or Z to A
  11835. 7:36:57depending on a column so back to job
  11836. 7:37:00post to date maybe I wanted them in
  11837. 7:37:02numerical order I could just click A to
  11838. 7:37:05Z and it would go through and actually
  11839. 7:37:06sort it anyway I don't really want to do
  11840. 7:37:08this I'm going to clear this step as
  11841. 7:37:10well this brings us actually into what
  11842. 7:37:12we want to do of we want to change this
  11843. 7:37:15job posted date to a date time and
  11844. 7:37:18that's we're going to use underneath
  11845. 7:37:20this transform section in the Home tab
  11846. 7:37:22right now this data type as I'm
  11847. 7:37:25selecting this job posted dat it notices
  11848. 7:37:27that it's a decimal number I go to
  11849. 7:37:29something like search location it
  11850. 7:37:31changes to text so what I want to do is
  11851. 7:37:34change this data type of decimal number
  11852. 7:37:37to specifically a date time because
  11853. 7:37:40that's what we have in here we have date
  11854. 7:37:41and time now this popup is going to come
  11855. 7:37:44up if you're doing this underneath the
  11856. 7:37:46step that has changed type already what
  11857. 7:37:48it's noticing is that the selected
  11858. 7:37:51column has an existing type conversion
  11859. 7:37:53would you like to replace the existing
  11860. 7:37:56conversion or basically preserve that as
  11861. 7:37:58a number and add a separate step I'm
  11862. 7:38:01just going to go ahead we're going to do
  11863. 7:38:02replace current but I just want to show
  11864. 7:38:03what it looks like of adding another
  11865. 7:38:05step in this case I converted it in this
  11866. 7:38:07step to a number and then the next step
  11867. 7:38:11I converted it to a date time I don't
  11868. 7:38:13like having a bunch of steps I want to
  11869. 7:38:15make this as concise as possible so I'm
  11870. 7:38:17going to clear that step instead and
  11871. 7:38:19instead this time whenever we go through
  11872. 7:38:21it and select date time I'm going to say
  11873. 7:38:24hey replace current now underneath here
  11874. 7:38:27it updated that job post to date type to
  11875. 7:38:30date time and it's all within one step
  11876. 7:38:32love this similarly to that date time I
  11877. 7:38:35also want to convert the salary or
  11878. 7:38:37average and the salary hour average
  11879. 7:38:40columns right now they're decimal
  11880. 7:38:42numbers which is nothing wrong with that
  11881. 7:38:45but I actually have the option to change
  11882. 7:38:47it to something like a currency in this
  11883. 7:38:50case once again I want to replace the
  11884. 7:38:52current step for that I'm going to do
  11885. 7:38:54the same for salary hour average and
  11886. 7:38:57change that to a currency as well for
  11887. 7:39:00replace current covering briefly these
  11888. 7:39:03other sections in the Home tab first up
  11889. 7:39:05is merge and append we're going to be
  11890. 7:39:08covering an entire lesson on this and
  11891. 7:39:10how we can actually take different Excel
  11892. 7:39:13files and different queries and combine
  11893. 7:39:14them together with this manage
  11894. 7:39:17parameters is outside the scope of this
  11895. 7:39:19course I don't find myself ever really
  11896. 7:39:21doing this so not something we need to
  11897. 7:39:22worry about data source settings similar
  11898. 7:39:25to what we saw outside of the power qu
  11899. 7:39:28in Excel basically the same popup is
  11900. 7:39:30going to come here to allow you to
  11901. 7:39:32change where your data source is and
  11902. 7:39:34then down here at the very end if we
  11903. 7:39:36have wanted to put in a new query I
  11904. 7:39:38wouldn't necessarily have to back out of
  11905. 7:39:40the power query editor I could just come
  11906. 7:39:41in here and select a new source a file
  11907. 7:39:44or database or other source and then
  11908. 7:39:46work through actually importing it in in
  11909. 7:39:48a query sometimes I find myself also
  11910. 7:39:50using this one of enter data say I had a
  11911. 7:39:53simple table that I wanted to input into
  11912. 7:39:57Power query to have I could go through
  11913. 7:39:59and just create that
  11914. 7:40:03table all right next up is the transform
  11915. 7:40:06Tab and this one I feel is maybe
  11916. 7:40:08actually although it looks like a lot of
  11917. 7:40:09options it's probably one of the most
  11918. 7:40:11simplest as you can see we have things
  11919. 7:40:12like text column number column date and
  11920. 7:40:15time columns structured columns
  11921. 7:40:16basically if we have a data type of this
  11922. 7:40:19we're going to go to you can go to if I
  11923. 7:40:21have a number column I want to go to
  11924. 7:40:23this and see what things I could do to
  11925. 7:40:24it such if I could do statistics to it I
  11926. 7:40:27could do rounding to it or I could even
  11927. 7:40:30get information out of it if it's even
  11928. 7:40:31or odd I also have this section on any
  11929. 7:40:34column that basically applies to any
  11930. 7:40:36column this is allows us to one like we
  11931. 7:40:39saw in the Home tab actually convert the
  11932. 7:40:41data type of something but also even
  11933. 7:40:43more advanced Transformations such as
  11934. 7:40:46pivoting and unpivoting columns which
  11935. 7:40:49we're going to be diving deeper into in
  11936. 7:40:50the next lesson on Advanced
  11937. 7:40:52Transformations and finally we have this
  11938. 7:40:54section on tables which just does more
  11939. 7:40:56of generic things to this data set such
  11940. 7:40:59as if I wanted to actually go through
  11941. 7:41:01and count the rows on this could and I
  11942. 7:41:03find out I have 32,000 different rows on
  11943. 7:41:06this anyway I actually want to transform
  11944. 7:41:08a column of this specifically this job
  11945. 7:41:11via column as you notice from here that
  11946. 7:41:15all these different job platforms have
  11947. 7:41:17via and then a space right at the
  11948. 7:41:20beginning of it I want to actually
  11949. 7:41:22remove that so in order to do this I
  11950. 7:41:24make sure that one job via column is
  11951. 7:41:26selected I notice up here in the any
  11952. 7:41:29columns it has the data type of text now
  11953. 7:41:32there are a few options in underneath
  11954. 7:41:34the text column section for like
  11955. 7:41:36splitting columns I could split it by
  11956. 7:41:39this half and then delete that via but I
  11957. 7:41:41find actually the easiest way to do this
  11958. 7:41:43is just go through this replace values
  11959. 7:41:47and we're not going to do replace errors
  11960. 7:41:48we're going to just do replace values
  11961. 7:41:49itself and we find a value in here in
  11962. 7:41:53this case we want to find VIA with a
  11963. 7:41:56space and we want to replace it with
  11964. 7:41:58well nothing if I wanted to go into
  11965. 7:42:00advanced options and I have a few
  11966. 7:42:02different selections available but
  11967. 7:42:03neither of these applicable does so
  11968. 7:42:05we're going to just go ahead and click
  11969. 7:42:06okay and Bam now we have these job
  11970. 7:42:09platforms cleared up now we've been
  11971. 7:42:12going through this and keeping the names
  11972. 7:42:14of these steps the same but sometimes I
  11973. 7:42:16like to be more descriptive in when it's
  11974. 7:42:19not a general tyag now it named this new
  11975. 7:42:22Step replaced values I may actually do
  11976. 7:42:25that a few times and I want to be able
  11977. 7:42:27to whenever I go back to this actually
  11978. 7:42:28be able to identify what steps did what
  11979. 7:42:31in this case change type promoted
  11980. 7:42:32headers navigation Source those are all
  11981. 7:42:35only usually typically done once so I
  11982. 7:42:37know what that means however however for
  11983. 7:42:38this one I don't know so I'm going to
  11984. 7:42:40right click it and go to rename and I'll
  11985. 7:42:42say this is replaced via in job via
  11986. 7:42:46which is much more descriptive in my
  11987. 7:42:50opinion all right only one more tab to
  11988. 7:42:53cover and that is the add column with
  11989. 7:42:56transform we transformed a current
  11990. 7:42:58column with ADD column we're adding
  11991. 7:43:00additional column to this similar
  11992. 7:43:02transform it has these options for text
  11993. 7:43:05number and also date and time so very
  11994. 7:43:08familiar features with this so let's say
  11995. 7:43:10I wanted to extract the month and the
  11996. 7:43:13year out of the job posted date column
  11997. 7:43:15basically I want to Callum for month and
  11998. 7:43:17I want to Callum for Year anyway
  11999. 7:43:19previously we learned with that
  12000. 7:43:20transform tab if I were to come into
  12001. 7:43:21here under date time and then select
  12002. 7:43:24something like month it's going to
  12003. 7:43:27transform this tab so it's going to get
  12004. 7:43:30rid of the contents of the job posted
  12005. 7:43:32date is not necessarily what I want I
  12006. 7:43:35want a new column so I'm going to
  12007. 7:43:36actually get rid of this Stu so with ADD
  12008. 7:43:39column what this does is with that job
  12009. 7:43:41posted date column selected I select
  12010. 7:43:44date in this case I want month I could
  12011. 7:43:46do start a month end of month day of
  12012. 7:43:48month whatever I just want the month
  12013. 7:43:49itself and then inserted month is pretty
  12014. 7:43:52descriptive I however don't like the
  12015. 7:43:55name of this so I could come in here
  12016. 7:43:57this is an option and change I double
  12017. 7:43:59clicked on this and name this job posted
  12018. 7:44:03month and then press enter now with this
  12019. 7:44:07I'm going to get a renamed columns here
  12020. 7:44:11so now I have two steps of this month
  12021. 7:44:14was inserted into this and then we
  12022. 7:44:16rename the column I would encourage you
  12023. 7:44:19to minimize the amount of steps you have
  12024. 7:44:21because these queries can get quite long
  12025. 7:44:23in this case I'm going to delete this
  12026. 7:44:25rename column go back to this inserted
  12027. 7:44:27month if we actually re read this you
  12028. 7:44:30don't actually need to understand what's
  12029. 7:44:32going on much in here but I can see
  12030. 7:44:35basically that we have this month in
  12031. 7:44:37quotation marks and this is named month
  12032. 7:44:41so I basically can reason that this is
  12033. 7:44:44probably the new column title of this so
  12034. 7:44:48instead of using month I'm just going to
  12035. 7:44:50edit this in the formula bar to job
  12036. 7:44:52posted month then I'm going to click at
  12037. 7:44:55the end and press enter and now all
  12038. 7:44:58within one step I inserted that month
  12039. 7:45:01and renamed it as well if you're not
  12040. 7:45:04comfortable doing that feel free to go
  12041. 7:45:06through that next step of actually
  12042. 7:45:07double clicking this and actually
  12043. 7:45:08changing it but I would encourage you if
  12044. 7:45:10you can actually try to mess around with
  12045. 7:45:11the formula if you make a mistake it's
  12046. 7:45:14pretty simple to just X out of that step
  12047. 7:45:17and then redo it again so there's no
  12048. 7:45:19harm to your actual data set now
  12049. 7:45:21similarly if I wanted to create that job
  12050. 7:45:23posted year column I could just go
  12051. 7:45:25through here select year whether I want
  12052. 7:45:28start year end of year year itself once
  12053. 7:45:30again it inserts year and then I would
  12054. 7:45:32want to change the name of this and
  12055. 7:45:33change this to job posted year and then
  12056. 7:45:36click enter and Bam now we have it I
  12057. 7:45:39don't actually need this all these are
  12058. 7:45:41from 2023 I don't actually this is not
  12059. 7:45:44going to provide any useful data for me
  12060. 7:45:45so I'm actually going to delete this
  12061. 7:45:49Stu all right I want to do one last
  12062. 7:45:51transformation before we actually load
  12063. 7:45:53this and going to actually visualize
  12064. 7:45:55this so we have our salary year average
  12065. 7:45:58column and then also want to compare
  12066. 7:46:00this to the salary hour average column
  12067. 7:46:05but right this is on a yearly basis this
  12068. 7:46:07is on an hourly basis what we could do
  12069. 7:46:10is do a conversion to our salary hour
  12070. 7:46:14average column to get it to an equal
  12071. 7:46:16value or comparable value to our yearly
  12072. 7:46:18value meaning we could put the number of
  12073. 7:46:20hours in a year multiply it times this
  12074. 7:46:23value and from there get what would be
  12075. 7:46:26the expected yearly salary for this hour
  12076. 7:46:30data so I could do this via the
  12077. 7:46:32transform tab right going into that
  12078. 7:46:34number column under standard we want to
  12079. 7:46:37actually multiply and then there's 2080
  12080. 7:46:41hours in a year working hours for 40
  12081. 7:46:44hours of work week I could go through
  12082. 7:46:47and actually do that and that's going to
  12083. 7:46:49update this column itself but remember
  12084. 7:46:52we probably want its own column so I'm
  12085. 7:46:55not going to use that instead we'll go
  12086. 7:46:57to add column with this
  12087. 7:46:59hour average column selected select
  12088. 7:47:02standard multiply put in those hours of
  12089. 7:47:052080 and then click okay once again I'm
  12090. 7:47:08going to rename this I can see that this
  12091. 7:47:10multiplication column is titled this via
  12092. 7:47:14in this step right here so I'm going to
  12093. 7:47:15rename it to salary hour adjusted and in
  12094. 7:47:20this case I'm going to also rename this
  12095. 7:47:21step to adjusted hourly salary to yearly
  12096. 7:47:26now I'm sort of a stickler for keeping
  12097. 7:47:27my data set in order right now I have
  12098. 7:47:29this job posted month and it's sort of
  12099. 7:47:32right away from it's pretty far away
  12100. 7:47:34from my job posted date I would actually
  12101. 7:47:36want to move it right next to it so
  12102. 7:47:38there's a couple options I can do to
  12103. 7:47:40move it I can select the column and then
  12104. 7:47:43come up here to the transform Tab and
  12105. 7:47:45move go left right to beginning to end
  12106. 7:47:49or I can actually just take it and then
  12107. 7:47:52drag it and this is taking forever it's
  12108. 7:47:54like paint dry but find where I want it
  12109. 7:47:57boom plant it in and then inserted the
  12110. 7:47:59step of reordered columns I'm going to
  12111. 7:48:01do the same thing with salary hour
  12112. 7:48:05adjusted and put it right next to salary
  12113. 7:48:07hour average and both of these done with
  12114. 7:48:10one step of reordered columns so I'm
  12115. 7:48:13fine with
  12116. 7:48:16that so now let's actually get into
  12117. 7:48:19analyzing this specifically I want to be
  12118. 7:48:21able to analyze and compare this salary
  12119. 7:48:23hour adjusted column that we just
  12120. 7:48:25created compared to the salary year
  12121. 7:48:28average so going back to home I'm going
  12122. 7:48:30to close and load this in we have this
  12123. 7:48:33previous analysis that we did before
  12124. 7:48:35doing Eda on the jobs actually want to
  12125. 7:48:38create my own from scratch all right so
  12126. 7:48:40back on sheet one we can see our queries
  12127. 7:48:41connection specifically that data job
  12128. 7:48:43salary remember the data tab you can go
  12129. 7:48:46into that and it can toggle on all that
  12130. 7:48:48queries and connections anyway we want
  12131. 7:48:50to insert I want to analyze that hourly
  12132. 7:48:53adjusted salary so I'm going to come in
  12133. 7:48:55to create a pivot chart we also do pivot
  12134. 7:48:59chart and pivot table at the same time
  12135. 7:49:00anyway when this pops up for pivot table
  12136. 7:49:02or pivot charts we want to we're not
  12137. 7:49:04going to select a table AR range because
  12138. 7:49:08this is a power query connection if you
  12139. 7:49:10will we're going to use this external
  12140. 7:49:13data source and we're going to say
  12141. 7:49:15choose connection what connection do we
  12142. 7:49:17want to use for this specifically I want
  12143. 7:49:19to use that DOA job salary so go ahead
  12144. 7:49:22and click that and open and we're going
  12145. 7:49:24to insert it into the existing worksheet
  12146. 7:49:27so now the pivot table set up for us go
  12147. 7:49:28forward to do one quick note you may be
  12148. 7:49:31tempted say if we went back to jobs Eda
  12149. 7:49:34to rightclick this and then go load to
  12150. 7:49:37and let's say hey I wanted to create a
  12151. 7:49:39new pivot chart well the problem is is
  12152. 7:49:42going to then get rid of this pivot
  12153. 7:49:45table that we previously created so you
  12154. 7:49:48don't want to necessarily if you want to
  12155. 7:49:50keep this you don't want to actually do
  12156. 7:49:52that back to the pivot table itself
  12157. 7:49:54you'll notice now because we have these
  12158. 7:49:55queries and connections but you can
  12159. 7:49:57toggle between the two over here on the
  12160. 7:49:59right hand side anyway what I want to
  12161. 7:50:01compare is that salary hour adjusted to
  12162. 7:50:06that salary year average right now it's
  12163. 7:50:09doing sums we don't want that we do
  12164. 7:50:12eventually we're go to Value fail
  12165. 7:50:13settings we're going to do average here
  12166. 7:50:15we're eventually going to do median I
  12167. 7:50:17promise you but we're going to STi for
  12168. 7:50:19average for the time being I'll adjust
  12169. 7:50:21both of these to be of average then I'm
  12170. 7:50:24not really liking the formatting here I
  12171. 7:50:26know we adjusted it as currency back in
  12172. 7:50:28the the power query but this is the one
  12173. 7:50:30data type that I find doesn't actually
  12174. 7:50:34follow through in actually making into
  12175. 7:50:36the correct data type when you import it
  12176. 7:50:38into Excel so you do need to go back
  12177. 7:50:40still and actually convert it into the
  12178. 7:50:42correct thing anyway we're seeing that
  12179. 7:50:43the hourly salary is much less than the
  12180. 7:50:48yearly salary and moving this over we
  12181. 7:50:50can also see this via visualization this
  12182. 7:50:53doesn't really show as much I would
  12183. 7:50:55rather look at this when compared to job
  12184. 7:50:58type
  12185. 7:50:59so I'm going to go ahead and grab job
  12186. 7:51:00title short and throw it into the axis
  12187. 7:51:04now closing out of this and then closing
  12188. 7:51:07out of this on the side we can now get a
  12189. 7:51:10better view of this I'm not liking the
  12190. 7:51:13format of this pivot chart specifically
  12191. 7:51:15I'm going to go in here design under
  12192. 7:51:16change chart type and change this to a
  12193. 7:51:19bar chart I feel like it's going to be
  12194. 7:51:21easier to read yeah it's a lot easier to
  12195. 7:51:23read also for these visualizations I'm
  12196. 7:51:25going to rightclick this and I'm going
  12197. 7:51:27to say hide all field button so that
  12198. 7:51:29make this easier to view and I'm going
  12199. 7:51:31to go ahead and stick The Legend at the
  12200. 7:51:34bottom okay we're off to a good start
  12201. 7:51:37other things I want to do to clean this
  12202. 7:51:39up is oh my goodness this is so long I'm
  12203. 7:51:41going to change these column titles to
  12204. 7:51:44hourly adjusted salary and then yearly
  12205. 7:51:47salary additionally I want to sort this
  12206. 7:51:49a little bit better specifically from
  12207. 7:51:51high to low so under sort options more
  12208. 7:51:54sort options I'm going to go into
  12209. 7:51:56sorting this as sending based on the
  12210. 7:51:58year L salary from high to low sorry
  12211. 7:52:01that's actually descending selecting
  12212. 7:52:03year salary clicking okay no it was
  12213. 7:52:06right the first time it's ascending okay
  12214. 7:52:08this is looking good you know also I
  12215. 7:52:09don't like having different colors I
  12216. 7:52:11like actually going with a consistent
  12217. 7:52:14theme so going into design change colors
  12218. 7:52:18I'll change this to this monochromatic
  12219. 7:52:20pallette 8 and Bam we now have our final
  12220. 7:52:24visualization that we use power query to
  12221. 7:52:26basically ingest all our data in clean
  12222. 7:52:29it up create this new column of hourly
  12223. 7:52:33adjusted salary perform an analysis in
  12224. 7:52:35Excel to average it and we can see that
  12225. 7:52:39consistently the hourly salary is well
  12226. 7:52:43below that of the yearly salary so I
  12227. 7:52:46guess it pays to have a salary job all
  12228. 7:52:49right we have some practice problems for
  12229. 7:52:50you to now go through and test out all
  12230. 7:52:54these different features and get more
  12231. 7:52:55familiar with the power query editor in
  12232. 7:52:59the next lesson we're going to be going
  12233. 7:53:00into advanced Transformations and Diving
  12234. 7:53:03deeper specifically in analyzing skills
  12235. 7:53:06and using power query to actually clean
  12236. 7:53:08it up so where we can actually analyze
  12237. 7:53:10skills with that see you in that
  12238. 7:53:15one all right welcome to this lesson
  12239. 7:53:17we're going to continue on with power
  12240. 7:53:19query specifically focusing on using
  12241. 7:53:22more advanced Transformations and for
  12242. 7:53:25this we're actually going to get into
  12243. 7:53:27analyzing those skills and being able to
  12244. 7:53:30put them on a graph and actually
  12245. 7:53:31visualize what are the top skills of
  12246. 7:53:34data nerds now if you recall way back in
  12247. 7:53:37the functions and formulas chapter when
  12248. 7:53:40we went over text functions we did a
  12249. 7:53:42little bit of text cleanup to clean up
  12250. 7:53:44this column and then plot it but we were
  12251. 7:53:46only able to do that with around 20 rows
  12252. 7:53:49now with the power of power query we're
  12253. 7:53:52actually going to be able to clean up
  12254. 7:53:53all these values and be able to
  12255. 7:53:56visualize it for all 30,000 job post
  12256. 7:53:59so let's jump in if you want to you can
  12257. 7:54:01continue on from that worksheet that we
  12258. 7:54:03used in the previous lesson and just
  12259. 7:54:07make sure that you do go through and
  12260. 7:54:09actually save it before you continue on
  12261. 7:54:12however if you got lost in the way or
  12262. 7:54:13you just don't have that file anymore
  12263. 7:54:14feel free to use the lesson or the file
  12264. 7:54:17from the last lesson of power query Eder
  12265. 7:54:20once again you don't want to be using
  12266. 7:54:21the actual one working cuz that has the
  12267. 7:54:23final results we're going to want to
  12268. 7:54:24work with that one and this has all the
  12269. 7:54:26different work that we did it also has
  12270. 7:54:28some some additional analysis whenever I
  12271. 7:54:30looked at plotting it over time to see
  12272. 7:54:33if how the salary of yearly versus
  12273. 7:54:35hourly
  12274. 7:54:38compared anyway let's get into editing
  12275. 7:54:41this and we can get to the power query
  12276. 7:54:42editor by going up to get data launch
  12277. 7:54:45power query or pressing alt F12 once it
  12278. 7:54:49loads and need to click on the query
  12279. 7:54:50that I actually want to look at and I'm
  12280. 7:54:52going to close this or minimize this the
  12281. 7:54:54first thing that I want to do is start
  12282. 7:54:56an index column on this data set because
  12283. 7:55:00in general whenever you have a source
  12284. 7:55:02data set or a fact table like this is
  12285. 7:55:05you want to have an index associated
  12286. 7:55:08with it yeah these row numbers are good
  12287. 7:55:09but that's not good enough and we'll be
  12288. 7:55:11using it more in the power pivot chapter
  12289. 7:55:13but it's good practice to start it now
  12290. 7:55:15so moving over to the add column tab I'm
  12291. 7:55:17going to go to index column it allows us
  12292. 7:55:20to start from either zero or one I'm a
  12293. 7:55:22coder so I like from zero now Pro tip I
  12294. 7:55:25want this index at the front now I could
  12295. 7:55:27go to to transform and then move and
  12296. 7:55:30then move this to the beginning but
  12297. 7:55:32remember we did this reordered columns
  12298. 7:55:34right here so what I'm actually going to
  12299. 7:55:35do is take this added index put it
  12300. 7:55:38before reordered columns now that the
  12301. 7:55:41reordered columns is right there
  12302. 7:55:43whenever I select this index and move
  12303. 7:55:46this over to beginning it's going to be
  12304. 7:55:48included in part of this step of all of
  12305. 7:55:51our column reord so I don't have once
  12306. 7:55:53again multiple different reordered
  12307. 7:55:54columns
  12308. 7:55:58all right in order to clean up this job
  12309. 7:56:00skills column we're going to end up
  12310. 7:56:02being putting this uh these skills right
  12311. 7:56:06now they're separated by column inside
  12312. 7:56:07of this list we're going to be breaking
  12313. 7:56:09them up into their own individual rows
  12314. 7:56:12and because we're breaking this up into
  12315. 7:56:13different rows this now is going to put
  12316. 7:56:16for this Row one value here this is
  12317. 7:56:18going to make 1 2 3 4 5 6 7 this is
  12318. 7:56:21going to make seven different rows of
  12319. 7:56:23data this is going to mess up anytime we
  12320. 7:56:25want to analyze anything because imagine
  12321. 7:56:27if you have like a salary data it's then
  12322. 7:56:29going to appear seven times so the main
  12323. 7:56:31point of explaining that is we want a
  12324. 7:56:33new query to actually populate and
  12325. 7:56:37actually break these skills out into
  12326. 7:56:39their own separate rows so in order to
  12327. 7:56:41create a query or another query right
  12328. 7:56:43now we have queries one to create
  12329. 7:56:46another query from this we have two
  12330. 7:56:48options and that's underneath Home tab
  12331. 7:56:50they have manage and we can either
  12332. 7:56:54delete a query which we're not going to
  12333. 7:56:55do we can either duplicate it or
  12334. 7:56:57reference it I can also get to this by
  12335. 7:56:59just right-clicking the query and it
  12336. 7:57:01also has these of duplicate and
  12337. 7:57:03reference let's actually look at both of
  12338. 7:57:05those starting with duplicate first so
  12339. 7:57:08I've created my duplicate query and as
  12340. 7:57:10you can see it basically has a duplicate
  12341. 7:57:13of the original query nothing really has
  12342. 7:57:17changed from it now this is cool if I
  12343. 7:57:19want to walk through all the different
  12344. 7:57:21steps again and I wanted to have it in
  12345. 7:57:23this new query but I actually like this
  12346. 7:57:27other option so I'm going to go to data
  12347. 7:57:28job salary this CL I'm going to go down
  12348. 7:57:31select reference okay this query this
  12349. 7:57:34one named three is referencing data job
  12350. 7:57:38seller and it only has one applied step
  12351. 7:57:41if we look at the applied step all it is
  12352. 7:57:43doing is referencing the data jobs
  12353. 7:57:46salary so this first query right now and
  12354. 7:57:48populating it for us and this is really
  12355. 7:57:50good because say now I make changes to
  12356. 7:57:53the original query such as say I want to
  12357. 7:57:56go through and I don't want any any more
  12358. 7:57:58of the hourly data in here I only want
  12359. 7:58:00the yearly data so I filter down to only
  12360. 7:58:02have the yearly data so now it's
  12361. 7:58:05filtered these rows for the yearly data
  12362. 7:58:07don't worry we're actually not going to
  12363. 7:58:08do this I'm going to delete this Stu but
  12364. 7:58:09anyway if I go to that duplicated query
  12365. 7:58:12the one with the three at the end this
  12366. 7:58:15one only has year values in it this I
  12367. 7:58:19can verify is 100% yearly by looking
  12368. 7:58:22either the column distribution or the
  12369. 7:58:24column profile everything is your anyway
  12370. 7:58:27we don't actually want to do that step
  12371. 7:58:29so I'm going to go back to this original
  12372. 7:58:31query clear the filtered rows and once
  12373. 7:58:34again it's going to just clean this back
  12374. 7:58:36up to have two distinct values so
  12375. 7:58:38compare checking the S rate yearly and
  12376. 7:58:39also hourly okay so we like the
  12377. 7:58:42reference for our case cuz I like we may
  12378. 7:58:45make changes to the original one so I'm
  12379. 7:58:47going to delete this number two because
  12380. 7:58:49remember that was the duplicate and
  12381. 7:58:50we're going to keep the number three one
  12382. 7:58:52which was the reference we're also going
  12383. 7:58:54to be doing all our alterations on the
  12384. 7:58:56skills on this one so I'm going to to
  12385. 7:58:58rename this one data jobs
  12386. 7:59:03skills so with this new query data jobs
  12387. 7:59:06skills let's actually get into cleaning
  12388. 7:59:08up this column of data of job skills
  12389. 7:59:11specifically we're going to be
  12390. 7:59:12separating this into each of these
  12391. 7:59:15skills into the new rows by this comma
  12392. 7:59:18delimiter but we need to remove a few
  12393. 7:59:21things from this specifically this has
  12394. 7:59:23brackets around it and it also has
  12395. 7:59:24single quotes we don't need any of that
  12396. 7:59:26we need to remove it so going to that
  12397. 7:59:28transform tab we're going to go into
  12398. 7:59:30replace values and we've done this
  12399. 7:59:32before so for the value defin I'm going
  12400. 7:59:34to just start with the first square
  12401. 7:59:36bracket we want to replace with nothing
  12402. 7:59:38I'm going to click okay additionally we
  12403. 7:59:40want to replace the other bracket as
  12404. 7:59:43well replace it with a blank and then
  12405. 7:59:45finally we want to replace that single
  12406. 7:59:48quote as well also I'm going to just
  12407. 7:59:51rename these all next thing we going to
  12408. 7:59:53do is actually split these columns on
  12409. 7:59:55this delimiter of a comma so under
  12410. 7:59:59transform we can go here to split column
  12411. 8:00:02it has a few different options by
  12412. 8:00:03delimiter number of characters by
  12413. 8:00:05positions we can go to by delimiter I'm
  12414. 8:00:09going to select that for this we're
  12415. 8:00:11going to use a comma delimiter because
  12416. 8:00:13there's multiple different options you
  12417. 8:00:14could potentially use for this we want
  12418. 8:00:16to split at not just the leftmost but we
  12419. 8:00:18want to split at each occurrence there's
  12420. 8:00:21no quote characters in here we removed
  12421. 8:00:23all the quote characters so I'm going to
  12422. 8:00:24click none and then click okay so now we
  12423. 8:00:28just split these skills into let's see
  12424. 8:00:31how many different columns we have here
  12425. 8:00:33looks like we have up to 24 skills for
  12426. 8:00:37all these different skills that we have
  12427. 8:00:39so now what we need to do to get all of
  12428. 8:00:41these if you will skills within a single
  12429. 8:00:45column we need to unpivot them but the
  12430. 8:00:49one issue right now so I have all these
  12431. 8:00:50skills right here but we also have all
  12432. 8:00:52these other columns right here I don't
  12433. 8:00:55really care about all them just I don't
  12434. 8:00:57really care about around too much I want
  12435. 8:00:59to mainly just analyze job title short
  12436. 8:01:01and indexed so what I'm going to do to
  12437. 8:01:03make this easier because I need to
  12438. 8:01:05basically select which columns I want to
  12439. 8:01:07remove or which ones I don't want to
  12440. 8:01:09remove in this case so what I'm going to
  12441. 8:01:11do is go back to source and this one has
  12442. 8:01:15before we actually broken up the job
  12443. 8:01:17skills so I'm going to select job skills
  12444. 8:01:20hold down control and then from there
  12445. 8:01:22select job title short and also index
  12446. 8:01:25and then underneath the Home tab we're
  12447. 8:01:26going to go to remove call s what we're
  12448. 8:01:28going to do remove other columns
  12449. 8:01:30basically going to keep those three
  12450. 8:01:32columns that we have now we are doing
  12451. 8:01:34this in the applied steps after that
  12452. 8:01:35first step of source so it's asking hey
  12453. 8:01:37do we want to insert this step yes we do
  12454. 8:01:40and so now we've limited it down to
  12455. 8:01:42those three columns and Bam now whenever
  12456. 8:01:45we go down here down to that last step
  12457. 8:01:48of change type we can see that we have
  12458. 8:01:50all our different job skills and then
  12459. 8:01:53over on the right hand side we have our
  12460. 8:01:55index and our job tile short which I
  12461. 8:01:58don't really like the order of this I'm
  12462. 8:01:59actually going to go back to reorder
  12463. 8:02:01this over here I'm going to just take
  12464. 8:02:04these column values and then put them in
  12465. 8:02:06this order of index job title short and
  12466. 8:02:09job skills so now we actually get into
  12467. 8:02:12unpivoting these job skills columns
  12468. 8:02:15basically making all these job skills
  12469. 8:02:17into one column so I'm going to select
  12470. 8:02:19instead of selecting all the job skills
  12471. 8:02:21column I'm actually going to select the
  12472. 8:02:22opposite holding control select the
  12473. 8:02:24index and job title short and I'm going
  12474. 8:02:27to go into to transform tab into unpivot
  12475. 8:02:30columns and for this one once again
  12476. 8:02:33we're going to use the other we want to
  12477. 8:02:34unpivot other columns and go ahead and
  12478. 8:02:37do this all right so what we do here we
  12479. 8:02:40now have this new column of attribute
  12480. 8:02:42and value attribute if we go back that
  12481. 8:02:46is just the name of the column that was
  12482. 8:02:48created previously and then the value is
  12483. 8:02:51what was in the cell itself and that's
  12484. 8:02:53filled with all the skills so personally
  12485. 8:02:56I don't really care for use of this
  12486. 8:02:58attribute so I'm going to go ahead and
  12487. 8:03:01just remove this column by right
  12488. 8:03:02clicking and selecting it additionally
  12489. 8:03:04I'm going to go back up here and I don't
  12490. 8:03:05want this to be named value so I can go
  12491. 8:03:09in and inspect this under unpivot other
  12492. 8:03:11columns I can see in here that it
  12493. 8:03:14renames these columns attribute and
  12494. 8:03:16value in this case I don't want to be
  12495. 8:03:18value like I said I want to be job
  12496. 8:03:21skills clicking enter boom renamed it to
  12497. 8:03:25job skills and then in here it is job
  12498. 8:03:27skills
  12499. 8:03:28now one thing that's bothering me real
  12500. 8:03:29quick before we continue on to actually
  12501. 8:03:31visualizing this data is this column
  12502. 8:03:34here typically I like to name things
  12503. 8:03:36something like job uncore whatever it is
  12504. 8:03:38in this case index I want to Name jobor
  12505. 8:03:41ID but if you recall back we created
  12506. 8:03:43this back in this data jobs salary
  12507. 8:03:46portion especially here under the step
  12508. 8:03:48of added index I want to change this
  12509. 8:03:51from index as we've done before going in
  12510. 8:03:53and renaming it to job ID however
  12511. 8:03:57whenever I do this press enter this is
  12512. 8:03:59going to break my queries and this is
  12513. 8:04:02going to happen to you anytime you're
  12514. 8:04:03manipulating it so I think we need to
  12515. 8:04:04get familiar with it so if I go to the
  12516. 8:04:06next step of reorder columns we're going
  12517. 8:04:08to have this expression error the column
  12518. 8:04:11index of the table wasn't found duh
  12519. 8:04:14because we named it job ID in the
  12520. 8:04:17previous step instead of index but this
  12521. 8:04:19step is still the same so what I can do
  12522. 8:04:21is come in here change index to job ID
  12523. 8:04:25press enter and Bam that updates but
  12524. 8:04:28then now going to data job skills we're
  12525. 8:04:31going to have the same thing you're
  12526. 8:04:33going to notice with this one right the
  12527. 8:04:35column index the tail wasn't found index
  12528. 8:04:37so same error message what we want to do
  12529. 8:04:39you can do is go to error it's going to
  12530. 8:04:41go to the first occurrence of that error
  12531. 8:04:43in this is trying to reference index we
  12532. 8:04:46if you call back from if we go to the
  12533. 8:04:47first step of source we expect it to be
  12534. 8:04:50called job ID now because we renamed it
  12535. 8:04:52right so I'm going to change this to job
  12536. 8:04:55ID and then scrolling through the
  12537. 8:04:58applied steps to see whenever we get to
  12538. 8:05:00our next error if there is an error and
  12539. 8:05:03that's unpivot other columns
  12540. 8:05:05specifically they have job title short
  12541. 8:05:07and index I don't want index here I want
  12542. 8:05:09job ID and now bam now we have it
  12543. 8:05:12cleaned so I should have done that job
  12544. 8:05:14ID but that was actually good
  12545. 8:05:15troubleshooting to walk through that you
  12546. 8:05:17may
  12547. 8:05:20encounter so let's actually get into
  12548. 8:05:23visualizing this so we're going to go to
  12549. 8:05:24home and we're going to close and we're
  12550. 8:05:26going to close and load
  12551. 8:05:28now it's popping up as a table but we
  12552. 8:05:30actually want to analyze this I don't
  12553. 8:05:32really care to have it as a table so I'm
  12554. 8:05:34going to right click it and I'm going
  12555. 8:05:35click load to specifically we're going
  12556. 8:05:37to go to a pivot chart and we'll insert
  12557. 8:05:41in the existing worksheet because we're
  12558. 8:05:43going to get rid of that data yes
  12559. 8:05:44there's going to be possible data loss
  12560. 8:05:45we understand that so I'm going move
  12561. 8:05:47this chart off to the side select inside
  12562. 8:05:49the pivot table and we want to analyze
  12563. 8:05:51the job skills so I'm going to take the
  12564. 8:05:53job skills put them in rows and then the
  12565. 8:05:55job skills also in the values to to
  12566. 8:05:57count up the values then also I'm going
  12567. 8:05:59to sort them I want to sound them from
  12568. 8:06:02high to low so I went to more sort
  12569. 8:06:04options um we're doing a descending
  12570. 8:06:06order count of job skills so now there's
  12571. 8:06:10a ton of different skills in here but
  12572. 8:06:12want you to inspect this if you notice
  12573. 8:06:15one these skills have sometimes have
  12574. 8:06:18spaces in the front of them basically we
  12575. 8:06:21didn't do a full cleanup of this so
  12576. 8:06:24that's why we have python twice in here
  12577. 8:06:26is cuz this one has a space of it so
  12578. 8:06:28opening up the power query editor by
  12579. 8:06:30playing by pressing alt F12 so
  12580. 8:06:33underneath the data job skills query I'm
  12581. 8:06:36going to go ahead and we want to do a
  12582. 8:06:38text
  12583. 8:06:39transformation specifically if we look
  12584. 8:06:41underneath this underneath for format we
  12585. 8:06:42can change this to lower case upload
  12586. 8:06:44case capitalize each word we're going to
  12587. 8:06:46do trim which removes leading and
  12588. 8:06:49trailing white space from each of the
  12589. 8:06:51cells in the selected cell from there
  12590. 8:06:53we'll go back to home close and load
  12591. 8:06:55this and now it's going to be reloading
  12592. 8:06:58the data and those duplicate values are
  12593. 8:07:01now going to be removed now there's a
  12594. 8:07:03lot of skills here so I really only want
  12595. 8:07:05to see the top 10 so I'm going to put a
  12596. 8:07:08filter on here go into value filters and
  12597. 8:07:12top one specifically want to see the top
  12598. 8:07:1410 items by count of job skills also I'm
  12599. 8:07:18going to rename this to skill count and
  12600. 8:07:21because these are text values down here
  12601. 8:07:23I'm actually going to change this from a
  12602. 8:07:25column chart going to change chart type
  12603. 8:07:28into a bar chart instead clicking okay
  12604. 8:07:32boom and then with this obviously it's
  12605. 8:07:34not sorted from high to low that's how I
  12606. 8:07:36want actually to sort it so I'm going to
  12607. 8:07:38go in here back underneath our more sort
  12608. 8:07:41options Chang this from descending to
  12609. 8:07:43ascending and the good thing about this
  12610. 8:07:46is we still have that top 10 filter on
  12611. 8:07:48it so it's still going to apply this and
  12612. 8:07:49have the top 10 values on there first
  12613. 8:07:52last little clean up I'm going to hide
  12614. 8:07:53all field buttons I'm going to get rid
  12615. 8:07:55of this Legend right here and and then
  12616. 8:07:57I'm going to rename this to what are the
  12617. 8:08:00top skills of data
  12618. 8:08:04nerds now let's say that I'm frequently
  12619. 8:08:08referencing the top 10 skills as we have
  12620. 8:08:12right here and instead of having to
  12621. 8:08:14populate this every single time I want
  12622. 8:08:17to actually create a own or create a
  12623. 8:08:19query for this so opening power query
  12624. 8:08:22going to alt F12 I could do the same
  12625. 8:08:25analysis inside of power query query and
  12626. 8:08:27get this into its own table to be reused
  12627. 8:08:30but for this I don't want to use this
  12628. 8:08:31data job skills query instead like we
  12629. 8:08:34did before I'm going to create a new
  12630. 8:08:35query we're not going to duplicate this
  12631. 8:08:37instead we're going to reference it so
  12632. 8:08:39now it's Unique and distinct and I'll
  12633. 8:08:41rename this data jobs skill count
  12634. 8:08:45because we're get the top 10 and their
  12635. 8:08:47Associated count so in order to do this
  12636. 8:08:49analysis to find what is the count of
  12637. 8:08:51all these different skills we want to do
  12638. 8:08:54a group buy and it's right here under
  12639. 8:08:56transform form under that Home tab and I
  12640. 8:08:58can do group by which group rows in the
  12641. 8:09:00table based on the values in the
  12642. 8:09:02currently selected column we're going to
  12643. 8:09:04be forming a basic Group by we're using
  12644. 8:09:06that job skills column I could change it
  12645. 8:09:08to another column if I wanted to and
  12646. 8:09:09that new column name is going to be
  12647. 8:09:10skill count operation we're going to be
  12648. 8:09:13counting the rows we could do any other
  12649. 8:09:14type of aggregation as well if we had
  12650. 8:09:16numerical data we could do average
  12651. 8:09:18median min max whatnot go ahead and
  12652. 8:09:20click okay so we've done this
  12653. 8:09:22aggregation now the next thing is I just
  12654. 8:09:25want to get the top 10 values but before
  12655. 8:09:27to do that I need to actually sort this
  12656. 8:09:30in descending order right now I can tell
  12657. 8:09:32looking into the numbers this isn't
  12658. 8:09:34necessar although it looks like it isn't
  12659. 8:09:35right so clicking the arrow up at the
  12660. 8:09:38top I'm just going to say hey sort
  12661. 8:09:39descending and then we want the top 10
  12662. 8:09:42values so underneath the Home tab under
  12663. 8:09:43keep rows I'm going to have keep top
  12664. 8:09:47rows and it's going to prop me how many
  12665. 8:09:49number of rows do I want to keep 10 in
  12666. 8:09:51this case I want the 10 values and now
  12667. 8:09:53from here all I got to do is close and
  12668. 8:09:55load this into its own separate query
  12669. 8:09:58and Bam here we have it and so if I
  12670. 8:10:01needed to reference the top 10 skills
  12671. 8:10:03any time all I would have to do is just
  12672. 8:10:04reference this query and I wouldn't have
  12673. 8:10:06to like we did last time go through this
  12674. 8:10:08full analysis so power of query is
  12675. 8:10:10really great at automating some
  12676. 8:10:12repetitive analysis and having it just
  12677. 8:10:14ready for
  12678. 8:10:17you all right last little cleanup if we
  12679. 8:10:20look at these skilled names they're not
  12680. 8:10:22formatted correctly specifically if I
  12681. 8:10:24look at something like SQL I expect to
  12682. 8:10:26be all capital letters SQL capital
  12683. 8:10:28letters python I expected to be Capital
  12684. 8:10:30At the beginning python so we're going
  12685. 8:10:32to go through and actually fix this so
  12686. 8:10:34that way whenever we present our data to
  12687. 8:10:36someone it doesn't look like a hot mess
  12688. 8:10:39so opening up the power query menu by
  12689. 8:10:41pressing alt F12 we're going to go into
  12690. 8:10:44the data jobs skills query specifically
  12691. 8:10:47on that last step on and we're want to
  12692. 8:10:50alter the job skills column so the first
  12693. 8:10:52thing I want to do with this text
  12694. 8:10:54cleanup the easiest thing looking at
  12695. 8:10:56this is we just need to capitalize the
  12696. 8:10:59first letter of every single word and
  12697. 8:11:02then from there we'll go through and
  12698. 8:11:03actually fine-tune it to capitalize in
  12699. 8:11:06case of SQL capitalize all letters we'll
  12700. 8:11:08have to put in special case for this
  12701. 8:11:09anyway if you recall from before we have
  12702. 8:11:11that transform format and they have this
  12703. 8:11:14capitalize each word we're going to do
  12704. 8:11:17that the next thing though the more
  12705. 8:11:19complicated one is we're going to go
  12706. 8:11:20into add column and we're going to add a
  12707. 8:11:24conditional column so what we're going
  12708. 8:11:25to do is go through we're going to keep
  12709. 8:11:27the the name of custom column cuz we're
  12710. 8:11:29technically going to be since we're
  12711. 8:11:30adding a column we're going to have to
  12712. 8:11:31go and delete this job skills column
  12713. 8:11:33once create this new one I don't want to
  12714. 8:11:35name a job skills right now going to
  12715. 8:11:36call MK anyway what we want to do is we
  12716. 8:11:39want to select the column that we want
  12717. 8:11:40so if job skills equals in this case we
  12718. 8:11:43expect to equal something like SQL we
  12719. 8:11:46want the output to equal SQL then if we
  12720. 8:11:49want to add more conditions or Clauses
  12721. 8:11:51to it we go to add Clause once again I'm
  12722. 8:11:54going to select job skills and I'm going
  12723. 8:11:56to put something like
  12724. 8:11:57powerbi it had a lowercase ey at the end
  12725. 8:12:00I want the powerbi to be fully
  12726. 8:12:02capitalized at the end I also went
  12727. 8:12:04through and added some other ones such
  12728. 8:12:06as AWS gcp no SQL and SAS most all these
  12729. 8:12:11required them to just capitalize fully
  12730. 8:12:14except for the no SQL one then what do
  12731. 8:12:17we want it to be if it's not any of
  12732. 8:12:18these conditions well we'll add this
  12733. 8:12:19else clause and we want it to be
  12734. 8:12:23basically the results of an entire
  12735. 8:12:25column we want it to be whatever it is
  12736. 8:12:27already in the job skills column I'm
  12737. 8:12:30going to go ahead and click okay so now
  12738. 8:12:32we have this cleaned up data set as well
  12739. 8:12:36with nice looking names now if you want
  12740. 8:12:38to if you're going through and finding
  12741. 8:12:40anything in here that you want to clean
  12742. 8:12:41up feel free to add to that conditional
  12743. 8:12:43column statement those are the ones I'm
  12744. 8:12:45just going to go for right now anyway
  12745. 8:12:46because we added this new column and I
  12746. 8:12:48don't really know an easy way to do this
  12747. 8:12:51without actually creating this new
  12748. 8:12:53column we need to now go ahead and
  12749. 8:12:55remove job skills and rename custom so
  12750. 8:12:59going to the Home tab I'm going to
  12751. 8:13:01remove column I'm going to remove the
  12752. 8:13:03one that's selected and I'm going to
  12753. 8:13:05renames custom to job skills and
  12754. 8:13:09conveniently because we're using that
  12755. 8:13:11same name and just replacing it if I go
  12756. 8:13:13to the data jobs skill count that one
  12757. 8:13:16because it references this one will also
  12758. 8:13:19get updated and all those values in
  12759. 8:13:21there are updated as well anyway let's
  12760. 8:13:24go ahead and close and load and inspect
  12761. 8:13:27this is our previous pivot table and
  12762. 8:13:30pivot chart that we analyzed it's now
  12763. 8:13:31going through and loading all the data
  12764. 8:13:34and now we have it updated with all that
  12765. 8:13:36correct formatting for those different
  12766. 8:13:38data points one last thing before we go
  12767. 8:13:41this is generic these top skills of data
  12768. 8:13:43nerds tall data nerds and that is using
  12769. 8:13:45the data job skills query which has the
  12770. 8:13:48job title short column in it so we can
  12771. 8:13:51actually visualize this for a certain
  12772. 8:13:53job by going into pivot chart analyze
  12773. 8:13:56I'm going to go into insert slicer
  12774. 8:13:58specifically we're going to look at job
  12775. 8:13:59title short I'm going to put it over
  12776. 8:14:01here and then as usual I'm going to
  12777. 8:14:04rename it real quick to job title and
  12778. 8:14:07now let's say we want to analyze
  12779. 8:14:08something like data analyst we can see
  12780. 8:14:11that SQL is the top skill but Excel is
  12781. 8:14:15in second place followed by python
  12782. 8:14:17Tableau and SAS what about for business
  12783. 8:14:20analysts very similar in that sqls top
  12784. 8:14:23and then Excel is in that second place
  12785. 8:14:25so really unique and showing the
  12786. 8:14:27importance of excel Within These skills
  12787. 8:14:29and pretty meta that we used Excel to
  12788. 8:14:32find this out all right now it's your
  12789. 8:14:34turn to give it a shot you have some
  12790. 8:14:35practice problems to go through and get
  12791. 8:14:38more familiar with doing these Advanced
  12792. 8:14:40Transformations specifically pivoting
  12793. 8:14:42unpivoting and then also Group by all
  12794. 8:14:45right with that I'll see you in the next
  12795. 8:14:47one we're going to be diving into append
  12796. 8:14:49and merging queries specifically going
  12797. 8:14:52to be doing this with that skill query
  12798. 8:14:54that we did previously all right see you
  12799. 8:14:56there
  12800. 8:15:00let's now get into how to perform a pend
  12801. 8:15:04and also merges and so the first portion
  12802. 8:15:07of this lesson the easiest portion of my
  12803. 8:15:09opinion is going to be a pend
  12804. 8:15:11specifically going back to that Excel
  12805. 8:15:13sheet where we had all those different
  12806. 8:15:16uh sheets for the months of the year and
  12807. 8:15:19they're job posting on each because all
  12808. 8:15:20these data sets are of the same format I
  12809. 8:15:22have the same columns we're going to be
  12810. 8:15:24able to append all these together and
  12811. 8:15:26get what is our final data set of all
  12812. 8:15:2830,000 rows if you recall each month had
  12813. 8:15:31around 3,000 postings so that's how we
  12814. 8:15:33get to that value from there the primary
  12815. 8:15:35focus of this lesson will then shift to
  12816. 8:15:37merge for this we're going to be
  12817. 8:15:39combining our two queries that we built
  12818. 8:15:42previously one which was our original
  12819. 8:15:45data set so we titled that one data jobs
  12820. 8:15:47salary and then that new query that we
  12821. 8:15:50created in the last lesson on the skills
  12822. 8:15:53so data job skills we're going to be
  12823. 8:15:55merging those two together
  12824. 8:15:57and this will allow us to do some pretty
  12825. 8:15:59interesting analysis specifically now
  12826. 8:16:01that we've merged those we'll be able to
  12827. 8:16:03see based on a skill what is the
  12828. 8:16:06expected salary and we're going to build
  12829. 8:16:08a visualization for that for the top 10
  12830. 8:16:10skills now merge unlike a pend is a very
  12831. 8:16:14complex operation mainly because there's
  12832. 8:16:17a lot of different types of merges
  12833. 8:16:19specifically there's six type of merges
  12834. 8:16:21in Microsoft alone so we're going to be
  12835. 8:16:23walking through each one of those so you
  12836. 8:16:25understand the differences and know
  12837. 8:16:27which one to use when for this first
  12838. 8:16:29append example we're going to be using
  12839. 8:16:31this data job salary monthly data set
  12840. 8:16:35and just as a refresher this contains
  12841. 8:16:37everything for in this case I'm selected
  12842. 8:16:39on the January sheet down here and this
  12843. 8:16:41has all the January data which has
  12844. 8:16:43around 3,100 rows for this and we have
  12845. 8:16:47each one of the months for the year
  12846. 8:16:52here anyway let's use power query to
  12847. 8:16:54append all these together because
  12848. 8:16:57previously before you knew about this
  12849. 8:16:58you'd have to go through and actually
  12850. 8:17:00copy and paste all these different
  12851. 8:17:03options right here and then put it into
  12852. 8:17:04a new sheet doing this 12 times is a hot
  12853. 8:17:07mess so since this is only a simple
  12854. 8:17:09example that we're not going to use
  12855. 8:17:10later on I recommend just opening up a
  12856. 8:17:13new workbook for this now coming into
  12857. 8:17:15the data tab I can come down to get data
  12858. 8:17:18and they do have this option right here
  12859. 8:17:20for Combined queries merge and also
  12860. 8:17:22append but this is for append two
  12861. 8:17:25queries from within in this workbook
  12862. 8:17:27it's basically assuming you've already
  12863. 8:17:29imported it in so instead what we need
  12864. 8:17:32to do is actually go to from file and
  12865. 8:17:34actually start our first query of
  12866. 8:17:36connecting to that Excel workbook with
  12867. 8:17:38all those different sheets navigating to
  12868. 8:17:40the course underneath resources data
  12869. 8:17:42sets and then here down on data job
  12870. 8:17:44salary monthly I'll select that select
  12871. 8:17:46Import in the Navigator we can see all
  12872. 8:17:48the different sheets that are available
  12873. 8:17:50we want to actually do enable this of
  12874. 8:17:52select multiple items and then go
  12875. 8:17:54through and select all the items with
  12876. 8:17:56all these loaded we're going to then
  12877. 8:17:58shift into not just loading it we want
  12878. 8:18:00to actually go into the power query
  12879. 8:18:01editor so I'm going to select transform
  12880. 8:18:02data and it's going to start by loading
  12881. 8:18:04each one of those sheets and just going
  12882. 8:18:06to be naming each one of the queries
  12883. 8:18:08respectively after those sheets with
  12884. 8:18:10power query editor launched we can see
  12885. 8:18:12over here in the left hand pan all 12 of
  12886. 8:18:15those queries for each of the months so
  12887. 8:18:17these are all their separate own queries
  12888. 8:18:20because of that we need to now move into
  12889. 8:18:22actually appending them and make it one
  12890. 8:18:25final query that we can actually export
  12891. 8:18:27into or import into Excel so underneath
  12892. 8:18:29the Home tab they have the option for
  12893. 8:18:32combine append queries they have appen
  12894. 8:18:34queries and append queries is new with
  12895. 8:18:36the January query selected I'm going to
  12896. 8:18:39go to append queries and for this I can
  12897. 8:18:42say either do two tables and specify the
  12898. 8:18:45table I want to do we're going to do
  12899. 8:18:46three or more cuz we want to do all of
  12900. 8:18:48them with them all selected I'll now go
  12901. 8:18:50through and click okay to append now
  12902. 8:18:52this inserted a step of appended queries
  12903. 8:18:56inside inside of that January query so
  12904. 8:18:58now that January query is all those
  12905. 8:19:01different data sets so I just want to
  12906. 8:19:03verify that I got all the data in here
  12907. 8:19:05right now if we scroll down well I'm
  12908. 8:19:06just going to show it right here we're
  12909. 8:19:07only showing column profile based on the
  12910. 8:19:09top 1,000 the fastest way to actually
  12911. 8:19:12find this out is just go to the
  12912. 8:19:13transform Tab and go to count rows which
  12913. 8:19:17it tells me there's 36,000 rows which
  12914. 8:19:19it's a few thousand too many and if I go
  12915. 8:19:22back into the appended query option and
  12916. 8:19:25actually look into it I can see in the
  12917. 8:19:27formula bar we have August in here I
  12918. 8:19:29accidentally selected it twice so I'll
  12919. 8:19:31go ahead and delete it and then look at
  12920. 8:19:33the counted rows that's actually what I
  12921. 8:19:35expect the value to be around 32,000
  12922. 8:19:37anyway that was just to count the rows
  12923. 8:19:39additionally I don't want the append
  12924. 8:19:41query to be inside of that January query
  12925. 8:19:43so I'm going to delete this step as well
  12926. 8:19:45instead with the January query selected
  12927. 8:19:48I'll go back to that home append queries
  12928. 8:19:51and then select append queries as new
  12929. 8:19:55this is going to create a completely new
  12930. 8:19:57query once again we want to do three or
  12931. 8:19:59more tables this time I'm going to hold
  12932. 8:20:01control and select all of them and then
  12933. 8:20:04move them over at once make sure we
  12934. 8:20:06don't have duplicates this time so this
  12935. 8:20:09now starts a new query right now it's
  12936. 8:20:11called aend one I would probably name it
  12937. 8:20:12something like data jobs all and then
  12938. 8:20:15pressing enter it then loads in here but
  12939. 8:20:17you can see these queries like imagine
  12940. 8:20:19the case where I right now we have 13
  12941. 8:20:21queries I want to organize these a
  12942. 8:20:23little bit better so we can actually
  12943. 8:20:25group these specifically we can group
  12944. 8:20:26these monthly ones I selected April and
  12945. 8:20:29then holding control selecting all the
  12946. 8:20:31other queries as well then right clicked
  12947. 8:20:33it and I'm going to select this option
  12948. 8:20:35to move to group we need to have a new
  12949. 8:20:38group and I'll call this real uniquely
  12950. 8:20:41data jobs
  12951. 8:20:42monthly and click okay so now we have
  12952. 8:20:45these two folders one with data jobs
  12953. 8:20:47monthly I'm going to close that down and
  12954. 8:20:49then there other queries which we've
  12955. 8:20:50seen before and there's one query inside
  12956. 8:20:52of this of data jobs all this cleans it
  12957. 8:20:54up also you may get this disclaimer up
  12958. 8:20:56here the preview may be up to 33 days
  12959. 8:20:58old feel free to refresh it if you've
  12960. 8:20:59been getting that should have no effect
  12961. 8:21:01on your data then if we wanted to we
  12962. 8:21:03could go through and actually Analyze
  12963. 8:21:05This by pressing close and load to I
  12964. 8:21:07pretty maturely selected close and load
  12965. 8:21:10I recommend you select close and load to
  12966. 8:21:11anyway nonetheless I'll go to the data
  12967. 8:21:13jobs all we'll go to load to
  12968. 8:21:16specifically I want to look at a pivot
  12969. 8:21:17table I know there's going to be some
  12970. 8:21:19data loss because it's going to remove
  12971. 8:21:20the data in the sheet and then I can
  12972. 8:21:22inspect that job posted date
  12973. 8:21:24specifically for the account dragging
  12974. 8:21:27job post date into the rows and then
  12975. 8:21:29also dragging job posted date into
  12976. 8:21:31values and once again this is why we
  12977. 8:21:33double check it this time it looks like
  12978. 8:21:36I accidentally imported in January twice
  12979. 8:21:40with this as we can see that it's
  12980. 8:21:4235,000 anyway opening up that power
  12981. 8:21:45query editor going to the data jobs all
  12982. 8:21:47query and updating it to remove that
  12983. 8:21:50second January that I should have caught
  12984. 8:21:51from before and then close and loading
  12985. 8:21:54it and now it should refresh and update
  12986. 8:21:56for these these correct values boom so
  12987. 8:21:59now it's actually aligned with what I
  12988. 8:22:00expect to see this why we always double
  12989. 8:22:02check any type of query or analysis you
  12990. 8:22:05do this double check of the work is
  12991. 8:22:07going to save your
  12992. 8:22:10butt all right let's now get into the
  12993. 8:22:12bulk of this lesson I'm moving into
  12994. 8:22:14merge for this feel free to continue
  12995. 8:22:17working with that workbook that you were
  12996. 8:22:19working with in the last lesson if you
  12997. 8:22:22didn't Happ to save it or you got lost
  12998. 8:22:24you can use the advanced transform
  12999. 8:22:26workbook from the last lesson that'll
  13000. 8:22:28pick right right back up where we left
  13001. 8:22:29off and then as usual the append and the
  13002. 8:22:32merge are the final examples that you're
  13003. 8:22:34going to see at the end of this which
  13004. 8:22:36specifically for append you've already
  13005. 8:22:38saw so let's actually get into merging
  13006. 8:22:40those queries for this I want to press
  13007. 8:22:41alt F12 and right now we have three
  13008. 8:22:45queries in here the data job salary
  13009. 8:22:47which is basically like our fact table
  13010. 8:22:49this includes all of our data going into
  13011. 8:22:52transform and count rows we have as
  13012. 8:22:55expected around 32 data point points I'm
  13013. 8:22:56going go ahead and delete that Stu
  13014. 8:22:58similarly we have this data jobs skills
  13015. 8:23:01which has all of our skills in it let's
  13016. 8:23:03see how many rows are in this by going
  13017. 8:23:05up to transform and to count rows and
  13018. 8:23:07this has
  13019. 8:23:10167,000 now it's important to understand
  13020. 8:23:12these numbers because we're going to be
  13021. 8:23:13using them or need to understand them
  13022. 8:23:15whenever we actually get into the joins
  13023. 8:23:16to see when we have missing or more data
  13024. 8:23:19so I'm going go ahead and delete the
  13025. 8:23:20step of counted rows as well we don't
  13026. 8:23:22need it then we have also this final
  13027. 8:23:24query of data job skills count this was
  13028. 8:23:27made as an example only we're not going
  13029. 8:23:28to use this any further into the future
  13030. 8:23:31so I'm actually going to go ahead and
  13031. 8:23:33just delete this to minimize my queries
  13032. 8:23:35it's going to ask them I'm sure want to
  13033. 8:23:37delete it yep so let's get into merging
  13034. 8:23:39these queries I have data job salary
  13035. 8:23:40selected come up to the Home tab under
  13036. 8:23:43merge queries we're going to have merge
  13037. 8:23:45queries and merge queries as new like we
  13038. 8:23:48learned from the append of appen queries
  13039. 8:23:51and appen queries is new we're going to
  13040. 8:23:53want a new query so that way we still
  13041. 8:23:55have these Source queries so I'm going
  13042. 8:23:57to go merge queries as new with this
  13043. 8:23:59this merge window pops up and it says
  13044. 8:24:01select the tables and matching columns
  13045. 8:24:04to create a merge table specifically we
  13046. 8:24:07want to go with the data jobs salary and
  13047. 8:24:10we want to merge it on the job ID that's
  13048. 8:24:13why we created that a few lessons ago
  13049. 8:24:15we're trying to connect to the data jobs
  13050. 8:24:18skills on also that job ID now down here
  13051. 8:24:23underneath this there's a join kind and
  13052. 8:24:26there's six different options from this
  13053. 8:24:29of left outer right outer full outer
  13054. 8:24:31inner left anti and right anti now Kelly
  13055. 8:24:34put together this fancy chart that shows
  13056. 8:24:37visually what is happening with these
  13057. 8:24:40merges and we're going to be walking
  13058. 8:24:43through all of these briefly in order to
  13059. 8:24:46understand which type of join you should
  13060. 8:24:49be choosing depending on which scenario
  13061. 8:24:52you're in as a quick overview these
  13062. 8:24:54circles are signifying the two different
  13063. 8:24:56tables so in this case table a and table
  13064. 8:24:59B and the Shaded Blue Area shows what
  13065. 8:25:03portion of the contents from those
  13066. 8:25:06tables will be included in the final
  13067. 8:25:09table first up is a left outer join and
  13068. 8:25:13with this join what's showing here is
  13069. 8:25:16that all rows from table a will be
  13070. 8:25:19included in the final table and then
  13071. 8:25:22from that Center portion right there
  13072. 8:25:24where A and B overlap this signifies
  13073. 8:25:26that it's only going to keep items from
  13074. 8:25:29table B that are in table a or match
  13075. 8:25:33with table a so what does it actually
  13076. 8:25:35mean so if we go here into join kind and
  13077. 8:25:37select left outer and then what we get
  13078. 8:25:40told based on this next to this check
  13079. 8:25:42mark is the selection matches 29,000 of
  13080. 8:25:4532,000 rows from the first table so what
  13081. 8:25:49are those missing jobs well basically
  13082. 8:25:51there's some jobs that don't have a
  13083. 8:25:52skill now this isn't necessarily a bad
  13084. 8:25:55thing although we're not going to go
  13085. 8:25:56with this join this could be an option
  13086. 8:25:58we could use I'm going to click okay to
  13087. 8:26:00load it in so right now we have it under
  13088. 8:26:02this query called merge one and as you
  13089. 8:26:04can see there's not repeating any job
  13090. 8:26:07IDs basically we have the original dat
  13091. 8:26:10jobs salary table and then we scroll all
  13092. 8:26:12the way to the right we have the data
  13093. 8:26:14job skills over here and if you see each
  13094. 8:26:17one of these items is a table if I click
  13095. 8:26:20on it and expand it to see hey what's in
  13096. 8:26:22this table we can see that for this one
  13097. 8:26:25there job posting or job ID of 10,000
  13098. 8:26:28And1 this is the table associated with
  13099. 8:26:31it so I'm going to go ahead and actually
  13100. 8:26:32delete out of this step and go back to
  13101. 8:26:35it so what we could do is expand it out
  13102. 8:26:38and there's this icon up in the top
  13103. 8:26:41right hand corner I'm going to go ahead
  13104. 8:26:42and click it and it's going to ask me
  13105. 8:26:45how it wants to basically expand out and
  13106. 8:26:49in this case I already have the job ID I
  13107. 8:26:51already have job title short I would
  13108. 8:26:52expand it by job skills so now seeing
  13109. 8:26:56how these skills are broken over I can
  13110. 8:26:57actually scroll all the way over and see
  13111. 8:26:59that now 10,000 And1 ID is duplicated
  13112. 8:27:02multiple times and if actually looked at
  13113. 8:27:04the number of rows within this data set
  13114. 8:27:07this new data set we have 170,000 rows
  13115. 8:27:12now technically this merge has exactly
  13116. 8:27:14what we want but we still need to go
  13117. 8:27:16through those other merge examples to
  13118. 8:27:18understand them so we're going to show
  13119. 8:27:20them as well now for this I want to go
  13120. 8:27:22back to that merge window and I'm going
  13121. 8:27:24to click the settings icon I need to get
  13122. 8:27:26rid of the step we're going to be trying
  13123. 8:27:27out different types of merges so I'm
  13124. 8:27:29going to xit out and then go in here and
  13125. 8:27:31click the gear icon now it's popping
  13126. 8:27:33back up we did left outer next thing
  13127. 8:27:35we're going to look at is Right outer
  13128. 8:27:37for right outer this takes all of the
  13129. 8:27:40rows out of table B and then from there
  13130. 8:27:43any that match those rows in table a are
  13131. 8:27:47included now this one when we look down
  13132. 8:27:49here it says Hey the selection
  13133. 8:27:51matches
  13134. 8:27:53167,000 of 167,000 rows from the second
  13135. 8:27:57table if you recall back from that left
  13136. 8:27:59outer we had
  13137. 8:28:01170,000 so 3,000 higher why is that well
  13138. 8:28:05that table a or data job salary has
  13139. 8:28:083,000 roles in here that don't have any
  13140. 8:28:10skills listed hence why 3000 is less
  13141. 8:28:14this provides a similar type of merge
  13142. 8:28:17that we did before where we need to
  13143. 8:28:18actually go over to that data job skills
  13144. 8:28:20and expand it out selecting the job
  13145. 8:28:23skills column and with this table we can
  13146. 8:28:25just check that we have 167,000 rows
  13147. 8:28:28which bam we confirm all right I'm going
  13148. 8:28:30to get rid of these two steps we're
  13149. 8:28:32going to move into the next merge next
  13150. 8:28:34is inner join and this provides only
  13151. 8:28:37matching rows from table a and matching
  13152. 8:28:41rows from table B so depending how
  13153. 8:28:43you're join it there could be missing
  13154. 8:28:45data on both A and B for this one it's
  13155. 8:28:47saying hey the selection matches about
  13156. 8:28:4929,000 of 32,000 rows from the first
  13157. 8:28:51table which what we expect and then
  13158. 8:28:54basically all of the rows from the
  13159. 8:28:56second table so this one if actually go
  13160. 8:28:58into it and then expand out those data
  13161. 8:29:01job skills looking only at the job
  13162. 8:29:03skills column with it expanded out
  13163. 8:29:05actually counting the rows we have once
  13164. 8:29:08again 167,000 so missing that 3,000 of
  13165. 8:29:11jobs that don't have skills next is left
  13166. 8:29:14anti and in this case it checks to see
  13167. 8:29:17what matches it doesn't have and Returns
  13168. 8:29:20the value for that specifically for
  13169. 8:29:22table a whichever values don't have a
  13170. 8:29:24match it's going to return that so in
  13171. 8:29:26this case it says the selection excludes
  13172. 8:29:2829,000 out of the 32,000 when I go to
  13173. 8:29:31load it I get the rows from table a or
  13174. 8:29:34data jobs salary and it still has the
  13175. 8:29:37data job skills but actually if I looked
  13176. 8:29:39into here right we should be matching on
  13177. 8:29:41things that don't match or don't have a
  13178. 8:29:44value specifically there shouldn't be
  13179. 8:29:46inside anything in this table that I'm
  13180. 8:29:47clicking on and as expected they're null
  13181. 8:29:50values because it doesn't have skills so
  13182. 8:29:53exiting out of navigation going back to
  13183. 8:29:54Source counting these rows we can see
  13184. 8:29:57that we have 3,000 jobs basically with
  13185. 8:30:01no skills for right anti this gets rows
  13186. 8:30:04from the right table that do not have
  13187. 8:30:06matches in the left table and for this
  13188. 8:30:09with right anti- selected this selection
  13189. 8:30:11excludes 167,000 out of 167 rows from
  13190. 8:30:14the second table so basically everything
  13191. 8:30:17from this table is included we're not
  13192. 8:30:19going to walk through this in the power
  13193. 8:30:20query cuz this is also not what we want
  13194. 8:30:22the final one we're going to actually
  13195. 8:30:23use is a full out join from this it
  13196. 8:30:27takes all rows from table a and all rows
  13197. 8:30:30from table B and if there's a match it
  13198. 8:30:32will join those two if there's no
  13199. 8:30:34matches it's still going to return them
  13200. 8:30:35in the table it will just be a null
  13201. 8:30:37value for where it doesn't match up and
  13202. 8:30:39this talks about how basically selection
  13203. 8:30:41matches 29,000 of 32,000 rows from the
  13204. 8:30:44first table and all the rows from the
  13205. 8:30:45second table loading this in once again
  13206. 8:30:48we have data job skills we need to
  13207. 8:30:50expand out and we only want to expand
  13208. 8:30:52out those job skills and then from there
  13209. 8:30:54just going to do a double check I'm I'm
  13210. 8:30:55going to do count rows and this has
  13211. 8:30:59170,000 rows in it so similar to our
  13212. 8:31:03left outer we could have done either of
  13213. 8:31:04these these are one the twos that we
  13214. 8:31:06want but I'm going to stick with this
  13215. 8:31:08one of the full outer because I have all
  13216. 8:31:09the work here any I'm going to close out
  13217. 8:31:11the step and I think that's a great
  13218. 8:31:13example of sometimes there may be
  13219. 8:31:15multiple joins that fit the example it's
  13220. 8:31:18important that you go through and
  13221. 8:31:19actually count the rows and understand
  13222. 8:31:22the data set to figure out which one you
  13223. 8:31:23need to use and for what purpose anyway
  13224. 8:31:26one thing I glossed over real quick
  13225. 8:31:27going back to source and that gear icon
  13226. 8:31:30is right underneath this underneath the
  13227. 8:31:32join kind they have used fuzzy matching
  13228. 8:31:35to perform the merge right now we're
  13229. 8:31:37doing basically exact matching as the
  13230. 8:31:39job ID of 10,1 we're matching up exactly
  13231. 8:31:42with the 10,1 from the other table fuzzy
  13232. 8:31:45matching allows you to connect to tables
  13233. 8:31:47that have basically non-exact matches so
  13234. 8:31:50in this case we have table a with a
  13235. 8:31:52student ID and a student's name and only
  13236. 8:31:54their first name but then in table B we
  13237. 8:31:57have the student name full so first and
  13238. 8:32:00last name and the grade with the fuzzy
  13239. 8:32:03matching we could merge table A and B
  13240. 8:32:07based on that student name First Column
  13241. 8:32:09and the student name full column now
  13242. 8:32:12what happens if we get to where we have
  13243. 8:32:13students with multiple similar first
  13244. 8:32:16names it's going to create a hot mess so
  13245. 8:32:18I don't always recommend using this
  13246. 8:32:20unless you know the data and you know
  13247. 8:32:21you're going to cause complications with
  13248. 8:32:23it so that was a quick overview of of
  13249. 8:32:26the different joins within power query
  13250. 8:32:29if you want a more indepth tutorial for
  13251. 8:32:32how this is done then and you can check
  13252. 8:32:34out my SQL tutorial where I go through
  13253. 8:32:36it with all the different SQL analysis
  13254. 8:32:37that we do in that course and break it
  13255. 8:32:39down step by step I'll include a link to
  13256. 8:32:41that video right here for you to go and
  13257. 8:32:43see
  13258. 8:32:46it all right so we have the final table
  13259. 8:32:49that we actually want for this remember
  13260. 8:32:50these do have duplicate values in it so
  13261. 8:32:52you have to keep that in mind anytime
  13262. 8:32:53you're doing analysis I'm going to
  13263. 8:32:55rename this as data jobs merged one last
  13264. 8:32:59thing for close and load we have this
  13265. 8:33:01job skills column which is sort of
  13266. 8:33:02redundant right now because we actually
  13267. 8:33:04have the data job skills not job skills
  13268. 8:33:07the actual skills itself so I need to
  13269. 8:33:09get rid of this column I actually want
  13270. 8:33:10to do this I'm going to do this in the
  13271. 8:33:13source step before we even break this
  13272. 8:33:15out so I'm going to select job skills
  13273. 8:33:17and select remove columns it's going to
  13274. 8:33:19ask if I want to insert the step which I
  13275. 8:33:22do and then after we remove the columns
  13276. 8:33:25we go into expanding it out and because
  13277. 8:33:29we did it in that order I can actually
  13278. 8:33:30come in here instead of renaming it here
  13279. 8:33:32I can just rename it via the formula
  13280. 8:33:36inside of expanded skills and just
  13281. 8:33:37change it to job skills and Bam now I
  13282. 8:33:41only added two steps Vice one all right
  13283. 8:33:44go ahead now we're going to close and
  13284. 8:33:47load two I'm going to want a pivot table
  13285. 8:33:49and also pivot chart so I'm going to
  13286. 8:33:50select the pivot chart option here and
  13287. 8:33:53underneath quers and connections it's
  13288. 8:33:54going to show that it's loading this in
  13289. 8:33:56here under data jobs merged so let me
  13290. 8:33:59show you what we're going to be creating
  13291. 8:34:00with this I want to build this
  13292. 8:34:01visualization that's showing what is the
  13293. 8:34:03salary of the top 10 skills top 10
  13294. 8:34:06skills by count for data nerds and this
  13295. 8:34:09is a combo chart we're going to have not
  13296. 8:34:11only the salary or the average salary
  13297. 8:34:14for a skill but also for this line
  13298. 8:34:17portion we're going to have the
  13299. 8:34:19associated count for the number of
  13300. 8:34:22skills that appears or how many jobs it
  13301. 8:34:24appears in all right so I'm going to go
  13302. 8:34:25ahead and move this pivot chart out of
  13303. 8:34:27the way and select the pivot table
  13304. 8:34:29remember we want to use the job skills
  13305. 8:34:31we're going to be analyzing that so I'm
  13306. 8:34:33going to throw in the rows the first
  13307. 8:34:35thing I'm going to look at is the
  13308. 8:34:36easiest is the count of these job skills
  13309. 8:34:39and I'm going to rename this to job
  13310. 8:34:42count along with changing the value
  13311. 8:34:44field settings going to number format I
  13312. 8:34:47want to change the number specifically I
  13313. 8:34:48want to use a thand separator with zero
  13314. 8:34:51decimal places I'll go ahead and press
  13315. 8:34:52okay so we have a count now we want the
  13316. 8:34:55average salary so I'm going to take
  13317. 8:34:56salary your average drag it into the
  13318. 8:34:59values right now it's doing a sum so
  13319. 8:35:01I'll go into value field settings select
  13320. 8:35:04average and then for number format we're
  13321. 8:35:06going to do currency with zero decimal
  13322. 8:35:09places click okay and okay again and I'm
  13323. 8:35:12going to change this one to average
  13324. 8:35:15salary and then specify the units of USD
  13325. 8:35:19all right so now xing out of this and
  13326. 8:35:21xing out of this now our pivot chart is
  13327. 8:35:24sort of all jacked up well it is jacked
  13328. 8:35:26up mainly it's trying to PR this as like
  13329. 8:35:28a dual column chart and that's not what
  13330. 8:35:30we want so we're going to change this
  13331. 8:35:32design of it going to design change
  13332. 8:35:35chart type I'm going to go over to combo
  13333. 8:35:38and then underneath here for the combo
  13334. 8:35:40for the job count I want that to be a
  13335. 8:35:44line so I'm going to go up here and
  13336. 8:35:45select line and for the average salary I
  13337. 8:35:47actually want that to be the column now
  13338. 8:35:50I want the job count on a secondary axis
  13339. 8:35:53I don't want the same axis as the salary
  13340. 8:35:56itself because they're just not
  13341. 8:35:57proportional I'm going to go ahead and
  13342. 8:35:59click okay I want to clean this up a
  13343. 8:36:01little bit further by removing the
  13344. 8:36:03legend and then also right clicking here
  13345. 8:36:06and hiding all field buttons on this
  13346. 8:36:08okay there's now there's still too many
  13347. 8:36:10skills on here remember we want the top
  13348. 8:36:1210 skills so going into the pivot table
  13349. 8:36:15itself I'm going to come up into the
  13350. 8:36:17filter into value filters and top one
  13351. 8:36:22we're going to do top 10 items by job
  13352. 8:36:24count all right this is getting a lot
  13353. 8:36:26more readable now because I have the top
  13354. 8:36:2910 by job count I want to order this
  13355. 8:36:32from high to low by salary so I'm going
  13356. 8:36:34to go to more sort options and we're
  13357. 8:36:36going to do descending on average salary
  13358. 8:36:40I'll click okay and Bam now we're
  13359. 8:36:42getting somewhere so we're seeing things
  13360. 8:36:44like spark and AWS have the highest and
  13361. 8:36:47Excel did make the top 10 so it's on
  13362. 8:36:49there at 100,000 other things I'm going
  13363. 8:36:52to change selecting on this pivot chart
  13364. 8:36:53is the actual design itself you know how
  13365. 8:36:55I am about colors so we're going to
  13366. 8:36:57change the colors I'm going to use this
  13367. 8:36:59monochrom MAAC palette 8 I want the line
  13368. 8:37:01to be a lighter color than the actual
  13369. 8:37:03bars itself I'm going to go ahead and
  13370. 8:37:05add access titles for primary vertical
  13371. 8:37:07and secondary vertical for this I'm
  13372. 8:37:09going just select the box go into the
  13373. 8:37:11formula bar and say hey for this one
  13374. 8:37:13make it equal to average yearly salary
  13375. 8:37:15for this one selecting the Box going
  13376. 8:37:17into the formula bar pressing equal I'm
  13377. 8:37:19going to make it equal to job count I'm
  13378. 8:37:21also going to add a title to this I'm
  13379. 8:37:24going toall this of what is the salary
  13380. 8:37:26of the top 10 skill of data nerds and
  13381. 8:37:29remember this is for all data nerds so I
  13382. 8:37:32want to be able to actually what's the
  13383. 8:37:34great thing about this of joining these
  13384. 8:37:35tables now we not only get salary data
  13385. 8:37:37but we can get job title information so
  13386. 8:37:39I'm going to add a slicer now but going
  13387. 8:37:41in pivot chart analyze insert slicer add
  13388. 8:37:45in that job title short only going to
  13389. 8:37:47move that out of the way now I'm going
  13390. 8:37:49to go to slicer I'm going to rename this
  13391. 8:37:52to a more friendly title of job title
  13392. 8:37:55and now now let's actually look at it
  13393. 8:37:56for data analyst so with this looks like
  13394. 8:37:59python arlor the highest Excel still
  13395. 8:38:02makes that top 10 and for data analysts
  13396. 8:38:05at
  13397. 8:38:0686,000 it's also if we look at this it's
  13398. 8:38:09the second most important skill behind
  13399. 8:38:12SQL which has a value of 96,000 let's
  13400. 8:38:17see what it is for a business analyst
  13401. 8:38:19once again SQL and Excel are two of the
  13402. 8:38:21highest and for business analysts Excel
  13403. 8:38:23is paying 87,000
  13404. 8:38:26so bam we just showed the power of well
  13405. 8:38:28append but also more specifically merge
  13406. 8:38:31we can now take this analysis to another
  13407. 8:38:33level analyzing skills to other data
  13408. 8:38:36points from our main fact table or that
  13409. 8:38:39data jobs salary table that has all of
  13410. 8:38:41the data in it so now you have some
  13411. 8:38:43practice problems to go through and get
  13412. 8:38:45more familiar with using both a pend and
  13413. 8:38:48also merge after that we'll be jumping
  13414. 8:38:50into the last lesson of power query
  13415. 8:38:53focusing on the M language as I warned
  13416. 8:38:55at the beginning don't worry if you
  13417. 8:38:57don't have coding experience or anything
  13418. 8:38:58like that we're going to be taking it
  13419. 8:38:59nice and easy and you're going to be
  13420. 8:39:00able to follow along and fill it out
  13421. 8:39:02pretty easily we're going to be doing
  13422. 8:39:04some final prep before we finally send
  13423. 8:39:06this data set on over to power pivot
  13424. 8:39:08which we're going to cover in the next
  13425. 8:39:09chapter all right with that I'll see you
  13426. 8:39:15there welcome to this final lesson on
  13427. 8:39:17the M language and we're going to be
  13428. 8:39:20going into some pretty Advanced
  13429. 8:39:22Techniques and understanding how to read
  13430. 8:39:25and better utilize the M language in
  13431. 8:39:27building your power query queries anyway
  13432. 8:39:31nothing in this lesson is going to be
  13433. 8:39:34used that we actually go through and do
  13434. 8:39:36used to build on our project so if any
  13435. 8:39:39time you're not following along or
  13436. 8:39:40you're not able to do anything don't
  13437. 8:39:42worry too much nothing's actually be
  13438. 8:39:44used it's more to inform you about the M
  13439. 8:39:47language so you get more familiar with
  13440. 8:39:48it as a disclaimer you will not be an
  13441. 8:39:51expert on M language you not be able to
  13442. 8:39:52code in M language after this mainly
  13443. 8:39:54you'll just be able to look look at it
  13444. 8:39:56understand what's going on there from
  13445. 8:39:57there and make slight adjustments if
  13446. 8:39:59necessary feel free to continue working
  13447. 8:40:01on in that worksheet that you've been
  13448. 8:40:03using previously where we just
  13449. 8:40:05calculated in the last lesson looking at
  13450. 8:40:07the top 10 skills and what the salary is
  13451. 8:40:09for them however if you got lost or
  13452. 8:40:11wasn't able to follow along or just
  13453. 8:40:13starting over feel free to use this
  13454. 8:40:15merge notebook don't use once again that
  13455. 8:40:18M language one that one's going to be
  13456. 8:40:20what is going to be done at the end of
  13457. 8:40:21this lesson so what are we going to be
  13458. 8:40:23covering in this lesson well if you open
  13459. 8:40:25up the power query editor we can
  13460. 8:40:27navigate into it we're going to be
  13461. 8:40:28covering three main things first is the
  13462. 8:40:31Z Advan editor actually walking through
  13463. 8:40:34a previous query and understanding how
  13464. 8:40:36to read it and then from there under add
  13465. 8:40:38column tab we're going to go into these
  13466. 8:40:41different examples on creating custom
  13467. 8:40:44columns and also custom
  13468. 8:40:48functions so what exactly is this m
  13469. 8:40:52language well if we dive in
  13470. 8:40:54documentation we can see that the power
  13471. 8:40:56query engine uses a scripting language
  13472. 8:40:59behind the scenes for all power query
  13473. 8:41:01Transformations the power query M formul
  13474. 8:41:04language also known as M so although
  13475. 8:41:07we're doing all these edits inside of
  13476. 8:41:08this power query editor behind the
  13477. 8:41:10scenes if we navigates something like
  13478. 8:41:12the advanced editor it's actually using
  13479. 8:41:15this m language right here to carry out
  13480. 8:41:18all the Transformations and it goes on
  13481. 8:41:21to say if you want to do Advanced
  13482. 8:41:22Transformations using the power query
  13483. 8:41:24engine you can use the advanced Editor
  13484. 8:41:26to access the script of the query and
  13485. 8:41:28modify it as you want it even goes on to
  13486. 8:41:31discuss that if you're not finding what
  13487. 8:41:33you need in the actual GUI or the
  13488. 8:41:35graphical unit user interface of the
  13489. 8:41:37power query editor you can use the M
  13490. 8:41:39language editing it in the advanced
  13491. 8:41:40editor for
  13492. 8:41:44this so let's go into breaking down this
  13493. 8:41:46m language more by going to that data
  13494. 8:41:48jobs merge and entering the advanced
  13495. 8:41:50editor and we're going to be just
  13496. 8:41:52breaking down this simple query right
  13497. 8:41:54here up here on the right hand side
  13498. 8:41:56there's a few different options display
  13499. 8:41:57options I'm going to do this render Whit
  13500. 8:42:00space basically it shows me the
  13501. 8:42:01indentation that's going on here right
  13502. 8:42:03now I'm seeing that there's four spaces
  13503. 8:42:05in here anyway the key thing here is
  13504. 8:42:08we've have first have this let keyword
  13505. 8:42:10and then in keyword this Begins the
  13506. 8:42:14basically definition block if you will
  13507. 8:42:16this whole portion right here for
  13508. 8:42:18defining different variables and
  13509. 8:42:19specifically different tasks if we look
  13510. 8:42:23we have things like source expanded data
  13511. 8:42:26job skills sorted rows remove column
  13512. 8:42:28remove columns if I go ahead and move
  13513. 8:42:31this over to the right those applied
  13514. 8:42:33steps are the same thing those are the
  13515. 8:42:36variables itself I currently have enable
  13516. 8:42:39word wrap enabled and I'm not liking the
  13517. 8:42:41format and how it looks I'm going to go
  13518. 8:42:42ahead and unclick that finally we have
  13519. 8:42:44the in keyword and then this displays
  13520. 8:42:48the final value that we want to appear
  13521. 8:42:52for our query so in this case we want
  13522. 8:42:54the final value of rename columns or the
  13523. 8:42:56last applied step to be what appears now
  13524. 8:43:00this Advanced ER I'm going to expand it
  13525. 8:43:01back out again is also a syntax Checker
  13526. 8:43:04so in this case let's say I deleted this
  13527. 8:43:07quotations at the end of this rename
  13528. 8:43:08columns it's going to one it's going to
  13529. 8:43:10give me these red squiggly lines to say
  13530. 8:43:11that hey there's something wrong here
  13531. 8:43:13and two it's going to actually give you
  13532. 8:43:14an error of invalid identifier and so we
  13533. 8:43:18would probably know that we probably
  13534. 8:43:19need to fix this so we're not going to
  13535. 8:43:21be breaking down much more of the
  13536. 8:43:22formulas here but I do want you to spot
  13537. 8:43:25two main things from this the first
  13538. 8:43:27thing is this column names column names
  13539. 8:43:30are always put in quotes in here and
  13540. 8:43:34conveniently they're also highlighted in
  13541. 8:43:36here so if you needed to do any changes
  13542. 8:43:37to column names or see what's happening
  13543. 8:43:40that's one quick way to identify it the
  13544. 8:43:42next thing is this every step that is
  13545. 8:43:44taken refers to the previous one what do
  13546. 8:43:47I mean by this so this first step is
  13547. 8:43:49assign the valuable variable of source
  13548. 8:43:52and I know it's assign this variable
  13549. 8:43:53because it has an equal sign right next
  13550. 8:43:54to it
  13551. 8:43:55and then whenever we go to the next line
  13552. 8:43:57of expanded data job skills inside this
  13553. 8:44:01function of table expanded table column
  13554. 8:44:04it references source which if I scroll
  13555. 8:44:07over it I can see that it's giving me
  13556. 8:44:09the same formula for source which is
  13557. 8:44:11right above it so basically it's
  13558. 8:44:12plugging right into it similarly this
  13559. 8:44:15expanded data job skills is going to be
  13560. 8:44:18located in the next one below it on
  13561. 8:44:20sorted rows and it's going to be the
  13562. 8:44:21first value in here for this table
  13563. 8:44:23sorted and if you're curious about what
  13564. 8:44:26these different functions are doing you
  13565. 8:44:27can just scroll over it as well in this
  13566. 8:44:28case table. sort sorts the table using
  13567. 8:44:31one or more Columns of names and
  13568. 8:44:32comparison criteria and it tells us via
  13569. 8:44:35the syntax inside the parentheses that
  13570. 8:44:37the first parameter is table is table so
  13571. 8:44:39it takes that previous variable which is
  13572. 8:44:41a table anyway one minor last thing
  13573. 8:44:43about this if you notice these are
  13574. 8:44:45surrounded by these variables have a
  13575. 8:44:47hashtag and then double quotes on each
  13576. 8:44:49side and that's because they have white
  13577. 8:44:51space in the actual names that we're
  13578. 8:44:54doing for this in the case of source
  13579. 8:44:56there's no white space it's only one
  13580. 8:44:58value with no white space so it doesn't
  13581. 8:45:00need to have this around it anyway why
  13582. 8:45:02am I yaen about all this stuff if you
  13583. 8:45:03need to understand this m language
  13584. 8:45:05anyway we're going to actually create
  13585. 8:45:07this data jobs merge query I'm going to
  13586. 8:45:09select it all press contrl C to copy it
  13587. 8:45:12then from there I'm going to close out
  13588. 8:45:14of it we're going to now create a new
  13589. 8:45:16query so underneath the Home tab I'm
  13590. 8:45:18going to go to new source I'm and then
  13591. 8:45:21under that other source and I'm just
  13592. 8:45:22going to go into blank query okay right
  13593. 8:45:25now this is completely blank but I can
  13594. 8:45:28go into that advanced error of query 1
  13595. 8:45:31and it has the let and instill and
  13596. 8:45:34obviously nothing going on here what I
  13597. 8:45:37can do is just highlight this all and
  13598. 8:45:39then using contrl V paste all of that
  13599. 8:45:43other query into this now when I press
  13600. 8:45:47done it goes through and actually
  13601. 8:45:51creates that same exact query from data
  13602. 8:45:53jobs merged now it could could have gone
  13603. 8:45:55through and right click data jobs merged
  13604. 8:45:57and click duplicate but this is more of
  13605. 8:45:59to show that you can actually go in copy
  13606. 8:46:02queries or copy portions of queries and
  13607. 8:46:05thus paste it into other ones which
  13608. 8:46:07we're going to do in a little
  13609. 8:46:11bit so let's get into more of learning
  13610. 8:46:13about the M Language by actually
  13611. 8:46:15cleaning up this query one that we just
  13612. 8:46:18created by using this column from
  13613. 8:46:20example first thing though I do want to
  13614. 8:46:22rename this query one this is the one
  13615. 8:46:24we're be working with for the remainder
  13616. 8:46:26of this lesson and I'm going to call it
  13617. 8:46:28data jobs clean because that's what
  13618. 8:46:29we're going to do we're going to clean
  13619. 8:46:30it up so we have four major tasks that
  13620. 8:46:33we're going to do with this the first is
  13621. 8:46:35for job schedule type I just want to
  13622. 8:46:37extract out the first value out of here
  13623. 8:46:39that's full-time out of it additionally
  13624. 8:46:41we're going to be using the date and
  13625. 8:46:42date time columns to extract the weekday
  13626. 8:46:45and also the hour of the job postings
  13627. 8:46:48and then finally we're going to do some
  13628. 8:46:49data cleanup on this job title column
  13629. 8:46:52that frankly is a mess specifically
  13630. 8:46:54we're going to move job postings that
  13631. 8:46:56have this parentheses remote around it
  13632. 8:46:59anyway let's start with this first one
  13633. 8:47:00of this job schedule type if I go into
  13634. 8:47:03view and then look at the column profile
  13635. 8:47:05it looks like we have that full-time
  13636. 8:47:07contractor part-time and whatnot but we
  13637. 8:47:09have a lot of combines of full-time and
  13638. 8:47:12part-time contractor and temp work
  13639. 8:47:13full-time parttime and internship I
  13640. 8:47:15basically want to go through and just
  13641. 8:47:16extract out what is the first value that
  13642. 8:47:19appears in here so in the case of this
  13643. 8:47:21full-time and parttime just want to
  13644. 8:47:23extract full-time contractor and temp n
  13645. 8:47:24work only contractor so under add column
  13646. 8:47:27and then column from example we'll do
  13647. 8:47:30from selection and this appears at the
  13648. 8:47:33top of add column from examples enter
  13649. 8:47:35sample values to create a new column
  13650. 8:47:38control enter to apply so I'll first go
  13651. 8:47:40by entering fulltime and it's already
  13652. 8:47:43picking it up I'm just going to type it
  13653. 8:47:45in first okay and then I'm going to
  13654. 8:47:47scroll down but in this case I'm going
  13655. 8:47:49to put in hey I want full time for this
  13656. 8:47:54one this is the example remember so now
  13657. 8:47:57it's cleaning up that let's scroll down
  13658. 8:47:58further if it's done this fully for even
  13659. 8:48:00more okay it's getting the first of
  13660. 8:48:02these and you might think that this is
  13661. 8:48:04correct but the problem we're running
  13662. 8:48:06into now is if we go down to this one
  13663. 8:48:09where it says contractor it's only
  13664. 8:48:12contract do and just looking at the
  13665. 8:48:14formula this is the formula it's
  13666. 8:48:16generated so far it's doing teex start
  13667. 8:48:19and nine I don't really know too much
  13668. 8:48:21what's going on here but I'm assuming
  13669. 8:48:22that it's taking the first nine values
  13670. 8:48:24that's not I want so inside this
  13671. 8:48:26contractor one I'm going to type in
  13672. 8:48:29contractor with an R so that way it
  13673. 8:48:31hopefully fixes this so this is good and
  13674. 8:48:34now it has text before delimiter and a
  13675. 8:48:36space so I'm going to go ahead and click
  13676. 8:48:39okay to load this in so let's scroll
  13677. 8:48:42down to just inspect it to make sure
  13678. 8:48:44that we have this correct and an easier
  13679. 8:48:47way instead of scrolling down and trying
  13680. 8:48:48to find something I can just use this
  13681. 8:48:49drop down right here and look in here
  13682. 8:48:52and it looks like we're good
  13683. 8:48:55except for we now have a comma here
  13684. 8:48:59specifically I have a fulltime and then
  13685. 8:49:01a full-time comma so what's going on
  13686. 8:49:03here well for values that have more than
  13687. 8:49:06two so three they actually insert a
  13688. 8:49:08comma in there and when we inspect our
  13689. 8:49:12formula opening up the formula bar here
  13690. 8:49:14it's only checking for a space so the
  13691. 8:49:18easiest way to fix this is actually just
  13692. 8:49:21like we did before we're pretty familiar
  13693. 8:49:23with it let's go to the trans form Tab
  13694. 8:49:25and then under replace values we want to
  13695. 8:49:27go to replace values specifically we
  13696. 8:49:29want to find commas we want to replace
  13697. 8:49:31it with a blank bam so now pulling down
  13698. 8:49:34that drop down we don't have multiple
  13699. 8:49:37different full times we just have that
  13700. 8:49:38single one without the comma we have
  13701. 8:49:41what we want all right we're going to
  13702. 8:49:42rename this and I can just go ahead and
  13703. 8:49:44double click this and rename it but I'm
  13704. 8:49:45actually going to do something first I
  13705. 8:49:47see that I have the step already for
  13706. 8:49:49renamed columns so I'm going to take
  13707. 8:49:51that and I'm going to drag it to the
  13708. 8:49:53Bottom now with rename columns as the
  13709. 8:49:55last step I'll then rename it to job
  13710. 8:49:58schedule type first press enter and then
  13711. 8:50:00it inserts it into that current step as
  13712. 8:50:02we can see from here cuz we're now
  13713. 8:50:04familiar with it and we don't have
  13714. 8:50:05multiple rename columns in there and
  13715. 8:50:08then finally you know how I get about
  13716. 8:50:10column ordering this job schedule type
  13717. 8:50:12first I want it next to the job schedule
  13718. 8:50:14type so I'm going to drag this on over
  13719. 8:50:16here see how long it takes and we've
  13720. 8:50:19moved it over and we now have this new
  13721. 8:50:21step of reordered columns all right
  13722. 8:50:23let's look at some other quick examples
  13723. 8:50:24for column from examples for this we're
  13724. 8:50:27going to be using the job posted date
  13725. 8:50:29for this using column from example I'm
  13726. 8:50:31going to select from selection now with
  13727. 8:50:34some of these things whenever I type in
  13728. 8:50:36this box I want to get let's say the
  13729. 8:50:38year in this case if I were to type in
  13730. 8:50:40four one it would pop up that hey with
  13731. 8:50:44all these different options we can do
  13732. 8:50:45and so this provides a lot of different
  13733. 8:50:46options as far as okay I do know if I
  13734. 8:50:49wanted to do the month I could do that
  13735. 8:50:51and pressing enter it's going to copy it
  13736. 8:50:53all the way down that's not what I
  13737. 8:50:54wanted this case though I'm going to
  13738. 8:50:55double click it again go
  13739. 8:50:572023 and scrolling down and looking
  13740. 8:51:00through this this option here of year
  13741. 8:51:03from job post to date so we're going to
  13742. 8:51:04go with that then press enter and
  13743. 8:51:07looking at the transform we can see what
  13744. 8:51:09is the m language code that it used for
  13745. 8:51:11this it used the date and year function
  13746. 8:51:14putting in job posted date this is what
  13747. 8:51:16we want we'll click okay you know I I'm
  13748. 8:51:19with naming so we're not going to keep
  13749. 8:51:20this named year so I'm going to modify
  13750. 8:51:22this m language to be job post posted
  13751. 8:51:25year with that renamed let's actually
  13752. 8:51:27move over to our other example
  13753. 8:51:29extracting out the hour for this we're
  13754. 8:51:31going to be using that job posted
  13755. 8:51:32datetime column column from example from
  13756. 8:51:35selection in this case I want the hour
  13757. 8:51:37out of it so I'm just going to put
  13758. 8:51:38something like nine and we can see that
  13759. 8:51:42we also have this here for hours from
  13760. 8:51:43job post to date time I want that one
  13761. 8:51:46press enter again inspecting the M
  13762. 8:51:48language formula it's extracting the
  13763. 8:51:50hour out of this one I'm good with it
  13764. 8:51:52I'm also seeing the other values are
  13765. 8:51:53updating correctly I'll click okay and
  13766. 8:51:56we have our new column called hour which
  13767. 8:51:58you know me we're going to fix this an
  13768. 8:52:00updated hour to job posted hour press
  13769. 8:52:02enter all right now we got it so you're
  13770. 8:52:05probably like look I already know how to
  13771. 8:52:07go something like the transform Tab and
  13772. 8:52:08already extract out that information
  13773. 8:52:10using these functions that we used
  13774. 8:52:12before well that was mainly as a primer
  13775. 8:52:14for this next example we're going to be
  13776. 8:52:16doing and that's that with this job
  13777. 8:52:18title column there's some job titles in
  13778. 8:52:20here that have a lot of sort of
  13779. 8:52:22frivolous information that we don't need
  13780. 8:52:24like in this case supervisor information
  13781. 8:52:26technology specialist and then
  13782. 8:52:27parentheses it has associate director I
  13783. 8:52:29don't need anything in parenthesis
  13784. 8:52:31similarly for this for the senior data
  13785. 8:52:33engineer I don't need this remote in
  13786. 8:52:34here so let's select this job title go
  13787. 8:52:37into add column column from example and
  13788. 8:52:41from selection for this first one with
  13789. 8:52:43the associate director I'm going to
  13790. 8:52:44select it so it appears below and then
  13791. 8:52:46just highlight what I want press contrl
  13792. 8:52:48C and then paste it in here then
  13793. 8:52:51scrolling here through here to do a
  13794. 8:52:53cursor check so I'm seeing that senior
  13795. 8:52:55data engineer remotes in here I could
  13796. 8:52:56select it and copy this down here
  13797. 8:52:58another option is I just go in here
  13798. 8:53:00double click it since it's now
  13799. 8:53:02populating and delete out that remote
  13800. 8:53:06press enter and it looks like it's doing
  13801. 8:53:09this it's getting the text before the
  13802. 8:53:11limiter job title specifically before
  13803. 8:53:13the parenthesis and looks like in this
  13804. 8:53:16case University grad data scientist PhD
  13805. 8:53:18only now hiring it removed all that okay
  13806. 8:53:21so this is now doing what we want click
  13807. 8:53:23okay and I don't want I want to call
  13808. 8:53:24this column text for delimiter I want to
  13809. 8:53:26call this job title clean pressing enter
  13810. 8:53:31all right so last thing I want to now
  13811. 8:53:33clean up these columns and you know how
  13812. 8:53:35I get I want the year an hour to be next
  13813. 8:53:37to the date time the job tile clean be
  13814. 8:53:39next to the job tiles I could drag and
  13815. 8:53:41drop these I'm going to show you
  13816. 8:53:42something else this reordered column
  13817. 8:53:45step we're going to be modifying the M
  13818. 8:53:47language for this and I don't want
  13819. 8:53:50reordered columns to appear more than
  13820. 8:53:51once so I'm going to take it once again
  13821. 8:53:53and drag it to the very end now what I
  13822. 8:53:56can do is take and modify this m
  13823. 8:53:59language that we have in here now if we
  13824. 8:54:02actually inspect this reordered columns
  13825. 8:54:04it may do this or may not in my case it
  13826. 8:54:06didn't add anything after job skills it
  13827. 8:54:09basically let any new columns just fall
  13828. 8:54:11towards the end so this job skills all
  13829. 8:54:14these other columns after it aren't
  13830. 8:54:15included which not a big deal so what I
  13831. 8:54:18want to do is I want to move this year
  13832. 8:54:20and hour to near job posted date and job
  13833. 8:54:23posted month so I'll enter inside of
  13834. 8:54:25here put in job posted year and also job
  13835. 8:54:29posted hour make sure we're putting
  13836. 8:54:31commas after both of those then I'm
  13837. 8:54:33going to run this to make sure there's
  13838. 8:54:34no issues with it and it looks like it
  13839. 8:54:36moved it over inspecting next to job
  13840. 8:54:39post a date we have our month and also
  13841. 8:54:40year and hour all right the last one is
  13842. 8:54:43this job title clean and I want this to
  13843. 8:54:45be right after job title so I'll go
  13844. 8:54:48ahead and put that in right here making
  13845. 8:54:50sure to put a comma after that and then
  13846. 8:54:53from there press ing this check mark up
  13847. 8:54:55here to move it inspecting over we have
  13848. 8:54:58job title clean right next to
  13849. 8:55:02it our next to look at is custom column
  13850. 8:55:06we'll go ahead and actually just select
  13851. 8:55:08this and whenever we pull this up this
  13852. 8:55:11tells us this allows us to add a column
  13853. 8:55:13that's computed from the other column
  13854. 8:55:15provides a box to basically put in the
  13855. 8:55:17new column name but right here this is
  13856. 8:55:19where we put in the custom column
  13857. 8:55:22formula or the M language to maybe clean
  13858. 8:55:25it up now let's start with something
  13859. 8:55:27simple let's say I just wanted to repeat
  13860. 8:55:29the job ID column I would come over here
  13861. 8:55:31select job ID click insert it's going to
  13862. 8:55:34put it in notice that the variable
  13863. 8:55:37itself is inside of brackets and I'm
  13864. 8:55:39going to rename this job ID repeat down
  13865. 8:55:43at the bottom it's telling me that no
  13866. 8:55:44syntax errors have been detected I'll
  13867. 8:55:47click okay and then I get this new step
  13868. 8:55:49for added custom and we can see hey it's
  13869. 8:55:52job ID repeat scrolling over yep it
  13870. 8:55:55repeated it if I want to go back in to
  13871. 8:55:57edit it I'll press that settings icon
  13872. 8:56:00and it's going to pull this back up so
  13873. 8:56:02let's do something a little bit more
  13874. 8:56:03complex now and it going to involve the
  13875. 8:56:06salary year average column and that
  13876. 8:56:08salary hour adjusted column go ahead and
  13877. 8:56:11cancel out of this what I want is to
  13878. 8:56:13create a new column that if there's a
  13879. 8:56:15salary year average value it will
  13880. 8:56:17basically be in that new column and then
  13881. 8:56:19if there's a salary hour adjusted value
  13882. 8:56:22it will be in that column instead
  13883. 8:56:24just as for warning anytime salary year
  13884. 8:56:27average is null there's always a value
  13885. 8:56:29for salary hour adjusted and vice versa
  13886. 8:56:32so like I said we're not going to
  13887. 8:56:33becoming coding experts with this so I
  13888. 8:56:36recommend taking use of chat Bots like
  13889. 8:56:38chat gbt gemini or whatnot lots of free
  13890. 8:56:40options available out there anyway we
  13891. 8:56:42have this prompt of generate a power
  13892. 8:56:44query formula for a custom column on
  13893. 8:56:46building make the column salary your
  13894. 8:56:48average if it's not blank otherwise it
  13895. 8:56:50is salary hour adjusted now it's giving
  13896. 8:56:54do the entire M language right this is
  13897. 8:56:56what we providing to the advanced editor
  13898. 8:56:58providing that previous step name what
  13899. 8:57:00column we're using everything like that
  13900. 8:57:02I care about really this formula right
  13901. 8:57:06here specifically everything after the
  13902. 8:57:08each I'm going to copy this from if all
  13903. 8:57:11the way to the end that's the actual
  13904. 8:57:13code right here going back to the custom
  13905. 8:57:16column I'm going to delete that job ID
  13906. 8:57:18out of there I want to make sure that
  13907. 8:57:20there's an equal sign still there and
  13908. 8:57:22I'm going to paste this in
  13909. 8:57:24and you can see from this this is just
  13910. 8:57:26basically an if formula it's doing if
  13911. 8:57:28salary year average is not equal to null
  13912. 8:57:32then salary year average else perform
  13913. 8:57:35salary hour adjusted down at the bottom
  13914. 8:57:37we can see that no syntax errors have
  13915. 8:57:39been detected so I'm going to go ahead
  13916. 8:57:41and click okay so bam we now have this I
  13917. 8:57:44did in that jav ID repeat value here so
  13918. 8:57:47we're going to actually change that to
  13919. 8:57:48rename that value to salary year
  13920. 8:57:50combined and then clicking the check
  13921. 8:57:53mark in order to to rerun that formula
  13922. 8:57:55to update the column and you know I like
  13923. 8:57:57have my steps in order so I'm going to
  13924. 8:57:58grab reordered column and I'm going to
  13925. 8:58:00drag it to the very end and for this one
  13926. 8:58:02I'm just going to drag it over to salary
  13927. 8:58:04hour adjusted right after it to salary
  13928. 8:58:06year combined so now scrolling down just
  13929. 8:58:08to double check it it looks like we got
  13930. 8:58:10140,000 here 140,000 82,000 82,000 there
  13931. 8:58:14so the formula filled out
  13932. 8:58:19correctly so let's get into our final
  13933. 8:58:21task so we've been working this data
  13934. 8:58:23jobs clean data set we made this salary
  13935. 8:58:26year combined which is pretty useful
  13936. 8:58:28actually what happens now if we want it
  13937. 8:58:30in something like data jobs merged what
  13938. 8:58:33do we need to do to actually add it into
  13939. 8:58:36here because we have everything we need
  13940. 8:58:38for it specifically we have that salary
  13941. 8:58:40year average and we have the salary hour
  13942. 8:58:42adjusted columns well we could recreate
  13943. 8:58:45it in here going through all those steps
  13944. 8:58:47creating that if statement or we could
  13945. 8:58:48just copy it out of the advanced error
  13946. 8:58:50and bring it in here so I'm going to go
  13947. 8:58:52back to data jobs cleaned and then under
  13948. 8:58:54home Advanced editor I'm going to go and
  13949. 8:58:57find the step that's in here
  13950. 8:58:59specifically it was this of added column
  13951. 8:59:02and I'm going to copy it because I can
  13952. 8:59:04see that hey it has the salary year
  13953. 8:59:05combined in it I'm going to copy it all
  13954. 8:59:06the way the the end and I'm going to
  13955. 8:59:08copy it by pressing contrl C okay go and
  13956. 8:59:11close out of this one and then bring
  13957. 8:59:12over to data jobs merged go into the
  13958. 8:59:15advanced editor and I want to insert it
  13959. 8:59:17in right at the end so I'm going to go
  13960. 8:59:20to at the end of this block of this let
  13961. 8:59:22block going to press enter and then from
  13962. 8:59:25there press contrl + V to paste it in
  13963. 8:59:28now I'm already getting an error message
  13964. 8:59:30and it's saying hey token comma un
  13965. 8:59:34basically expected and it's not getting
  13966. 8:59:36it if I scroll over I can see these
  13967. 8:59:38squiggly lines right here basically
  13968. 8:59:39there's not if we can see there's commas
  13969. 8:59:42after every one of these variable
  13970. 8:59:43definitions so I need to come up here
  13971. 8:59:45put a comma in there next is this a
  13972. 8:59:48comma cannot proceed an in so if we
  13973. 8:59:50scroll over we can see this is red
  13974. 8:59:53highlighted probably wrong not to have a
  13975. 8:59:54comma here so we'll get rid of it now
  13976. 8:59:56we're not done it's going to say there's
  13977. 8:59:58no syntax errors but we didn't complete
  13978. 9:00:01this remember you have to have the name
  13979. 9:00:04of the it's got to reference the
  13980. 9:00:05previous name here in it so if I tried
  13981. 9:00:08to even though it says no syntax errors
  13982. 9:00:10if I try to click done and go to load it
  13983. 9:00:13I'm basically getting an error I can see
  13984. 9:00:15this by this basically air Bo at the top
  13985. 9:00:18of each one of these columns also
  13986. 9:00:20there's only one applied step and it's
  13987. 9:00:22calling it data job
  13988. 9:00:24merged of the actual title itself but we
  13989. 9:00:28need to fix this query and actually get
  13990. 9:00:30it back to where it had multiple
  13991. 9:00:31different applied steps so I'm going to
  13992. 9:00:33go back to the advanced editor we're
  13993. 9:00:34going to show what we did wrong here and
  13994. 9:00:36that has to deal with remember we had
  13995. 9:00:38before where we had something like
  13996. 9:00:40remove columns you reference the
  13997. 9:00:42previous column in it so in this case
  13998. 9:00:44remove columns right there well rename
  13999. 9:00:47columns is the last one we had I'm going
  14000. 9:00:50to go ahead and copy this by control
  14001. 9:00:51cing it but yet we have inex inserted
  14002. 9:00:54text before delimiter one which is not
  14003. 9:00:57correct so I'm going to select all of
  14004. 9:00:59that and replace it by pressing crl +v
  14005. 9:01:01so we have the rename columns now one
  14006. 9:01:04other thing we have to do this last
  14007. 9:01:06statement or and the in portion needs to
  14008. 9:01:09be referencing that last variable of
  14009. 9:01:11added custom so I'm going to go ahead
  14010. 9:01:13and copy this contrl C and then pasting
  14011. 9:01:17it in control V click done and now
  14012. 9:01:20scrolling all the way over we can see
  14013. 9:01:23that we have that salary year combined
  14014. 9:01:25column that we created in the last query
  14015. 9:01:27it's at the end we do need to move it
  14016. 9:01:29over but it's in there nonetheless so it
  14017. 9:01:31helps with understanding these queries
  14018. 9:01:34now one quick thing before we go we've
  14019. 9:01:35gone through basically every single
  14020. 9:01:37thing in this chapter on power query up
  14021. 9:01:40to this point with the exception of this
  14022. 9:01:43invoke custom functions this basically
  14023. 9:01:46invokes a custom function defined in the
  14024. 9:01:48file for each row of this table this is
  14025. 9:01:50more advanced and Beyond the scope of
  14026. 9:01:52this course we're not going to be
  14027. 9:01:53covering it but is available for you to
  14028. 9:01:55dive into say you're doing a lot of
  14029. 9:01:57different Imports and you need to
  14030. 9:01:59automate the Imports that you do this
  14031. 9:02:02would be a path you would go but for
  14032. 9:02:04beginners like us I'm going to say stick
  14033. 9:02:06away from it for the time being so this
  14034. 9:02:08now wraps up on the M language and that
  14035. 9:02:12was really a crash course and
  14036. 9:02:15understanding how to use it by no means
  14037. 9:02:16do you need be a professional or be an
  14038. 9:02:19expert coder and codeing the M language
  14039. 9:02:21if you got lost at any point in the way
  14040. 9:02:22nothing to feel ashamed about this is a
  14041. 9:02:24very pretty complex topic if you would
  14042. 9:02:26like to learn more I do recommend this
  14043. 9:02:29book which is M is for data monkey it's
  14044. 9:02:31a good little read talking about not
  14045. 9:02:33only Power query but also how to
  14046. 9:02:35manipulate the M language I'll include a
  14047. 9:02:37link in the description below anyway
  14048. 9:02:39power query in my opinion is one of the
  14049. 9:02:41most important features the most
  14050. 9:02:43powerful tools within Excel and also
  14051. 9:02:46powerbi and so it's worth your time
  14052. 9:02:49investing and learning it and so this
  14053. 9:02:51all culminates and we're now finalized
  14054. 9:02:52covering power query in this chapter in
  14055. 9:02:55the next chapter we're going be jumping
  14056. 9:02:57into Power pivot and that's going to
  14057. 9:02:59jumping into actually data modeling but
  14058. 9:03:01before that for those that purchase C
  14059. 9:03:03practice problems you have some practice
  14060. 9:03:04problems to go through and get more
  14061. 9:03:06familiar with that M language for
  14062. 9:03:07proceeding forward all right with that
  14063. 9:03:09see you in the next
  14064. 9:03:13one welcome to this chapter on power
  14065. 9:03:16pivot and this chapter consists of four
  14066. 9:03:19different lessons where we're going to
  14067. 9:03:21go an intro into Power pivot and over
  14068. 9:03:23the wind window that it actually
  14069. 9:03:24provides then from there looking into
  14070. 9:03:27Dax or data analytical Expressions which
  14071. 9:03:31is a Formula language very similar to
  14072. 9:03:33excel formulas but before we actually
  14073. 9:03:35jump into this lesson and going over
  14074. 9:03:37what we're going for it we're going to
  14075. 9:03:39focus on what exactly is power
  14076. 9:03:45pivot so here I am in Excel and this is
  14077. 9:03:48meant for me to just go through and
  14078. 9:03:50quickly explain what is the power power
  14079. 9:03:54of power pivot I know that pun is
  14080. 9:03:56getting sort of old by now but it really
  14081. 9:03:58is powerful if you're curious of looking
  14082. 9:04:00at it it's in the workbook of power
  14083. 9:04:02pivot intro part one part two is what
  14084. 9:04:04we're going to be using for the actual
  14085. 9:04:05lesson so in power query in the last
  14086. 9:04:07chapter we end up clearing up our data
  14087. 9:04:09set to have these two main tables versus
  14088. 9:04:11data job salary which has the complete
  14089. 9:04:13data set on all the data science job
  14090. 9:04:15postings and then data job skills which
  14091. 9:04:17is unique to the skills for a job we
  14092. 9:04:20also created a data jobs merge table but
  14093. 9:04:23that table is actually going to be well
  14094. 9:04:25it's pretty much Obsolete and power
  14095. 9:04:27pivot is going to help replace that and
  14096. 9:04:29for good reason so what exactly is power
  14097. 9:04:32pivot well it's an addin we're going to
  14098. 9:04:33get to adding it in and it has a few
  14099. 9:04:36different features that you can do
  14100. 9:04:37within it such as accessing the data
  14101. 9:04:39model adding measures kpis and whatnot
  14102. 9:04:41this lesson is going to be going over
  14103. 9:04:43this tab as a quick refresher power
  14104. 9:04:46pivot is going to be available in
  14105. 9:04:48basically any version of Windows for
  14106. 9:04:50Microsoft past
  14107. 9:04:522010 but it's completely not available
  14108. 9:04:55in either the Mac version or the
  14109. 9:04:57Microsoft online version so you won't be
  14110. 9:04:59able to do this chapter if you have
  14111. 9:05:01those versions or the final project
  14112. 9:05:03anyway the core portion of power pivot
  14113. 9:05:06is actually managing a data model and
  14114. 9:05:09what's a data model well a data model
  14115. 9:05:12defines how data is basically structured
  14116. 9:05:15stored and also related in this case we
  14117. 9:05:20have the data jobs salary table right
  14118. 9:05:22here and we have the data jobs skill
  14119. 9:05:25table what we can do with power pivot
  14120. 9:05:27besides modeling these tables and
  14121. 9:05:29showing how they're structured is the
  14122. 9:05:31more important thing of creating a
  14123. 9:05:32relationship in this case I created a
  14124. 9:05:34relationship between the job ID of data
  14125. 9:05:37job salary and that of data job skills
  14126. 9:05:40and because I created this relationship
  14127. 9:05:42I can look at things like the job title
  14128. 9:05:44shot short column see how many jobs it
  14129. 9:05:46has with it but also I can query across
  14130. 9:05:50a table over to the job skills and see
  14131. 9:05:52how many skills has with it in fact
  14132. 9:05:54let's actually do that real quick here I
  14133. 9:05:56have my data model itself I have my two
  14134. 9:05:58tables which are shown anyway I can look
  14135. 9:06:01at things like what are the count of the
  14136. 9:06:03different job titles themselves I'm
  14137. 9:06:05going to do that on job ID and like
  14138. 9:06:07we've done plenty of times before here's
  14139. 9:06:09the job count with a little clean up of
  14140. 9:06:10the actual text here but now with power
  14141. 9:06:13pivot I can actually reach across to
  14142. 9:06:15that other table of data job skills and
  14143. 9:06:17drag the job skills into here and this
  14144. 9:06:20is telling us obviously the count of the
  14145. 9:06:22skills based on the job title pretty
  14146. 9:06:26cool that we can reach across the tables
  14147. 9:06:27and do this now the other cool thing
  14148. 9:06:29that power pivot unlocks is Dax or data
  14149. 9:06:33analytical Expressions recall previously
  14150. 9:06:35that we were using the average of the
  14151. 9:06:38salaries and like we learned way back
  14152. 9:06:40earlier in this Excel course we prefer
  14153. 9:06:42actually a median salary but
  14154. 9:06:44unfortunately looking at the value fied
  14155. 9:06:46settings window here there is no option
  14156. 9:06:50to actually pick median from this and
  14157. 9:06:53that's where where Dax comes to the
  14158. 9:06:54rescue with this I can go to something
  14159. 9:06:56like the power pivot Tab and now create
  14160. 9:06:59a measure which is where you actually
  14161. 9:07:01insert in your Dax and I can create a
  14162. 9:07:04new one called median salary and we're
  14163. 9:07:06going to be using this Dax formula in
  14164. 9:07:08this case I'm going to use the median
  14165. 9:07:09formula very similar to the Excel
  14166. 9:07:11formula and I can do it on the entire
  14167. 9:07:14salary year average column here I'm
  14168. 9:07:16going to format it real quick and then
  14169. 9:07:18press enter anyway bam now we have
  14170. 9:07:21because of the power of Dax we have the
  14171. 9:07:23ability to get the median salary and
  14172. 9:07:27those Dax things can do some pretty
  14173. 9:07:29complicated calculations so in the case
  14174. 9:07:31of here we have this job count and count
  14175. 9:07:33of skills and we want to see what were
  14176. 9:07:35the skills per job specifically in this
  14177. 9:07:38case what is something like C2 / B2 and
  14178. 9:07:42then dragging all the way down and
  14179. 9:07:43filling it for all these this provides a
  14180. 9:07:46much better analysis of what's going on
  14181. 9:07:49with these values of counts and skills
  14182. 9:07:51here when we get this proportionality we
  14183. 9:07:53can create this with measures as shown
  14184. 9:07:55in this final pivot table that we're
  14185. 9:07:56going to be creating coming up in the
  14186. 9:07:58third lesson of this chapter so in
  14187. 9:08:01summary power pivot provides us the
  14188. 9:08:03opportunity to now model our data which
  14189. 9:08:06allows us to one create relationships
  14190. 9:08:09and two allows us on unlocks these
  14191. 9:08:12measures that we can create using
  14192. 9:08:17Dax all right so let's get into this
  14193. 9:08:20lesson what we're going to be focused on
  14194. 9:08:21for well first thing is we're going to
  14195. 9:08:22enable the power power pivot plugin and
  14196. 9:08:24then from there actually getting in to
  14197. 9:08:27data modeling or modeling our data that
  14198. 9:08:30we imported through Power query after we
  14199. 9:08:33have everything set up with our data
  14200. 9:08:34model we're going to then move into
  14201. 9:08:36performing our first analysis analyzing
  14202. 9:08:39based on a job title how many different
  14203. 9:08:42skills they have associated with it like
  14204. 9:08:45I said we'll eventually get to that
  14205. 9:08:46skills per job in an upcoming lesson so
  14206. 9:08:49for this you can continue to work in
  14207. 9:08:51that workbook that we were working with
  14208. 9:08:54in the last chapter EMP power query
  14209. 9:08:55we're going to continue work on that
  14210. 9:08:57because we want to use those queries
  14211. 9:08:58that we built if you got lost dur in the
  14212. 9:09:00way and just want to start back up we're
  14213. 9:09:02going to be starting from that M
  14214. 9:09:04language workbook back in the power
  14215. 9:09:05query chapter as a reminder these
  14216. 9:09:08lessons or workbooks are what are the
  14217. 9:09:11completed workbooks at the end of the
  14218. 9:09:13lesson specifically for this lesson part
  14219. 9:09:16one was just that intro part two is what
  14220. 9:09:18will be done at the end of this lesson
  14221. 9:09:24anyway here I am in the M language
  14222. 9:09:25workbook we need to get into enabling
  14223. 9:09:27power pivot right now you probably don't
  14224. 9:09:29see Power pivot up at the top of the
  14225. 9:09:30tabs so I'm going to go into file and
  14226. 9:09:33then go down to options from here I'm
  14227. 9:09:35going to select add-ins like we did
  14228. 9:09:37before and instead of excel addins we're
  14229. 9:09:40actually going to be using those Comm
  14230. 9:09:41addins I'm going click go and they have
  14231. 9:09:44three different ones available data
  14232. 9:09:45streamer power map and power pivot we
  14233. 9:09:47want Power pivot I'm go ahead and click
  14234. 9:09:50okay now power pivot should appear up at
  14235. 9:09:53the top all the way on the right hand
  14236. 9:09:55side and should look something like this
  14237. 9:09:58quick little overview of this tab manage
  14238. 9:10:00here pops up the power pivot window
  14239. 9:10:04which we're going to be doing a deep
  14240. 9:10:05dive on this in the next lesson we're
  14241. 9:10:08going to use it a little bit in this
  14242. 9:10:09lesson but anyway that's one way you can
  14243. 9:10:10actually access it you can also go to
  14244. 9:10:13the data Tab and then here under data
  14245. 9:10:16tools you should see it also and you'll
  14246. 9:10:19be able to manage your data model and
  14247. 9:10:22once again it will pop up the window
  14248. 9:10:23additionally on this tab you have the
  14249. 9:10:25ability to create measures and kpis
  14250. 9:10:28which going to be diving deep into in
  14251. 9:10:30the third and fourth lesson if you have
  14252. 9:10:32a table within your worksheets you can
  14253. 9:10:34add it to your dat model you can also go
  14254. 9:10:36about detecting relationships although I
  14255. 9:10:38don't find that this feature works that
  14256. 9:10:40well and then finally they have settings
  14257. 9:10:42and settings I don't really touch that
  14258. 9:10:44much nor does it have much control
  14259. 9:10:48here so let's actually get into EMB
  14260. 9:10:51boarding some data into our data model
  14261. 9:10:53we're going to do a simple example first
  14262. 9:10:55here I created a new sheet made three
  14263. 9:10:56columns of ID name salary and then
  14264. 9:10:59different values associated with it one
  14265. 9:11:01way I can add to the data model is if I
  14266. 9:11:03have data in a table is to do this
  14267. 9:11:05feature of add to data model in this my
  14268. 9:11:07table has headers I'll go ahead and
  14269. 9:11:09continue and then it will pop open power
  14270. 9:11:11pivot a similar like environment will
  14271. 9:11:14exist with Excel I can't actually edit
  14272. 9:11:17any numbers in here this is just how
  14273. 9:11:19you're modeling your data if you needed
  14274. 9:11:21to actually edit it I have to go back to
  14275. 9:11:22the sheets and like I said this isn't a
  14276. 9:11:24method I typically use typically have
  14277. 9:11:26bigger data sets not located in tables
  14278. 9:11:28so I'm going to go ahead and rightclick
  14279. 9:11:29this down at the bottom this table name
  14280. 9:11:31of table two click delete it's going to
  14281. 9:11:33say hey do you sure you want to delete
  14282. 9:11:35this table and Bam it's gone all right
  14283. 9:11:38so now there's nothing in our data model
  14284. 9:11:40right now here we are still inside the
  14285. 9:11:42power pivot window and if you've noticed
  14286. 9:11:44from this in the Home tab right here it
  14287. 9:11:47has the option to get external data they
  14288. 9:11:50have options for you to actually connect
  14289. 9:11:52Direct ly with power pivot to things
  14290. 9:11:55like a SQL Server Microsoft Access you
  14291. 9:11:58could also get it from some sort of data
  14292. 9:12:00feed and then this option would be more
  14293. 9:12:02probably useful in that it has a lot of
  14294. 9:12:04different sources you could use such as
  14295. 9:12:06other Excel files text files such as
  14296. 9:12:08csvs and whatnot now you may be asking
  14297. 9:12:11yourself I'm going to close out of this
  14298. 9:12:12power pivot why would I import of that
  14299. 9:12:15whenever we just went through with power
  14300. 9:12:18query to get data via this when which
  14301. 9:12:22time should I use which well it's very
  14302. 9:12:25important to remember the purpose of the
  14303. 9:12:28tool that you're using power query is an
  14304. 9:12:31ETL tool extract transform and load we
  14305. 9:12:35did a lot of Transformations with our
  14306. 9:12:38data set and so that's really the power
  14307. 9:12:41of power query and then it loads it in
  14308. 9:12:45power pivot strengths is not in ETL or
  14309. 9:12:47data cleaning instead it's in data
  14310. 9:12:50modeling creating these relationships
  14311. 9:12:51and Dax now now you may be tempted to
  14312. 9:12:54come inside of existing connections and
  14313. 9:12:56try to connect to specifically that
  14314. 9:12:59salary and skills and if we went through
  14315. 9:13:02like in the salary case and try to click
  14316. 9:13:05open we're going to get an error message
  14317. 9:13:07and I'll be honest this is really
  14318. 9:13:09confusing because we have this workbook
  14319. 9:13:11connections why isn't this working well
  14320. 9:13:13it really just comes down to naming
  14321. 9:13:15conventions and that the fact that power
  14322. 9:13:17query connections are not the same as
  14323. 9:13:19power pivot connections but we have a
  14324. 9:13:20fix for this we just need to exit out of
  14325. 9:13:22the power pivot window here inside of
  14326. 9:13:25queries and connections remember you can
  14327. 9:13:27get to that by going to the data Tab and
  14328. 9:13:29going to queries and connections we can
  14329. 9:13:30go to something like data job salary
  14330. 9:13:32which right now is a connection only
  14331. 9:13:34rightclick it and go to load to right
  14332. 9:13:37now it's only under only create
  14333. 9:13:40connection but we need to check this
  14334. 9:13:42check mark of add this data to the data
  14335. 9:13:46model I'm going to click okay it's going
  14336. 9:13:48to go through this process of loading
  14337. 9:13:50the data and now it talks about the rows
  14338. 9:13:53are loaded but mainly if I go to the
  14339. 9:13:56connection it has this new connection
  14340. 9:13:59now of this workbook data model which if
  14341. 9:14:02I go to and actually open up or manage
  14342. 9:14:05our data model we can see that it's
  14343. 9:14:07inside of here we have this basically
  14344. 9:14:09sheet for the table itself of data job
  14345. 9:14:12salary inside power pivot inside the
  14346. 9:14:15data model now we do need to get that
  14347. 9:14:17other pivot table or other table into
  14348. 9:14:20there as well so I'm going go to queries
  14349. 9:14:22data job skills s right click this load
  14350. 9:14:24to and also add this to the data model
  14351. 9:14:27okay it talks about 167,000 rows are
  14352. 9:14:29loaded and another connections still
  14353. 9:14:32it's only going to be one connection
  14354. 9:14:34because we only have one data model in
  14355. 9:14:35this case and now when I go to manage
  14356. 9:14:38the data model I have two basically
  14357. 9:14:41sheets down here but two tables and now
  14358. 9:14:43we have the data job skills in
  14359. 9:14:48here anyway I want to do some cleanup
  14360. 9:14:50real quick I'm going to clean up power
  14361. 9:14:51pivot but this data jobs merged and this
  14362. 9:14:54data jobs cleaned it's going to be very
  14363. 9:14:56confusing like I said we're not using
  14364. 9:14:58this mainly for the fact that we have
  14365. 9:15:01duplicate values in here for senior data
  14366. 9:15:04scientists in this case and then for the
  14367. 9:15:06salaries and so if we don't manipulate
  14368. 9:15:08this in a correct manner we're going to
  14369. 9:15:11get the wrong results so we're just
  14370. 9:15:13going to get rid of these so for data
  14371. 9:15:15jobs merge I'm going to write click and
  14372. 9:15:17select delete and it's going to say hey
  14373. 9:15:20should you want to delete data jobs
  14374. 9:15:22merge yes I do and then I'm going to do
  14375. 9:15:24the same thing with data jobs clean
  14376. 9:15:26right click it and select delete also if
  14377. 9:15:29you have these tabs down here for data
  14378. 9:15:30jobs clean or merge you can go ahead and
  14379. 9:15:32delete those as well with our models now
  14380. 9:15:35cleaned up let's actually get into going
  14381. 9:15:37over really briefly this power pivot
  14382. 9:15:40window with this we have three main tabs
  14383. 9:15:42of Home Design and advanced advanced
  14384. 9:15:45we're not going to go into a lot of
  14385. 9:15:46things inside of this if any at all it's
  14386. 9:15:49beyond the scope of the course we're
  14387. 9:15:51going to be focusing mostly on the home
  14388. 9:15:52and the design t tab so with this tab
  14389. 9:15:54we've already gone over get external
  14390. 9:15:56data but we can do things like refresh
  14391. 9:15:57our data if we know that it's updated in
  14392. 9:15:59power query generate pivot tables and
  14393. 9:16:01pivot charts based on our data model
  14394. 9:16:04itself change the formatting of a
  14395. 9:16:07particular column in this case is
  14396. 9:16:09noticing as text if we go to the data
  14397. 9:16:11jobs salary data we can actually scroll
  14398. 9:16:14over and see that for the salary your
  14399. 9:16:15average column it knows that it's a
  14400. 9:16:17currency we did a lot of this cleanup
  14401. 9:16:19right in power query and setting these
  14402. 9:16:21different data types so this saves a lot
  14403. 9:16:23of steps here in power pivot if it
  14404. 9:16:25wasn't done now we have options
  14405. 9:16:27displaying the table below that we can
  14406. 9:16:28actually sort it we can filter it or
  14407. 9:16:30sort by a certain column they also
  14408. 9:16:33provide options to find a specific value
  14409. 9:16:36within here and then these features for
  14410. 9:16:38calculations I don't find myself using
  14411. 9:16:40that much as far as the auto so anyway
  14412. 9:16:42over on the right the most important
  14413. 9:16:44thing I find is allows you to toggle on
  14414. 9:16:47the different views of your data set so
  14415. 9:16:49right now this is the data View and if I
  14416. 9:16:51scroll over here this is the diagram
  14417. 9:16:54View and this is going to show our two
  14418. 9:16:57different tables side by side I'm going
  14419. 9:16:58to move them over and actually expand
  14420. 9:17:01this one out to show all the different
  14421. 9:17:02columns and then the data job skills now
  14422. 9:17:05back on that data view clicking that we
  14423. 9:17:08have data view but also below this we
  14424. 9:17:10have this calculation area which I can
  14425. 9:17:12toggle on and off calculation areas are
  14426. 9:17:16where we're going to be storing our
  14427. 9:17:18different measures that we build with
  14428. 9:17:20dacks and so they'll be appearing
  14429. 9:17:22underneath here here if we have any
  14430. 9:17:23hidden columns we'll be able to toggle
  14431. 9:17:25them on and off right now I don't have
  14432. 9:17:27any hidden columns now one thing to note
  14433. 9:17:29with this data cleanup some of that we
  14434. 9:17:30did before with formatting stuff some of
  14435. 9:17:32it's going to be quite limiting you may
  14436. 9:17:34not be able to do like in the case of
  14437. 9:17:36this so data job skills has this job
  14438. 9:17:37title short column and actually if we
  14439. 9:17:40look at the data jobs salary data set we
  14440. 9:17:43have the same repeated column in it so
  14441. 9:17:45data job skills this job title short
  14442. 9:17:47right here is unnecessary now I could
  14443. 9:17:49rightclick it and try to delete the
  14444. 9:17:52column
  14445. 9:17:53and ask me if I want to delete it it's
  14446. 9:17:54going to tell me it's not going to be
  14447. 9:17:56able to do it because it was created by
  14448. 9:17:57a query I.E through Power query and
  14449. 9:18:00instead I should actually update it
  14450. 9:18:01through Power query which I would
  14451. 9:18:03actually argue as best practice anyway
  14452. 9:18:05so I could exit out a power pivot launch
  14453. 9:18:07power query by pressing alt F12 then go
  14454. 9:18:11into the data jobs skills query and if I
  14455. 9:18:14want I can just select this column and
  14456. 9:18:16select remove columns but you know how I
  14457. 9:18:19am I like to actually clean up the
  14458. 9:18:21applied steps because it could depending
  14459. 9:18:23on how large your power query query is
  14460. 9:18:26it could take a long time to load it and
  14461. 9:18:28unload it necessary so if I go to this
  14462. 9:18:29remove other colums that's the first
  14463. 9:18:33time that it appears in it I can remove
  14464. 9:18:35this by deleting it out of there then
  14465. 9:18:37pressing enter we may get an error
  14466. 9:18:39message we may not I'm not sure going to
  14467. 9:18:42the last step in here I notice there one
  14468. 9:18:45thing of the table wasn't found
  14469. 9:18:47specifically here it's appearing job
  14470. 9:18:49title short in here so I can go ahead
  14471. 9:18:51and delete job title short along with
  14472. 9:18:52with that comma and Bam we now have this
  14473. 9:18:55Final Table just to lean for those two
  14474. 9:18:57steps I'm going to go ahead and close
  14475. 9:18:58and load this and now going back in to
  14476. 9:19:02look at our data model and power pivot I
  14477. 9:19:04can see that it updated for data job
  14478. 9:19:09skills all right moving into this design
  14479. 9:19:12tab within power pivot this has a few
  14480. 9:19:15different options within it for adding
  14481. 9:19:17columns freezing columns just messing
  14482. 9:19:18with the columns they also have
  14483. 9:19:20different options for creating
  14484. 9:19:21calculations concerning columns we'll be
  14485. 9:19:24getting into calculating columns more in
  14486. 9:19:26the next lesson so stay tuned for that
  14487. 9:19:29right the main thing that we're actually
  14488. 9:19:30going to be doing in this portion of the
  14489. 9:19:31video is actually setting up
  14490. 9:19:33relationships and that is we could go
  14491. 9:19:36about creating a relationship here and
  14492. 9:19:39right now I have data job skills and I
  14493. 9:19:42could relate it with the job ID by
  14494. 9:19:45pulling the drop down to the data jobs
  14495. 9:19:47salary table on that job ID now that's a
  14496. 9:19:50way I can do it I'm actually not going
  14497. 9:19:51to do it this way I actually prefer
  14498. 9:19:53going to the diagram View and then from
  14499. 9:19:57there just dragging and dropping the job
  14500. 9:20:00IDs across each other and then it
  14501. 9:20:02establish this connection which we can
  14502. 9:20:04see through this line through here now
  14503. 9:20:07there's a few different things that we
  14504. 9:20:08need to notice from this line here one
  14505. 9:20:12this Arrow it's going to come to bite Us
  14506. 9:20:14in the butt later and that's that that
  14507. 9:20:16Arrow only allows data flow in One
  14508. 9:20:20Direction and by data flow I mean
  14509. 9:20:22filtering if I try to filter something
  14510. 9:20:24in the data job skills table this arrow
  14511. 9:20:27is only pointing in One Direction I
  14512. 9:20:29won't be able to filter it back we'll
  14513. 9:20:31encounter those problems in a little bit
  14514. 9:20:32and we'll talk about strategies how to
  14515. 9:20:34actually offset it the other thing to
  14516. 9:20:36note with this relationship here is you
  14517. 9:20:38notice right here it says one and over
  14518. 9:20:40here it says star in this case this is a
  14519. 9:20:44one to many relationship and what does
  14520. 9:20:48this mean well going to our data view
  14521. 9:20:50for data job salary we only have one
  14522. 9:20:53unique ID for each job whereas in the
  14523. 9:20:57data jobs skills we have multiple
  14524. 9:21:01different job IDs or many job IDs now if
  14525. 9:21:05we only had one job ID in there and we
  14526. 9:21:08actually looked that diagram view for
  14527. 9:21:10this relationship we'd have a one to one
  14528. 9:21:12relationship but we have multiple skills
  14529. 9:21:13in there so that's not possible now it's
  14530. 9:21:15also possible to have a basically as to
  14531. 9:21:18ASIS or many to many relationship but
  14532. 9:21:21that causes a mess slows down your data
  14533. 9:21:24model and I don't recommend it so you
  14534. 9:21:25should typically see either a one to one
  14535. 9:21:28or a one to many last little wrap up
  14536. 9:21:30before we actually analyze and use this
  14537. 9:21:32relationship we have the options for
  14538. 9:21:34table properties which we're not going
  14539. 9:21:35to be able to look at because this was
  14540. 9:21:37created the a power query for this
  14541. 9:21:39connection and then we have options to
  14542. 9:21:41create date tables underneath calendars
  14543. 9:21:44which we're going to be exploring in an
  14544. 9:21:45upcoming lesson and like always you have
  14545. 9:21:48a undo and redo anyway let's actually
  14546. 9:21:50get into analyzing and putting this
  14547. 9:21:53actual relationship to the test so what
  14548. 9:21:56we're going to do is inside the Home tab
  14549. 9:21:58go to pivot table CU we're want to
  14550. 9:21:59create a pivot table with this we're
  14551. 9:22:01going to insert a pivot table and we'll
  14552. 9:22:03have it insert into a new worksheet
  14553. 9:22:06selecting inside the pivot table it's
  14554. 9:22:07not having the field list come up so
  14555. 9:22:09I'll select it under pivot table analyze
  14556. 9:22:11anyway we want to query across this
  14557. 9:22:13table to show the power of the
  14558. 9:22:15relationships so what I'm going to do is
  14559. 9:22:17from the data jobs salary table I'm
  14560. 9:22:19going to take that job title short throw
  14561. 9:22:21it into the r those and then from there
  14562. 9:22:24going to come down to the data jobs
  14563. 9:22:27skills table and I'm going to throw the
  14564. 9:22:29job skills into the values it should be
  14565. 9:22:31performing a count and then I'm going to
  14566. 9:22:35organize this real quick from largest to
  14567. 9:22:37smallest and it looks like data
  14568. 9:22:39Engineers have the most so this is
  14569. 9:22:41pretty neat we're able now to query
  14570. 9:22:43across tables going back into that power
  14571. 9:22:46pivot window this connection allows us
  14572. 9:22:48to do that I'm going to just show you
  14573. 9:22:49something real quick by clicking this
  14574. 9:22:52Rel ship right clicking it and deleting
  14575. 9:22:54it want to delete for model and I want
  14576. 9:22:56to show you how these values are
  14577. 9:22:57basically going to change inside our
  14578. 9:22:59pivot table basically to the fact that
  14579. 9:23:02they're going to have it to where
  14580. 9:23:04they're all the same value and that's
  14581. 9:23:06how you know that your relationship is
  14582. 9:23:08not set up correctly whenever you have
  14583. 9:23:10multiple repeating values and you expect
  14584. 9:23:12them not to be anyway sometimes you'll
  14585. 9:23:14see this popup come up of relationships
  14586. 9:23:16between tables may be needed
  14587. 9:23:18autodetect and sometimes it works
  14588. 9:23:21sometimes it doesn't um in this case it
  14589. 9:23:23looked like it worked so we're going to
  14590. 9:23:25go with it and just double- checking it
  14591. 9:23:27in power pivot it is set up
  14592. 9:23:31correctly so for this final analysis
  14593. 9:23:34we're going to be looking at building
  14594. 9:23:36this visualization right here analyzing
  14595. 9:23:38what are the top skills of data nerds
  14596. 9:23:41we're basically remaking what we did in
  14597. 9:23:43the power query chapter now that we have
  14598. 9:23:45that updated data model anyway we're
  14599. 9:23:47going to build this out to see where the
  14600. 9:23:48skills counts for each of these and also
  14601. 9:23:51provide filters for job country so back
  14602. 9:23:54inside the workbook that we're
  14603. 9:23:55previously working with if I would
  14604. 9:23:57actually remember we did make that sort
  14605. 9:23:59of similar visualization that I talked
  14606. 9:24:00about but however if I go to data and
  14607. 9:24:03actually refresh the data it's going to
  14608. 9:24:06give me this error message because once
  14609. 9:24:07again we deleted dat jobs merged anyway
  14610. 9:24:10I thought this was actually going to go
  14611. 9:24:12away it didn't it is not what we want
  14612. 9:24:14we're going to delete this one and then
  14613. 9:24:16we're going to do a little bit of
  14614. 9:24:17cleanup so that one that we created the
  14615. 9:24:19job analysis on I'm going to actually
  14616. 9:24:21just rename that quick to job analysis
  14617. 9:24:25and then now in this new sheet we're
  14618. 9:24:27going to do we're going to name this one
  14619. 9:24:29skill job analysis anyway let's insert a
  14620. 9:24:32pivot table in here so we go to insert
  14621. 9:24:34pivot table and now what we have the
  14622. 9:24:36option for is from data model and it's
  14623. 9:24:40ask if I want to put it in the existing
  14624. 9:24:41worksheet yes I do remember we want to
  14625. 9:24:44analyze the skills and specifically how
  14626. 9:24:47many counts they have associated with it
  14627. 9:24:49or how many jobs they have associated
  14628. 9:24:50with it so I'm put the skills into into
  14629. 9:24:52the rows and then from there I want to
  14630. 9:24:54count how many jobs are associated with
  14631. 9:24:56it so I'm just going to drag that job ID
  14632. 9:24:58into the values right now it's doing a
  14633. 9:25:00sum going click on it go to Value field
  14634. 9:25:02settings change this to count now you
  14635. 9:25:04may be like Luke could we use the job
  14636. 9:25:08skills count and we can which has the
  14637. 9:25:11same exact values but actually closing
  14638. 9:25:13this out and taking out job skills
  14639. 9:25:15you're probably more interested in why
  14640. 9:25:18can't I use something like the job ID
  14641. 9:25:19from the data job salary table well if
  14642. 9:25:22drag that over and then I change this
  14643. 9:25:25value field setting to account count and
  14644. 9:25:28click okay you notice it says
  14645. 9:25:3132672 which is coincidentally the same
  14646. 9:25:34number of rows of that data set and this
  14647. 9:25:36gets into the point of filter Direction
  14648. 9:25:38what do I mean by that let's go back to
  14649. 9:25:40the data model itself looking at it in
  14650. 9:25:42diagram view remember the arrow is
  14651. 9:25:45pointed towards the data job skill table
  14652. 9:25:48right now I have job skills in the rows
  14653. 9:25:51and I'm trying to filter for data job
  14654. 9:25:54salary based on the count of the job IDs
  14655. 9:25:56but the arrow doesn't flow in that
  14656. 9:25:58direction we can't do it now in
  14657. 9:25:59something like powerbi you can actually
  14658. 9:26:01rightclick this edit the relationship
  14659. 9:26:03and change the direction that's not
  14660. 9:26:05possible within Excel unfortunately
  14661. 9:26:08anyway we're going to be using Dax to
  14662. 9:26:09fix this in the future for the time
  14663. 9:26:11being we're just going to go about using
  14664. 9:26:14in this case for this analysis the same
  14665. 9:26:16values in the same table I'm going to
  14666. 9:26:18remove this other job ID from the other
  14667. 9:26:21table anyway we're going to sort these
  14668. 9:26:23values from largest to smallest then
  14669. 9:26:25additionally I only want to show the top
  14670. 9:26:2810 skills so I'll go to Value filters
  14671. 9:26:31and then top one dot dot dot top 10
  14672. 9:26:34items by count of job ID is what I want
  14673. 9:26:37and so now we have this so now we have
  14674. 9:26:39the values we want to visualize I'll go
  14675. 9:26:41in and actually insert a pivot chart for
  14676. 9:26:44this I like the bar because it makes it
  14677. 9:26:46easier to read the different skills that
  14678. 9:26:48it has right there and I'm realizing now
  14679. 9:26:50the sword order is actually back
  14680. 9:26:52backwards in this I want it from
  14681. 9:26:54smallest to largest I'm also going to
  14682. 9:26:56right click and hide all field buttons
  14683. 9:26:58we're also going to be adding access
  14684. 9:26:59titles for the primary horizontal and
  14685. 9:27:01then removing that Legend we'll update
  14686. 9:27:04this title to what are the top skills of
  14687. 9:27:06data nerds and then the y- axis is
  14688. 9:27:09self-explanatory but for the x-axis
  14689. 9:27:12we'll label this skill count in job
  14690. 9:27:14postings okay the last thing we need to
  14691. 9:27:16do now is actually add some slicers to
  14692. 9:27:19this so we can actually control it
  14693. 9:27:20better so selecting the table itself
  14694. 9:27:23going to insert slicers I'm going to
  14695. 9:27:25select the job title short and also we
  14696. 9:27:28want job country right here which each
  14697. 9:27:31of these slicers I'm going to rename
  14698. 9:27:33them also this one job title short I'm
  14699. 9:27:35going to rename to job title and then
  14700. 9:27:37job country I'm going to rename to
  14701. 9:27:40Country now when I go through I can
  14702. 9:27:43actually select something like data
  14703. 9:27:45analyst and it will filter down and
  14704. 9:27:48actually see the associated skills I
  14705. 9:27:51could also do something like like look
  14706. 9:27:52at those in the United States
  14707. 9:27:54specifically for their counts and we see
  14708. 9:27:56that SQL Excel and Tableau are the three
  14709. 9:27:59top skills now you may be scratching
  14710. 9:28:01your head on like okay I thought we were
  14711. 9:28:03trying earlier to actually aggregate
  14712. 9:28:05something in the pivot table and it
  14713. 9:28:06didn't work well remember this arrow is
  14714. 9:28:10pointing to the filter Direction so in
  14715. 9:28:12our case we have a job title short
  14716. 9:28:14slicer because this arrows in the
  14717. 9:28:17direction back to the data job skills
  14718. 9:28:19table we can filter in that direction
  14719. 9:28:22but we cannot conversely filter in the
  14720. 9:28:24other direction that's why we can't get
  14721. 9:28:25the counts from these tables little
  14722. 9:28:27confusing I know but I promise you we
  14723. 9:28:29will work out as we go through this
  14724. 9:28:31entire chapter in power pivot so bam we
  14725. 9:28:35just completed our first analysis for
  14726. 9:28:37our final project we have a few more
  14727. 9:28:39analysis coming up in the next lessons
  14728. 9:28:41you do have some practice problems
  14729. 9:28:43though to go through and get yourself
  14730. 9:28:45more familiar with power pivot and
  14731. 9:28:48understanding what's going on with these
  14732. 9:28:49relationships the one to many and
  14733. 9:28:50whatnot all right with that I'll see you
  14734. 9:28:52in the next one which we're going to do
  14735. 9:28:54a deeper dive on looking into that power
  14736. 9:28:57pivot window that I'll see you
  14737. 9:29:02there all right let's now dive further
  14738. 9:29:05into Power pivot and we're going to be
  14739. 9:29:06focusing on the power pivot window for
  14740. 9:29:08this we're going to be looking at some
  14741. 9:29:10major aspects of it for this we're going
  14742. 9:29:12to get into using a little bit of Dax to
  14743. 9:29:14create our first measure and with those
  14744. 9:29:17measures we're also going to be
  14745. 9:29:19exploring the difference between
  14746. 9:29:20implicit and explicit measures don't
  14747. 9:29:22worry we'll cover that in a bit from
  14748. 9:29:24there we're going to move into a feature
  14749. 9:29:26that's related to measures called
  14750. 9:29:28calculated columns and it's going to
  14751. 9:29:30allow us to inside of our data model
  14752. 9:29:32create different values such in this
  14753. 9:29:35case we can actually create a date colum
  14754. 9:29:38from our date time value the last thing
  14755. 9:29:40we'll explore are date tables which
  14756. 9:29:42power pivot gives with a click of a
  14757. 9:29:44button and allows us to connect these
  14758. 9:29:46data tables of these date tables to our
  14759. 9:29:49original data source and then filter it
  14760. 9:29:51by a lot of different data and so we'll
  14761. 9:29:53wrap this all up with a final analysis
  14762. 9:29:55where we're looking at job postings
  14763. 9:29:57based on a day of week using this date
  14764. 9:30:00table anyway jumping into Excel for this
  14765. 9:30:02we're not going to be using any of the
  14766. 9:30:04work that we've done previously instead
  14767. 9:30:06we're going to open up a completely new
  14768. 9:30:08workbook and be working out of this
  14769. 9:30:10instead and the reason is all the work
  14770. 9:30:13that we're going to be doing within this
  14771. 9:30:14lesson we're not going to be carrying it
  14772. 9:30:16on to our project that we're going using
  14773. 9:30:18this is more this lesson is more to get
  14774. 9:30:20us more familiar with the powers power
  14775. 9:30:22pivot oh gosh this pun's killing me and
  14776. 9:30:25so we'll eventually incorporate some of
  14777. 9:30:26the stuff into our final project but
  14778. 9:30:28like I said we're going to be starting
  14779. 9:30:29with a blank notebook or workbook for
  14780. 9:30:31this as always if you want to see what
  14781. 9:30:32the results are at the end of this
  14782. 9:30:35lesson you can just go to Power pivot
  14783. 9:30:37window and it will have
  14784. 9:30:41it all right so let's actually get some
  14785. 9:30:44data into here to start working with and
  14786. 9:30:46like I said we're not going to use power
  14787. 9:30:48query at all for this we're going to use
  14788. 9:30:49power pivot so I'm going to open up the
  14789. 9:30:51goto to the manage the power pivot data
  14790. 9:30:53model and we want to get this external
  14791. 9:30:55data specifically we want to get that
  14792. 9:30:57Excel workbook that we've been working
  14793. 9:30:59with of data jobs salary all so
  14794. 9:31:02underneath the Home tab I'm going to go
  14795. 9:31:03to get external data and it's going to
  14796. 9:31:05be from other sources we scroll all down
  14797. 9:31:08we could look at how we can import it
  14798. 9:31:09from different databases or whatnot
  14799. 9:31:11we're going to be doing it from an Excel
  14800. 9:31:13file then from there we're going to
  14801. 9:31:15browse the connections navigating into
  14802. 9:31:18that data set folder I'm going select
  14803. 9:31:19data jobs salary all it PR me if I want
  14804. 9:31:22to use the first row as column headers I
  14805. 9:31:24do if I wanted to I could go in and test
  14806. 9:31:26the connection to make sure it's it's
  14807. 9:31:28going to succeed and it does so we'll go
  14808. 9:31:30from there to next it sees that it has
  14809. 9:31:32one sheet within the workbook that's the
  14810. 9:31:34one that I want I'll click finish next
  14811. 9:31:36it'll go through the import looks like
  14812. 9:31:38it completed it has a success got 32,000
  14813. 9:31:40rows I'll click close now let's go
  14814. 9:31:43through and actually clean this data set
  14815. 9:31:46up using power pivot now I know in the
  14816. 9:31:48last lesson I talked about hey we're
  14817. 9:31:51using power query for ETL and that's
  14818. 9:31:53true but let's say you have a quick data
  14819. 9:31:55set you need to connect to and model
  14820. 9:31:57quickly in that case you would do some
  14821. 9:31:59of the stuff that I'm going to do here
  14822. 9:32:01in order to quickly model it if I wanted
  14823. 9:32:03to rename it I'd come down to this
  14824. 9:32:04basically sheet tab down here it's
  14825. 9:32:06called sheet one after where it's at
  14826. 9:32:08I'll rename it and we'll keep a similar
  14827. 9:32:10naming Convention of Jatt jobs salary go
  14828. 9:32:14ahead and click enter so let's say for
  14829. 9:32:15this quick analysis that we're trying to
  14830. 9:32:17do in this lesson I'm trying to analyze
  14831. 9:32:19only the yearly salary data I don't care
  14832. 9:32:21care about the salary uh hourly data and
  14833. 9:32:23I don't even want the data entries in
  14834. 9:32:25here well I can get rid of that salary
  14835. 9:32:28hour average row by just deleting this
  14836. 9:32:30column by right clicking it it's asking
  14837. 9:32:32me if I want to delete it yes and now
  14838. 9:32:34there's still blank values in here right
  14839. 9:32:36so I need to get rid of this salary rate
  14840. 9:32:39values that are equal to hour so I'm
  14841. 9:32:41going to click the filter here unclick
  14842. 9:32:43next to hour and click okay so now we
  14843. 9:32:46have that out the other thing I want to
  14844. 9:32:48do is actually clean up the format of
  14845. 9:32:50the salary and I'm going to change that
  14846. 9:32:52instead to a currency and this talks
  14847. 9:32:55about how the data is going to be a
  14848. 9:32:56changed when where it's stored yeah I
  14849. 9:32:58don't really care about that no doubt
  14850. 9:33:00that I care about will be lost it'll all
  14851. 9:33:02be here still and then I'm going to
  14852. 9:33:04reduce the decimal places by two the
  14853. 9:33:06other thing I can do if I wanted to is
  14854. 9:33:08actually sort this based on that job
  14855. 9:33:10posted date could come up here and sort
  14856. 9:33:13from newest to oldest and then it's in
  14857. 9:33:15order sorry actually want it oldest to
  14858. 9:33:17newest got confused on that one so bam
  14859. 9:33:20just did some quick clean up to our data
  14860. 9:33:22set and now we're ready to proceed
  14861. 9:33:27forward so let's actually get into
  14862. 9:33:29building our first measure or measures
  14863. 9:33:33specifically I want to analyze this to
  14864. 9:33:35understand what are the different the
  14865. 9:33:37the amount of jobs in here and then also
  14866. 9:33:39what is the average and then also more
  14867. 9:33:41importantly the median salary well
  14868. 9:33:44there's a few different ways we can do
  14869. 9:33:45this we're going to do this first within
  14870. 9:33:47this power pivot window so in order to
  14871. 9:33:50do this I'm going to first first I want
  14872. 9:33:52to do a count so we're going to just run
  14873. 9:33:54this on this job title short column and
  14874. 9:33:57here underneath on the Home tab under
  14875. 9:33:59calculations we have this Auto sum I
  14876. 9:34:01don't frequently use this I use it every
  14877. 9:34:03now and then but I can run things on
  14878. 9:34:05this like count or distinct count I'm
  14879. 9:34:07going to do count in this case and this
  14880. 9:34:09is going to create our first measure
  14881. 9:34:11down here remember down below this area
  14882. 9:34:14is our calculation area I can toggle it
  14883. 9:34:16on and off by clicking calculation area
  14884. 9:34:18up here anyway I can also make this
  14885. 9:34:21column slightly bigger and what's cool
  14886. 9:34:23about this keep on scrolling over is now
  14887. 9:34:27it tells us the name of this measure
  14888. 9:34:29count of job tile short and that there's
  14889. 9:34:3122,000 remember there's normally around
  14890. 9:34:3430,000 but because we've taken out that
  14891. 9:34:36hourly data we're down to 22,000 now I
  14892. 9:34:39can also edit this measure if you notice
  14893. 9:34:43it appears right up here similarly they
  14894. 9:34:45have a formula bar in power pivot and to
  14895. 9:34:48the left hand side it tells you what is
  14896. 9:34:51actually selected job title short column
  14897. 9:34:53and then the actual measure itself in
  14898. 9:34:55here now one quick note there is
  14899. 9:34:59basically a colon and then an equal sign
  14900. 9:35:01that's how we're going to know that
  14901. 9:35:03we're doing measures and we'll get to
  14902. 9:35:05calculate columns in a little bit and it
  14903. 9:35:07will only be the equal sign but this is
  14904. 9:35:09Microsoft's way of signifying that this
  14905. 9:35:12we're using a measure so that way you
  14906. 9:35:14don't confuse with anything else anyway
  14907. 9:35:16I can edit this the actual title in this
  14908. 9:35:19case and I can change this something to
  14909. 9:35:21more more descriptive to job count
  14910. 9:35:23pressing enter it now runs it and it's a
  14911. 9:35:26lot shorter additionally if I want to
  14912. 9:35:29actually format it I can have the
  14913. 9:35:31measure selected come up here select
  14914. 9:35:33comma and then it formats it with the
  14915. 9:35:35comma and then I don't want two decimal
  14916. 9:35:37places I'll go ahead and remove it next
  14917. 9:35:39let's get into analyzing that salary
  14918. 9:35:42column with this once again we can click
  14919. 9:35:44this I could use that auto sum and do
  14920. 9:35:46something like average here clicking
  14921. 9:35:48average and below it it generates that
  14922. 9:35:51average
  14923. 9:35:52of salary or average 123,000 and I can
  14924. 9:35:54change it if I want to average salary
  14925. 9:35:57but if I wanted to calculate something
  14926. 9:35:59like the median instead I would have to
  14927. 9:36:02actually manually type out this
  14928. 9:36:03calculation so selecting right below
  14929. 9:36:05average salary and then coming into the
  14930. 9:36:07formula bar I can type in something like
  14931. 9:36:09median salary remember we want to create
  14932. 9:36:12a measure so it's going to be a colon
  14933. 9:36:14and then an equal to and then for this
  14934. 9:36:16we want to use the median function now a
  14935. 9:36:19lot of these functions that are Dax
  14936. 9:36:22functions are very similar to what we
  14937. 9:36:24use in Excel so they have a lot of
  14938. 9:36:25different similarities but with this
  14939. 9:36:28like we talked about before this allows
  14940. 9:36:30us to now put in basically an entire
  14941. 9:36:33column into it and then perform that
  14942. 9:36:35entire aggregation on it in this case I
  14943. 9:36:37want to do it all on salary year average
  14944. 9:36:40making sure I put a close parenthesis to
  14945. 9:36:42close out that function and Bam right
  14946. 9:36:45next to average salary we have this
  14947. 9:36:46median salary now which needs to be
  14948. 9:36:48formatted so I'll format it as English
  14949. 9:36:51United States stes USD and remove the
  14950. 9:36:53decimal places now what happens if I
  14951. 9:36:55didn't enter that colon equal sign so
  14952. 9:36:57here I am selected below median salary
  14953. 9:36:59we'll go ahead and paste in that formula
  14954. 9:37:01and we'll delete that colon I haven't
  14955. 9:37:03run this yet now I'm going to run I'm
  14956. 9:37:04going to press enter and as you notice
  14957. 9:37:06by this it's not actually calculating a
  14958. 9:37:09value it actually just converts this to
  14959. 9:37:12text so this is not what we want that's
  14960. 9:37:14why we have to do the colon equal to
  14961. 9:37:16sign for entering in the formula bar
  14962. 9:37:19there
  14963. 9:37:23so with measures it's important to
  14964. 9:37:24understand implicit vers explicit
  14965. 9:37:27measures so let's close out the power
  14966. 9:37:28pivot window and actually getting into
  14967. 9:37:31exploring these different measures by
  14968. 9:37:33creating a pivot table of that median
  14969. 9:37:35salary we just created so I'm going to
  14970. 9:37:37go to insert pivot table from data model
  14971. 9:37:40we're going to insert it into the
  14972. 9:37:42existing sheet here we have our table of
  14973. 9:37:44data job salary I'm going to analyze the
  14974. 9:37:47salary based on the job title short
  14975. 9:37:49column so I'll put job title short into
  14976. 9:37:51the rows and then look we scroll down at
  14977. 9:37:55the very bottom you'll notice that the
  14978. 9:37:58measures that we created have this F ofx
  14979. 9:38:01basically it shows us an equation that
  14980. 9:38:03it is a measure so I can take these
  14981. 9:38:06measures this median salary and in this
  14982. 9:38:09case drag it into the values and now
  14983. 9:38:11unlike power pivot where it did in that
  14984. 9:38:13same column we're now filtering down to
  14985. 9:38:15do it by well the appropriate job titles
  14986. 9:38:19now we could also do something like drag
  14987. 9:38:21the the job count into the values as
  14988. 9:38:23well and actually see the job count
  14989. 9:38:26there now both of these measures are
  14990. 9:38:29explicit measures because we explicitly
  14991. 9:38:33defined it we despine defined what job
  14992. 9:38:35count is and what median salary is so
  14993. 9:38:38what is an implicit measure well you
  14994. 9:38:40actually created this before so in
  14995. 9:38:43regards to that job count we're doing a
  14996. 9:38:45count of the job title short column if I
  14997. 9:38:48were to drag that down into here you can
  14998. 9:38:50see it says say count of job title short
  14999. 9:38:54this is an implicit measure these are
  15000. 9:38:58great for quick short analysis as we
  15001. 9:39:00demonstrated before you can quickly
  15002. 9:39:02throw something in and generate it and
  15003. 9:39:03you didn't even know your us the
  15004. 9:39:05measures and you were similarly with the
  15005. 9:39:07salary year average if I drag that in
  15006. 9:39:09down here we previously well changing
  15007. 9:39:12this up to actually perform an average
  15008. 9:39:14mov to average from there that was also
  15009. 9:39:17an implicit measure so I think you get
  15010. 9:39:19the point but we're going to see the
  15011. 9:39:22power of this as we go through this when
  15012. 9:39:24we start to make newer measures that are
  15013. 9:39:27actually going to use our explicit
  15014. 9:39:29measures specifically we're going to be
  15015. 9:39:31using our job count in other
  15016. 9:39:34calculations and so these explicit
  15017. 9:39:36measures are going to save our butt and
  15018. 9:39:38save us so much time and ensure we're
  15019. 9:39:40doing the correct
  15020. 9:39:44calculations so let's get into our first
  15021. 9:39:46calculated column and we're going to be
  15022. 9:39:48going back into the power pivot window
  15023. 9:39:51for this we're going to be creating a
  15024. 9:39:54column that will convert the salary year
  15025. 9:39:57average values into Euro values so
  15026. 9:40:02there's a couple ways we can do this or
  15027. 9:40:03add these columns we can go under design
  15028. 9:40:06and right here under columns we can
  15029. 9:40:08click add to add a column additionally
  15030. 9:40:11without that that unselected selecting
  15031. 9:40:13back in into again you see this add
  15032. 9:40:15column up here we can just go right in
  15033. 9:40:17and add a column I feel that's actually
  15034. 9:40:18easier anyway in this case in order to
  15035. 9:40:21get the Euros value of what it is for
  15036. 9:40:24Sal year average we need to multiply by
  15037. 9:40:26a conversion rate so inside of here I'm
  15038. 9:40:29going to put the equal sign and we see
  15039. 9:40:31it's popping up here in the formula bar
  15040. 9:40:33from there I'm going to use the value in
  15041. 9:40:34salary year average I just selected one
  15042. 9:40:37of the values and it popped right in
  15043. 9:40:39then from there similar to how we wrote
  15044. 9:40:42formulas before I'm going to put times
  15045. 9:40:450.9 enter now notice from this one I
  15046. 9:40:48didn't use the colon equal sign right
  15047. 9:40:50because is not a measure it's a
  15048. 9:40:52calculated column and it still knew that
  15049. 9:40:55this was a currency although I don't
  15050. 9:40:57like it it has two decimal places so
  15051. 9:40:59I'll remove it and to me it knows it's a
  15052. 9:41:02currency but it doesn't know that it's a
  15053. 9:41:03Euro so I'm actually going to convert it
  15054. 9:41:05over to Euro and then remove the two
  15055. 9:41:07decimal places additionally I'm going to
  15056. 9:41:08rename this from calculated column one
  15057. 9:41:11to salary year Euro you can identify
  15058. 9:41:15calculated columns because Normal
  15059. 9:41:16columns are green the calculated columns
  15060. 9:41:18are black also if I go to the DI diagram
  15061. 9:41:21view we can see that well you can't
  15062. 9:41:24really tell that we have the calculate
  15063. 9:41:25column C Euro but you can see your
  15064. 9:41:28different measures that you've created
  15065. 9:41:30all right so back to the data view even
  15066. 9:41:32though we have this calculated column we
  15067. 9:41:35could also create a measure on this
  15068. 9:41:38calculated column clicking in the box
  15069. 9:41:40below here and then typing in here I
  15070. 9:41:42could do something like median salary
  15071. 9:41:44Euro and then put in that median
  15072. 9:41:47function for salary year Euro and then
  15073. 9:41:50close the parenthesis and Bam now we
  15074. 9:41:53have it I'm going to spread it out to
  15075. 9:41:54actually see we have the value of €
  15076. 9:41:57103 now going back into here we can take
  15077. 9:42:00this and actually if we wanted to we
  15078. 9:42:02could put the salary year euro into
  15079. 9:42:04there that column it's going to
  15080. 9:42:05aggregate it appropriately right now
  15081. 9:42:07it's doing a sum so if I wanted to I
  15082. 9:42:09could get a average of this of these
  15083. 9:42:13values or we could actually go to that
  15084. 9:42:16measure that we created That explicit
  15085. 9:42:18measure throw it in here and we get the
  15086. 9:42:21explicit value of the median salary
  15087. 9:42:25Euro all right so let's shift our focus
  15088. 9:42:27on this analysis let's say we wanted to
  15089. 9:42:29analyze more around the date
  15090. 9:42:32specifically the day of the weeks for
  15091. 9:42:35when job postings are occurring well
  15092. 9:42:37let's go back into Power pivot and
  15093. 9:42:40manage to open up the power pivot window
  15094. 9:42:42right now investigating our the diagram
  15095. 9:42:44view of our data model we only have one
  15096. 9:42:46table in here data jobs salary well if
  15097. 9:42:50we go under the design tab talked about
  15098. 9:42:52in the last lesson we can actually
  15099. 9:42:56create a date table I could also
  15100. 9:42:59potentially mark this table of do job
  15101. 9:43:01salaries a it's not a date table so we
  15102. 9:43:03actually need to create one and you'll
  15103. 9:43:04see what it looks like after that and
  15104. 9:43:06with that I did click new on this anyway
  15105. 9:43:09it created this new table called
  15106. 9:43:12calendar and expecting all of the
  15107. 9:43:14different values in here well let's
  15108. 9:43:16actually just get out of this view let's
  15109. 9:43:18actually go to the data view one which
  15110. 9:43:21is pretty cool with it with it what it
  15111. 9:43:24created it created it based on the dates
  15112. 9:43:26it knew what was in our original table
  15113. 9:43:28so from the first of 2023 all the way to
  15114. 9:43:31the last day of 2023 and with this it
  15115. 9:43:34has a year column month day of week and
  15116. 9:43:38day of week number so a lot of great
  15117. 9:43:40values from it now we need to actually
  15118. 9:43:42connect these two there's no
  15119. 9:43:44relationship between the two if we go to
  15120. 9:43:47that data jobs salary so selecting it
  15121. 9:43:50here here we only have this job posted
  15122. 9:43:53date column which is a date and a time
  15123. 9:43:57so we need only a date so because this
  15124. 9:43:59column is named inappropriately I'm
  15125. 9:44:01going to change it to J job posted date
  15126. 9:44:04time so now let's create that new column
  15127. 9:44:06with that job posted date time this time
  15128. 9:44:08though instead of clicking add column
  15129. 9:44:09we're going to go to insert function and
  15130. 9:44:12this is pretty neat because it allows us
  15131. 9:44:14to actually look under different things
  15132. 9:44:16in this case we wanted sort of a text
  15133. 9:44:18function and we can look and explore
  15134. 9:44:20different one specifically I know we
  15135. 9:44:22want this one a format converts a value
  15136. 9:44:24and text to the specified number format
  15137. 9:44:27so I'm going to click okay and it
  15138. 9:44:29automatically fills it in with this
  15139. 9:44:31colon and equal sign of format equal to
  15140. 9:44:34from there I'll select the job posted
  15141. 9:44:36date time column that's the value and
  15142. 9:44:39then what do we want for the format well
  15143. 9:44:41I know we want in the format of
  15144. 9:44:43basically the year first then two months
  15145. 9:44:46or two M's and then two D's for month
  15146. 9:44:48and date in order to match close that
  15147. 9:44:51double quote because that's the actual
  15148. 9:44:53format we're using that's all we need so
  15149. 9:44:56we'll close the parentheses and press
  15150. 9:44:58enter and then I'm going to take this
  15151. 9:45:00calculated column one drag it over here
  15152. 9:45:03and then I can see that it did convert
  15153. 9:45:04it correctly so I'm also going to go now
  15154. 9:45:06and rename this appropriately to job
  15155. 9:45:09posted date press enter so now let's
  15156. 9:45:12create a relationship between the two
  15157. 9:45:14remember we can go to that diagram view
  15158. 9:45:16or I can use this of create relationship
  15159. 9:45:19go to calendar to match on the date
  15160. 9:45:21itself let's see what it looks like in
  15161. 9:45:24that actual diagram view we always want
  15162. 9:45:26to inspect it to make sure we have this
  15163. 9:45:28right one to many or one to one anytime
  15164. 9:45:31we have many to many you need to start
  15165. 9:45:33questioning it depending on what the
  15166. 9:45:35data is anyway we now have a
  15167. 9:45:38relationship established with
  15168. 9:45:42this so let's actually get into
  15169. 9:45:45analyzing this with our calendar based
  15170. 9:45:48on this day of the week and seeing what
  15171. 9:45:50is the prop portion that they're turning
  15172. 9:45:52out during the week for job postings so
  15173. 9:45:55closing out the power pivot window I'm
  15174. 9:45:56going to go in and create a new sheet
  15175. 9:45:59from there I'm going to go go insert
  15176. 9:46:01pivot table from data model we're going
  15177. 9:46:03to do it in the existing worksheet
  15178. 9:46:05underneath calendar Underneath more
  15179. 9:46:08Fields I'm going to drag in day of week
  15180. 9:46:11into the rows so it has Sunday all the
  15181. 9:46:14way to Saturday then from there remember
  15182. 9:46:16we created that job count already so I'm
  15183. 9:46:19going to take that and drag that into
  15184. 9:46:21the values so looking at this I can see
  15185. 9:46:25that I think our relationship is not set
  15186. 9:46:28up properly cuz we have basically the
  15187. 9:46:29blanks at 32,000 I think I know what's
  15188. 9:46:32going on with this let's go back into
  15189. 9:46:34the power pivot window in calendar when
  15190. 9:46:36we select the date it's of the time data
  15191. 9:46:39type date it also has this format of
  15192. 9:46:41date and time I don't that really
  15193. 9:46:43matters too much but if we go into Data
  15194. 9:46:44job salary and we go to that job post to
  15195. 9:46:47date because we use that format function
  15196. 9:46:50right now the data type is auto of text
  15197. 9:46:54we need it to be of date and this now
  15198. 9:46:58looks a lot more similar to what does on
  15199. 9:47:01the calendar now when I close out of
  15200. 9:47:03this bam all the values pop up here so
  15201. 9:47:07don't forget about your data types and
  15202. 9:47:08making sure they're match within the
  15203. 9:47:10data model so let's actually visualize
  15204. 9:47:12this by inserting a pivot chart and Bam
  15205. 9:47:15we get this bad boy which we'll rename
  15206. 9:47:17to to when are most jobs posted during
  15207. 9:47:20the week and it looks like we have well
  15208. 9:47:22on Saturday Sunday or the lowest
  15209. 9:47:24obviously during the week it's the
  15210. 9:47:25highest with a basically a higher amount
  15211. 9:47:27on Wednesday so pretty cool analysis
  15212. 9:47:30that we were able to do based on the day
  15213. 9:47:33of the week we didn't have to create any
  15214. 9:47:35additional things and additionally we
  15215. 9:47:38can evaluate based on this calendar
  15216. 9:47:40table created we can do other analysis
  15217. 9:47:42such as by the year month day of the
  15218. 9:47:45week and whatnot all right so that's a
  15219. 9:47:47brief intro into measures and also
  15220. 9:47:50calculated columns don't worry too much
  15221. 9:47:53if you're not feeling too confident with
  15222. 9:47:55them just yet as one you have some
  15223. 9:47:57practice problems to go through to get
  15224. 9:47:58more familiar with it but the next
  15225. 9:48:00lesson will be and the next two lessons
  15226. 9:48:02will be on Dax and Dax advance in order
  15227. 9:48:05to explore different formulas that you
  15228. 9:48:07can also use inside of your measures and
  15229. 9:48:10also calculated columns all right with
  15230. 9:48:13that I'll see you in the next one where
  15231. 9:48:15we're getting into deck see you there
  15232. 9:48:21welcome to this lesson on Dax or data
  15233. 9:48:24analytical Expressions we' used it a few
  15234. 9:48:26times before in the previous lesson but
  15235. 9:48:29now we're going to go much more in depth
  15236. 9:48:31and actually understanding the basics of
  15237. 9:48:33it now as we've learned Dax can be used
  15238. 9:48:35within measures or even calculated
  15239. 9:48:38columns for the purpose of what we we
  15240. 9:48:40going through in the project we're not
  15241. 9:48:42going to create any calculated columns
  15242. 9:48:44but we will be using it for measures for
  15243. 9:48:47this we're going to be focusing on three
  15244. 9:48:48major types of functions in this lesson
  15245. 9:48:51specifically around aggregation
  15246. 9:48:53statistics and also filter these
  15247. 9:48:55functions you're going to notice are
  15248. 9:48:57very similar to your Excel functions
  15249. 9:49:00that we did back in Chapter 2 so a lot
  15250. 9:49:03of those similarities and concept we've
  15251. 9:49:05learned already are going to be able to
  15252. 9:49:06be applied to this so we'll be able to
  15253. 9:49:08move pretty quick now we're going to be
  15254. 9:49:09answering two major questions regarding
  15255. 9:49:12our final project the first one involves
  15256. 9:49:15calculating the number of skills
  15257. 9:49:18required per job title we're going to
  15258. 9:49:21use Dax in order to calculate this and
  15259. 9:49:23then we're even going to go on to
  15260. 9:49:25actually graph this to show how it
  15261. 9:49:28correlates with median salary spoil
  15262. 9:49:31alert the more skills you have the
  15263. 9:49:33higher median salary you can expect from
  15264. 9:49:35there we're going to go into a deeper
  15265. 9:49:37analysis of salar specifically looking
  15266. 9:49:39at the median salary and specifically
  15267. 9:49:42being able to compare it from your home
  15268. 9:49:45country to the US and also non us
  15269. 9:49:48countries so we're going to use filter
  15270. 9:49:50function in order to be able to view
  15271. 9:49:52these things within a pivot table now
  15272. 9:49:54jumping right into Excel for this you
  15273. 9:49:57can continue working in the Excel file
  15274. 9:49:59that you have from that first lesson on
  15275. 9:50:02power pivot intro where we created this
  15276. 9:50:05visualization right here which analyzes
  15277. 9:50:07top skills of data nerds and has some
  15278. 9:50:08filters for job title and Country if you
  15279. 9:50:11don't happen to have that file anymore
  15280. 9:50:12or you got lost along the way you can
  15281. 9:50:14just use the power pivot intro part two
  15282. 9:50:17file and you can start from there now if
  15283. 9:50:19you're loading it via the power pivot
  15284. 9:50:21intro part two file you're going to have
  15285. 9:50:23two sheets in there one skill job
  15286. 9:50:25analysis and then also the skill
  15287. 9:50:27analysis we're not actually going to be
  15288. 9:50:28using the skill analysis so you can feel
  15289. 9:50:30free to delete this or conversely if
  15290. 9:50:33you're working from the files that
  15291. 9:50:35you've been building up during this and
  15292. 9:50:37didn't necessarily load from the power
  15293. 9:50:39pivot intro part two file you may have
  15294. 9:50:41multiple tabs in there once again I only
  15295. 9:50:44care about this skill jobs analysis
  15296. 9:50:46where we have this this is what we're
  15297. 9:50:47going to keep for the final project the
  15298. 9:50:49job analysis and and also this other one
  15299. 9:50:51that we created back in the power query
  15300. 9:50:54lesson we're actually going to be
  15301. 9:50:55recreating it with power pivot so both
  15302. 9:50:58of these I can just delete or anything
  15303. 9:51:00else you have in there you can f it free
  15304. 9:51:01to delete after holding control and
  15305. 9:51:03selecting both of those I'm just going
  15306. 9:51:04to delete
  15307. 9:51:08them all right so we're going to be
  15308. 9:51:09looking at aggregation functions first
  15309. 9:51:12conveniently Microsoft has some
  15310. 9:51:13documentation around the Dax functions
  15311. 9:51:16and also statements that they have so
  15312. 9:51:18I'm going to dive right into the link
  15313. 9:51:20that's provided on the screen underneath
  15314. 9:51:22Dax functions specifically I'm going to
  15315. 9:51:24go into the aggregation functions they
  15316. 9:51:27have this page here on aggregation
  15317. 9:51:29functions overview and it shows a lot of
  15318. 9:51:32the different functions they have for
  15319. 9:51:33this average count Max Min sum let's
  15320. 9:51:36look at count real quick count is pretty
  15321. 9:51:39simple all we're going to do is use the
  15322. 9:51:41following syntax count and inside of it
  15323. 9:51:44you provide a column and for this it
  15324. 9:51:46says Hey the column that contains the
  15325. 9:51:48values to be counted so pretty simple
  15326. 9:51:51function to use similarly we have
  15327. 9:51:53distinct count which has the similar
  15328. 9:51:56syntax of you provide distinct count and
  15329. 9:51:58the column and the column that contains
  15330. 9:51:59the values counted and it will return
  15331. 9:52:02the number of distinct values in columns
  15332. 9:52:04we're going to use this so what we're
  15333. 9:52:06going to be calculating with those
  15334. 9:52:08functions that we just went over is
  15335. 9:52:10trying to find out how many skills per
  15336. 9:52:13job we're going to first go through
  15337. 9:52:14based on a job title and find not only
  15338. 9:52:16the skill count but also the job count
  15339. 9:52:19and then we're going to take both these
  15340. 9:52:20values and divide them to get the skills
  15341. 9:52:24per job so I'm going to create a new
  15342. 9:52:25sheet for this and inside of here I'm
  15343. 9:52:28going to insert in a pivot table from
  15344. 9:52:30our data model we're going to do in the
  15345. 9:52:32existing worksheet for the rows we're
  15346. 9:52:34going to go through the do data job
  15347. 9:52:36salary table and we're going to put that
  15348. 9:52:37job title short into the rows and then
  15349. 9:52:40now we need the skill count remember we
  15350. 9:52:44could go in and do something and create
  15351. 9:52:46an implicit measure by throwing job
  15352. 9:52:48skills and the values we want an
  15353. 9:52:50explicit measure because we're actually
  15354. 9:52:52going to be using the skill count in a
  15355. 9:52:54later calculation to find that skill for
  15356. 9:52:56job anyway how do we do this well we can
  15357. 9:52:57also not only create a measure by going
  15358. 9:52:59to power pivot and underneath here going
  15359. 9:53:01to new measure you can also just select
  15360. 9:53:04in here which table you want to use in
  15361. 9:53:06this case I'm doing a skill count so I
  15362. 9:53:08want to contain it in the data jobs
  15363. 9:53:10skills table doesn't really matter which
  15364. 9:53:12table I'll put it in but I just go by my
  15365. 9:53:14memory of which one I'm going to know to
  15366. 9:53:16go look at for which in there it auto
  15367. 9:53:18selects that table of data jobs skills
  15368. 9:53:21the measure name is going to be skill
  15369. 9:53:23count and then for the formula itself we
  15370. 9:53:26want to do a count of the job skills
  15371. 9:53:29column from the job skills table make
  15372. 9:53:32sure it's not from the job salary table
  15373. 9:53:34okay I'm going to put a closing
  15374. 9:53:35parenthesis on this and then for this we
  15375. 9:53:37do want to format it to use a th
  15376. 9:53:40separator and zero click okay and now in
  15377. 9:53:42the data job skills table we have this
  15378. 9:53:45explicit measure can drag it right next
  15379. 9:53:47to it same values are getting created as
  15380. 9:53:49the implicit measure so I'm going to
  15381. 9:53:51take out that implicit measure next
  15382. 9:53:53thing you want to calculate is that job
  15383. 9:53:55count we're going to be counting it
  15384. 9:53:57based on the distinct values of the job
  15385. 9:53:59ID so I'm going go to add measure we're
  15386. 9:54:01going to call this one job count and
  15387. 9:54:03we'll do a distinct count of we want to
  15388. 9:54:06do it of the job ID column and for this
  15389. 9:54:09one we want to make sure that we're
  15390. 9:54:10actually doing it from the salary or
  15391. 9:54:12data jobs salary table because this has
  15392. 9:54:15all the job IDs in it once again we're
  15393. 9:54:17going to format as a number with 1,000
  15394. 9:54:19separator and click okay and then I'm
  15395. 9:54:21going to drag at the bottom the measure
  15396. 9:54:23is going to appear I'm going to drag it
  15397. 9:54:24into here so now we want to get how many
  15398. 9:54:27skills per job so we want to take the
  15399. 9:54:29skill count column and divide it by the
  15400. 9:54:32job count column this one doesn't really
  15401. 9:54:34matter too much because it contains both
  15402. 9:54:36of them but I'm going to put this in the
  15403. 9:54:37data jobs skills table I'm going to call
  15404. 9:54:40this skills per job now what's great
  15405. 9:54:44about these explicit measures that we
  15406. 9:54:46just created is I can go hey I want to
  15407. 9:54:48do this skill count and I want to divide
  15408. 9:54:50divided by the job count and it's right
  15409. 9:54:53there so you don't have to necessarily
  15410. 9:54:55write out every single time okay I want
  15411. 9:54:57to do a count of the job skills column
  15412. 9:55:00and then divided by a count of the job
  15413. 9:55:03ID column which actually needs to be a
  15414. 9:55:06distinct count anyway this is where we
  15415. 9:55:07run into errors that's why the explicit
  15416. 9:55:09meas are so measures are so great all
  15417. 9:55:11right so I have skill count divided by
  15418. 9:55:12job count I'm going to create it as a
  15419. 9:55:13number and I want one decimal place for
  15420. 9:55:16this go ahead and click okay and then
  15421. 9:55:19we're going to add this skills per job
  15422. 9:55:20two here now I'm actually going to
  15423. 9:55:22recommend although we just use the
  15424. 9:55:24division sign I'm going to actually
  15425. 9:55:26recommend this divide function with it
  15426. 9:55:28which is a ma math function and what
  15427. 9:55:30would you do in this case is you would
  15428. 9:55:32provide divide and you list a numerator
  15429. 9:55:35and a denominator and the reason why I
  15430. 9:55:37like this is because it fixes any type
  15431. 9:55:41or catches any error specifically it
  15432. 9:55:43performs Division and returns alternate
  15433. 9:55:45results or or blank on division by zero
  15434. 9:55:49so we're not going to necessar error out
  15435. 9:55:51if we have a division by Z zero issue
  15436. 9:55:53and you can actually provide as shown
  15437. 9:55:55down here in the alternate result the
  15438. 9:55:57value return When division by zero
  15439. 9:55:59results in an error so you could
  15440. 9:56:00actually catch that any so I'm go going
  15441. 9:56:02to go back into that skills per job and
  15442. 9:56:05I'm going to go to edit measure I'm
  15443. 9:56:06going to change this to divide specify
  15444. 9:56:09the first and second parameter with a
  15445. 9:56:11comma and then click okay okay overall
  15446. 9:56:15no real change here but just a best
  15447. 9:56:17practice to know about
  15448. 9:56:21so now with this skills per job I want
  15449. 9:56:24to actually get in and comparing this to
  15450. 9:56:26median salary this is what we're going
  15451. 9:56:27to be building right here we're going to
  15452. 9:56:29be comparing it to median salary and
  15453. 9:56:31then graphing it in a scatter chart in
  15454. 9:56:33order to see how these different job
  15455. 9:56:35titles correlate to each other so first
  15456. 9:56:37so to know what the final analysis is
  15457. 9:56:39going to be of this I'm going to rename
  15458. 9:56:41this sheet appropriately specifically
  15459. 9:56:43calling it salary vers skills and this
  15460. 9:56:47pivot table here we don't need
  15461. 9:56:48necessarily the skill count or the job
  15462. 9:56:50count we just need the skills per job
  15463. 9:56:53okay we're going to calculate now the
  15464. 9:56:54median salary and median is a
  15465. 9:56:57statistical function which is
  15466. 9:56:59encountered underneath here but there's
  15467. 9:57:01a lot of different options underneath
  15468. 9:57:03here such as Med median finding the
  15469. 9:57:05different percentiles like we did back
  15470. 9:57:06in the formulas looking at things like
  15471. 9:57:09standard deviation and whatnot so a lot
  15472. 9:57:11of good statistical functions that you
  15473. 9:57:12have access to Via Dax so for this
  15474. 9:57:15measure I'm just going to come up here
  15475. 9:57:16to power pivot go under measures and
  15476. 9:57:17select new measure I do want this in the
  15477. 9:57:19data job salary table and we're going to
  15478. 9:57:22call this median salary for this we're
  15479. 9:57:24going to be using the median function
  15480. 9:57:27and we need to provide it a column
  15481. 9:57:29specifically that salary year average
  15482. 9:57:32value for formatting we're going to
  15483. 9:57:34format it as a currency with zero
  15484. 9:57:36decimal places since it's a salary so
  15485. 9:57:38now we have median salary here I
  15486. 9:57:40actually want it to appear on the Y AIS
  15487. 9:57:43so I'm going to throw it over here on
  15488. 9:57:45the First Column so now we have the
  15489. 9:57:47median salary and skills per job I'm
  15490. 9:57:49just going to rate these or sort these
  15491. 9:57:51from highest to lowest to see if I can
  15492. 9:57:54see visually if there's anything going
  15493. 9:57:56on with a correlation right now I am
  15494. 9:57:58seeing some higher skills than uh with a
  15495. 9:58:01higher salary but let's actually
  15496. 9:58:03visualize this so I'm going to insert
  15497. 9:58:05pivot chart and select PIV pivot chart
  15498. 9:58:08for this we want to enter a scatter plot
  15499. 9:58:12and if you remember back from our charts
  15500. 9:58:13lecture we're going to have issues with
  15501. 9:58:15this you can't create this chart with
  15502. 9:58:17the data inside the pivot table doesn't
  15503. 9:58:19natively support creating Scatter Plots
  15504. 9:58:22kind of annoying if you ask me anyway
  15505. 9:58:24let's X out of this and for this what
  15506. 9:58:26we're going to do is we're just going to
  15507. 9:58:28set this area starting up here we're
  15508. 9:58:30going to set it equal to this entire
  15509. 9:58:33table right here I'm not going to
  15510. 9:58:35capture the grand total at the bottom
  15511. 9:58:37because we're not going to be plotting
  15512. 9:58:38that now with these values I'm going to
  15513. 9:58:40select the contents in that this column
  15514. 9:58:42f and g and then from there go insert a
  15515. 9:58:45scatter plot specifically this one right
  15516. 9:58:48here I can see it already looks pretty
  15517. 9:58:49good you can't actually add the data
  15518. 9:58:51labels in whenever you create this chart
  15519. 9:58:53we actually have to go about doing that
  15520. 9:58:55somewhat manually specifically we have
  15521. 9:58:57to select on the data points and then
  15522. 9:58:59rightclick it and we have to select add
  15523. 9:59:02data labels okay now it's giving us
  15524. 9:59:05points which bar which actually
  15525. 9:59:07correlate to the skills per job point
  15526. 9:59:09it's not what we want we want to include
  15527. 9:59:11the job title we're going to add that so
  15528. 9:59:13we're going to do is select one of those
  15529. 9:59:15values and just rightclick it and then
  15530. 9:59:17from there select format data labels
  15531. 9:59:20then the pane's going to open up on the
  15532. 9:59:21right hand side and it should pop you up
  15533. 9:59:24underneath label options label options
  15534. 9:59:26then this label options and right now we
  15535. 9:59:28have this y value selected that's not
  15536. 9:59:30what we want we want value from cell and
  15537. 9:59:33it says Hey select the data label range
  15538. 9:59:36what we want is right here all the way
  15539. 9:59:38going down it's hidden behind here I'm
  15540. 9:59:40going to sort of guess but I know it
  15541. 9:59:42goes down to E11 click okay and
  15542. 9:59:44scrolling it over bam we got all those
  15543. 9:59:46data labels on there now all right so
  15544. 9:59:49now we need to clean this bad boy up
  15545. 9:59:51because well it's a hot mess that is all
  15546. 9:59:53up in the upper right hand quadrant
  15547. 9:59:55labels are overlapping we're going to
  15548. 9:59:57fix all of this first thing is I'm going
  15549. 9:59:58to correct the axises so I'm going to
  15550. 10:00:01click on the y or click on the x axis
  15551. 10:00:04and it should go immediately to this
  15552. 10:00:05minimum axis underneath access options
  15553. 10:00:08and I can see the first value stops
  15554. 10:00:10around or begins around 880,000 so I'm
  15555. 10:00:13going to change this to that and press
  15556. 10:00:15enter okay similarly I'm going to select
  15557. 10:00:18the Y AIS and if doesn't go to it should
  15558. 10:00:20be under access options inside that
  15559. 10:00:22format access Pane and I'm going to
  15560. 10:00:24select this first value that I want to
  15561. 10:00:26go to is three I'll leave the default of
  15562. 10:00:28nine there next thing is we need some
  15563. 10:00:31axis labels for the y axis we'll call
  15564. 10:00:34this average skills requested for the
  15565. 10:00:36x-axis we'll call this median salary and
  15566. 10:00:38we'll specify the units of USD speaking
  15567. 10:00:40of which this is not formatted correctly
  15568. 10:00:43for how we want the numbers so under
  15569. 10:00:46that format access pane under access
  15570. 10:00:47options and under access opt options
  15571. 10:00:50again under number we can go to the
  15572. 10:00:53custom option specifically you should
  15573. 10:00:55have this type hopefully appearing up if
  15574. 10:00:58not you can just enter it into this
  15575. 10:00:59format code below and then press enter
  15576. 10:01:02all right the last two things to do is
  15577. 10:01:04rename the title naming it do more
  15578. 10:01:06skills equal more money for data nerds
  15579. 10:01:09which from this chart it looks like it
  15580. 10:01:11does and we can actually confirm this if
  15581. 10:01:14we want by adding a trend line now
  15582. 10:01:16there's different options here for trend
  15583. 10:01:18lines we've going over linear
  15584. 10:01:19exponential IAL linear forecast I feel
  15585. 10:01:22linear best meets this need here also
  15586. 10:01:24like the coloring aspect of it so we're
  15587. 10:01:26going to go with that all right the last
  15588. 10:01:27thing to do is just fix some of these
  15589. 10:01:29names on here so right now we have the
  15590. 10:01:33data La labels appearing to the right of
  15591. 10:01:36the data point and in cases where it's
  15592. 10:01:39close so data senior data scientist it's
  15593. 10:01:42too close to the edge and so it's just
  15594. 10:01:44sort of over the top of it anyway what
  15595. 10:01:46you can do is actually select it twice
  15596. 10:01:48so click it twice then you can drag and
  15597. 10:01:51drop it and it should have these arrows
  15598. 10:01:55or these connectors that connect the
  15599. 10:01:56name to where it goes to all right so
  15600. 10:01:59now we have our final
  15601. 10:02:02visualization and I'd say it's not too
  15602. 10:02:05bad some things I'm noticing about this
  15603. 10:02:08some correlation if you notice yes we do
  15604. 10:02:11see the average skills requested are
  15605. 10:02:13going up with the salary but those jobs
  15606. 10:02:18I mean if you you can pretty much see it
  15607. 10:02:19they div iding line those jobs that end
  15608. 10:02:21an engineer Vice analyst or scientist
  15609. 10:02:24are commanding or requesting more skills
  15610. 10:02:27but yet have sort of a similar pay to
  15611. 10:02:31their data analyst or scientist
  15612. 10:02:33counterparts so I don't know I guess it
  15613. 10:02:35kind of pays to be a data analyst and
  15614. 10:02:37not a data engineer don't tell my data
  15615. 10:02:39engineer friends I said
  15616. 10:02:43that all right last analysis we're going
  15617. 10:02:45to get into is using filters to actually
  15618. 10:02:50aggregate so in this case right here
  15619. 10:02:51we're showing what we're going to get to
  15620. 10:02:53the final thing of based on a job title
  15621. 10:02:56short value what is the median salary in
  15622. 10:02:59this first column for the us then what
  15623. 10:03:02is the median salary for non us and then
  15624. 10:03:06finally that final column of median
  15625. 10:03:08salary what is the median salary of in
  15626. 10:03:11this case the selected column is uh
  15627. 10:03:13Argentina it's filter down basically I
  15628. 10:03:16call this filter function we're going to
  15629. 10:03:17go over but we're going to be
  15630. 10:03:18calculating or figure out how to prevent
  15631. 10:03:21filters from affecting a visualization
  15632. 10:03:23so we can get core values what we may
  15633. 10:03:26want so we're going to create a new
  15634. 10:03:28sheet and I'm going to call this salary
  15635. 10:03:30analysis like before we're going to
  15636. 10:03:32insert a pivot table from our data model
  15637. 10:03:34insert it into this new sheet and we're
  15638. 10:03:36going to be putting that job title short
  15639. 10:03:38into the rows now we're obviously with
  15640. 10:03:41this going to be calculating median
  15641. 10:03:42salary so I'm going to go ahead and just
  15642. 10:03:44drag that into the values to start
  15643. 10:03:46getting those median salaries
  15644. 10:03:47additionally we're going to want to
  15645. 10:03:48include a Slicer in here so based on the
  15646. 10:03:52job country so I'm going to insert
  15647. 10:03:53slicer on job country click okay and
  15648. 10:03:57then with this we can actually see if we
  15649. 10:03:59select something like Argentina it's
  15650. 10:04:01going to filter down to what it is or
  15651. 10:04:04what the salary median salary is in
  15652. 10:04:06Argentina but remember we're trying to
  15653. 10:04:08add two columns to this so we can
  15654. 10:04:10compare these values of something like
  15655. 10:04:11Argentina to us salaries and maybe non
  15656. 10:04:15us salaries so basically countries
  15657. 10:04:17outside the US anyway we're going to be
  15658. 10:04:19using filter functions for this and for
  15659. 10:04:22warning on this it says it here the
  15660. 10:04:24filter and value functions in Dax are
  15661. 10:04:26some of the most complex powerful and
  15662. 10:04:29differ greatly from Excel functions so
  15663. 10:04:31there's going to be a little bit of
  15664. 10:04:32complexity here in understanding this
  15665. 10:04:34and for this filter function we're going
  15666. 10:04:36to be using this one on calculate and
  15667. 10:04:39what it does is it evaluates an
  15668. 10:04:41expression in a modified filter context
  15669. 10:04:45calculate is pretty simple in my opinion
  15670. 10:04:47first you provide an expression so such
  15671. 10:04:49as hey perform a count of this column or
  15672. 10:04:51a median of this column from there you
  15673. 10:04:54provide a filter or filters and as it
  15674. 10:04:57states below here filters can be Boolean
  15675. 10:05:00filter Expressions table filter or
  15676. 10:05:01filter modification functions main thing
  15677. 10:05:03is here we're going to use things like
  15678. 10:05:06logical operators in order to compare
  15679. 10:05:08this to maybe a certain value we're
  15680. 10:05:10going to expect so let's jump into
  15681. 10:05:13creating our first one with median
  15682. 10:05:15salary evaluating for median salary in
  15683. 10:05:18the United States
  15684. 10:05:20so I want to create this measure inside
  15685. 10:05:22of our data job salary column sorry data
  15686. 10:05:24job salary table and for this we're
  15687. 10:05:27going to call it median salary us we're
  15688. 10:05:31going to be using the calculate function
  15689. 10:05:33for this and inside of here we're going
  15690. 10:05:35to insert the ex an expression so in our
  15691. 10:05:38case the expression is the median of the
  15692. 10:05:41salary year average column and what
  15693. 10:05:45we're going to do actually I'm just
  15694. 10:05:46going to leave this is cuz filter is
  15695. 10:05:48optional we can tell filter is optional
  15696. 10:05:49based on the square brackets around it
  15697. 10:05:51I'm going to just close out this
  15698. 10:05:53calculate function change this to a
  15699. 10:05:55format of currency with zero decimal
  15700. 10:05:57places and then from there take that
  15701. 10:05:59median salary us and actually drag it
  15702. 10:06:01onto here so right now calculate is
  15703. 10:06:03working by calculating the median salary
  15704. 10:06:07and there's no filters applied to it so
  15705. 10:06:09pretty simple so let's go in and
  15706. 10:06:11actually edit this measure now now
  15707. 10:06:13remember we have an explicit measure of
  15708. 10:06:15median salary so I actually don't even
  15709. 10:06:18need to Define it like I did here I can
  15710. 10:06:21actually just call out median salary in
  15711. 10:06:23this case kicking okay still the same
  15712. 10:06:26value going back in and actually editing
  15713. 10:06:28it we now want to apply a filter
  15714. 10:06:32specifically for this filter we want to
  15715. 10:06:35make sure that the job country column is
  15716. 10:06:38equal to United States so I'm going to
  15717. 10:06:41type in job country and we can use
  15718. 10:06:44logical operators so I'm going to use an
  15719. 10:06:46equal sign right next to this and I'm
  15720. 10:06:48going to specify United States need make
  15721. 10:06:51sure it's spelled exactly right I know
  15722. 10:06:53it's that via the column okay so now
  15723. 10:06:56we're going to leave everything out El
  15724. 10:06:57as is click okay and Bam now it has the
  15725. 10:07:02median salary filtered by the US and I
  15726. 10:07:05can confirm this by scrolling down to
  15727. 10:07:07the United States clicking United States
  15728. 10:07:10and seeing that these values are the
  15729. 10:07:11same but no matter what I actually click
  15730. 10:07:14the United States median salary is going
  15731. 10:07:16to stay the same additionally if you
  15732. 10:07:19noticed here when I click on something
  15733. 10:07:20like the US virsion Islands would am I
  15734. 10:07:22moveing there they only have four job
  15735. 10:07:25titles available so because of that they
  15736. 10:07:28just filter this table down to only show
  15737. 10:07:31those four that are applicable it along
  15738. 10:07:33with their applicable salaries in median
  15739. 10:07:35salary in the US so now let's calculate
  15740. 10:07:38the median salary for non us countries
  15741. 10:07:40and actually see how they differ so come
  15742. 10:07:42into D job salary select add measure for
  15743. 10:07:45this we're going to be using non us
  15744. 10:07:47values once again we want to use that
  15745. 10:07:48calculate fun function on the median
  15746. 10:07:51salary measure that we created and for
  15747. 10:07:54this one we're still evaluating the job
  15748. 10:07:58country but we want it not equal to so
  15749. 10:08:00we're going to use basically a less than
  15750. 10:08:02and greater than sign right next to each
  15751. 10:08:03other say not equal to and we'll say
  15752. 10:08:06United States we're going to format this
  15753. 10:08:08as a currency with zero decimal places
  15754. 10:08:10click okay and then add this bad boy to
  15755. 10:08:13the values and I want to actually see a
  15756. 10:08:16country with more job postings in it so
  15757. 10:08:19we'll go to something like Australia and
  15758. 10:08:21now something like Australia we can see
  15759. 10:08:24one comparing us to non Us in general
  15760. 10:08:27the US well except for data Engineers
  15761. 10:08:30yeah it looks like only data Engineers
  15762. 10:08:32are the lowest one in another country
  15763. 10:08:33everything else is higher in the US but
  15764. 10:08:35now we can with this one compare hey
  15765. 10:08:38what does it look like something like
  15766. 10:08:39Australia compared to us and non us
  15767. 10:08:42countries so super useful in actually
  15768. 10:08:44filtering down providing the right
  15769. 10:08:46context for what we want to look at so
  15770. 10:08:48as a data analyst median salary is
  15771. 10:08:50around 100,000 Which is higher than us
  15772. 10:08:53and also any other non us median salary
  15773. 10:08:55so may have to move to Australia one
  15774. 10:08:58last clean up right quick slicer itself
  15775. 10:09:00I don't like it to say job country we're
  15776. 10:09:02going to name this to country all right
  15777. 10:09:04now wrap up the analysis for this all
  15778. 10:09:07right so you now have some practice
  15779. 10:09:08problems to go through and test out
  15780. 10:09:10these different Dax functions that we
  15781. 10:09:12just went through along with some others
  15782. 10:09:14now in this lesson we just did some
  15783. 10:09:15basic dacks in the next one we're going
  15784. 10:09:17to be moving into some more advanced
  15785. 10:09:19Stacks features that I do find myself
  15786. 10:09:21using from time to time but overall most
  15787. 10:09:24of the stuff we apply in this lesson I
  15788. 10:09:26use dayto day all right with that see
  15789. 10:09:28you in the next lesson we'll be wrapping
  15790. 10:09:29up basically our final question in our
  15791. 10:09:31project and be done with our project see
  15792. 10:09:33you
  15793. 10:09:37there all right welcome to the last
  15794. 10:09:39lesson in this course where we're going
  15795. 10:09:41to be going over more advanced decks
  15796. 10:09:44specifically we're going to be focusing
  15797. 10:09:46more in depth on fil fter and also
  15798. 10:09:51relation or relationship type functions
  15799. 10:09:55these are going to be needed by our data
  15800. 10:09:56model in order to calculate what is the
  15801. 10:09:59salary or median salary for an
  15802. 10:10:01Associated skill if you remember back to
  15803. 10:10:04a few lessons ago we had relationship
  15804. 10:10:06issues I know I feel that with having
  15805. 10:10:09them being able to filter tables in
  15806. 10:10:11certain directions and we're going to be
  15807. 10:10:13able to see that and fix that in this
  15808. 10:10:15lesson
  15809. 10:10:19so in this lesson you can start with
  15810. 10:10:20some the workbook from the last lesson
  15811. 10:10:23or if you got lost dur in the way you
  15812. 10:10:25can go into the Dax intro workbook now
  15813. 10:10:28let's do a quick overview of where we're
  15814. 10:10:30at with which analysis we've done for
  15815. 10:10:32this project we've identified what are
  15816. 10:10:35the top skills of data nerds along with
  15817. 10:10:38different filters to filter for whatever
  15818. 10:10:40our interest is in my case I'm looking
  15819. 10:10:42for data analyst in the United States
  15820. 10:10:44and I can see that se SQL Excel and
  15821. 10:10:46Tableau are some of the highest
  15822. 10:10:47additionally we've zoomed out a little
  15823. 10:10:49bit and been able to identify based on
  15824. 10:10:52job titles where our job title of
  15825. 10:10:54Interest Falls compared to others and
  15826. 10:10:56how many skills it requires for data
  15827. 10:10:59analysts it's right above did business
  15828. 10:11:01data analysts and based on the number of
  15829. 10:11:02skills it looks like it's appropriately
  15830. 10:11:04rewarded for the median salary and then
  15831. 10:11:06final thing we did was be able to
  15832. 10:11:08analyze additionally Based on data
  15833. 10:11:11analyst we can look at different
  15834. 10:11:12countries and compare it not only in
  15835. 10:11:14that country but to within the US and
  15836. 10:11:16outside the US so a lot of good stuff
  15837. 10:11:19related to well data analyst that
  15838. 10:11:22position and analyzing the salary but
  15839. 10:11:24what about skills well we haven't done
  15840. 10:11:27that yet we're going to get into
  15841. 10:11:29actually analyzing in this first portion
  15842. 10:11:32analyzing what is the expected median
  15843. 10:11:34salary based on one of the top 10 skills
  15844. 10:11:38we did this back in the power query
  15845. 10:11:40lesson but now we have this new data
  15846. 10:11:41model we need to recalculate it anyway
  15847. 10:11:43we're going to run into some issues with
  15848. 10:11:44the data model as we're going to find
  15849. 10:11:46out additionally we're going to be
  15850. 10:11:47calculating the skill likelihood instead
  15851. 10:11:50of skill count basically finding the
  15852. 10:11:53percentage of a skill in a job posting
  15853. 10:11:56this is somewhat complex so this portion
  15854. 10:11:58here will be optional and you'll be able
  15855. 10:12:01to use job count instead if you don't
  15856. 10:12:02want to follow along with this skill
  15857. 10:12:06likelihood anyway back in your workbook
  15858. 10:12:09whether you started from that uh Dax
  15859. 10:12:11intro or you're continuing on with from
  15860. 10:12:13the last lesson we're going to create
  15861. 10:12:15this new sheet for this and for this
  15862. 10:12:18we're going to name this
  15863. 10:12:19skill salary analysis as usual we're
  15864. 10:12:22going to go in and insert in a pivot
  15865. 10:12:24table from our data model so we can get
  15866. 10:12:26into analyzing the skills going click
  15867. 10:12:28okay insert it in and so for this I want
  15868. 10:12:31to analyze what is the median salary for
  15869. 10:12:34a skill so if I drag the job skills from
  15870. 10:12:37the data jobs skills table into the rows
  15871. 10:12:40we have all the different skills pop up
  15872. 10:12:43underneath here and then if we went up
  15873. 10:12:46here and then tried to drag or we will
  15874. 10:12:48be dragging in the median salary into
  15875. 10:12:51here all these values are going to be
  15876. 10:12:54the same addition we get this popup
  15877. 10:12:56right here that relationships between
  15878. 10:12:57tables may be needed basically we're
  15879. 10:12:59running into an issue with our data
  15880. 10:13:01model even if I click autod detect it's
  15881. 10:13:03going to tell me no new new
  15882. 10:13:04relationships are found so what's going
  15883. 10:13:06on here well let's actually analyze our
  15884. 10:13:09data model by going to manage and then
  15885. 10:13:12inside of here go into diagram view so
  15886. 10:13:15the air resides with their filtering
  15887. 10:13:18dire remember this Arrow right here
  15888. 10:13:21signifies which way we can actually
  15889. 10:13:24filter our data so in our case we have
  15890. 10:13:27job skills which is over here in the
  15891. 10:13:30data job skills table and we're trying
  15892. 10:13:32to find the median salary the problem is
  15893. 10:13:36is we're basing that off of that salary
  15894. 10:13:37or average value that's in the data jobs
  15895. 10:13:40salary table and based on the direction
  15896. 10:13:43of this Arrow we cannot flow in the
  15897. 10:13:46opposite direction this is what we're
  15898. 10:13:48call oneway way or single filtering now
  15899. 10:13:51unfortunately Excel doesn't support bir
  15900. 10:13:54directional filtering however in things
  15901. 10:13:56like powerbi you can actually go in and
  15902. 10:13:59change it from single filtering to both
  15903. 10:14:03or bir directional filtering kind of
  15904. 10:14:05makes me wish I was in powerbi right now
  15905. 10:14:08so back in Excel we can't actually
  15906. 10:14:10control this via here and actually click
  15907. 10:14:13it to change this to bir directional
  15908. 10:14:15filters we can only control the
  15909. 10:14:16relationship itself but we we can use
  15910. 10:14:19Dax to fix this now in order to fix this
  15911. 10:14:22relationship we actually have
  15912. 10:14:24relationship functions inside of Dax
  15913. 10:14:27specifically we're going to use this
  15914. 10:14:29cross filter function with this function
  15915. 10:14:32you put inside of cross filter the
  15916. 10:14:34column names so in our case we can
  15917. 10:14:37specify basically the job ID from job
  15918. 10:14:39salary and the job ID from data job
  15919. 10:14:41skills and then from there we specify
  15920. 10:14:43the direction which the parameters under
  15921. 10:14:46here we can go into what we can provide
  15922. 10:14:48to directions we can either provide none
  15923. 10:14:50basically don't create a relationship
  15924. 10:14:52both which is what we want filters on
  15925. 10:14:54either side or one way which is what we
  15926. 10:14:58have already we're not going to use this
  15927. 10:15:00you also control filters left or filters
  15928. 10:15:02right the one way we're also not messing
  15929. 10:15:04with that we want both now this cross
  15930. 10:15:07filter remember is a filter function so
  15931. 10:15:10we need to use this in an appropriate
  15932. 10:15:12for formula that we already know
  15933. 10:15:14calculate in order to filter so I'm
  15934. 10:15:16going to x out of this box right here
  15935. 10:15:18cuz that's not applicable
  15936. 10:15:19what we're going to do is I'm going to
  15937. 10:15:21calculate median salary or a new median
  15938. 10:15:24salary if you will inside of the data
  15939. 10:15:26jobs skills table and because it's uh
  15940. 10:15:30going to use the same name but we're
  15941. 10:15:33going to keep it in a different table
  15942. 10:15:34it'll be perfectly fine and then for
  15943. 10:15:37this remember we want to use still
  15944. 10:15:39calculate we want to have an expression
  15945. 10:15:41in here in our case we want to calculate
  15946. 10:15:44what is the median salary and we'll just
  15947. 10:15:47use the explicit measure that we already
  15948. 10:15:49defined then from there we'll get into
  15949. 10:15:52the filter one of what we want to
  15950. 10:15:54actually filter we want to provide for
  15951. 10:15:56this cross filter and for this we're
  15952. 10:15:58going to specify the job ID of one table
  15953. 10:16:01along with the job ID of the other table
  15954. 10:16:05then for the filter type we're going to
  15955. 10:16:07use both okay I'm going to go ahead and
  15956. 10:16:09close this now we're calculating median
  15957. 10:16:11salary so I want this formatted as a
  15958. 10:16:13currency with zero decimal places I'm
  15959. 10:16:15going go ahead and click okay and have
  15960. 10:16:17an error in my formula should have known
  15961. 10:16:19that by the X I need to actually put a
  15962. 10:16:21closing parentheses on here and I'll
  15963. 10:16:23lied to you a measure a column with the
  15964. 10:16:25name median already exists okay I
  15965. 10:16:27thought we could do that it's Sil me so
  15966. 10:16:29we'll name it median salary skills go
  15967. 10:16:31ahead and click okay okay now I'm going
  15968. 10:16:34to drag this into the values and we can
  15969. 10:16:37actually see with this one now that the
  15970. 10:16:39associated median salaries are actually
  15971. 10:16:42there and it's not all that 115,000
  15972. 10:16:45which is basically the median of the
  15973. 10:16:46entire data set so I'm going to go ahead
  15974. 10:16:48andove move this other median salary out
  15975. 10:16:51of here and from there we're going to
  15976. 10:16:53also drag skill count into here I just
  15977. 10:16:56want to look at the top 10 most common
  15978. 10:16:59skills in this case so I'm going to go
  15979. 10:17:00up here into our filter and go to our
  15980. 10:17:03value filters for top one dot dot dot we
  15981. 10:17:05want the top 10 items by in this case
  15982. 10:17:08skill count and then from there based on
  15983. 10:17:11these top 10 skills I'm going to sort it
  15984. 10:17:14from largest to smallest but like usual
  15985. 10:17:17this is no good unless we don't actually
  15986. 10:17:19analyze for the country and also for the
  15987. 10:17:23title or job title so if I actually go
  15988. 10:17:25back into that skill jobs analysis I can
  15989. 10:17:27just select these two slices right there
  15990. 10:17:30pressing control then copy it and paste
  15991. 10:17:34them into here now you may notice
  15992. 10:17:35whenever I'm clicking this this is not
  15993. 10:17:37affecting this pivot table right here so
  15994. 10:17:40we can actually inspect this by going to
  15995. 10:17:42the slicer and going to report
  15996. 10:17:45connections right now this slicer is
  15997. 10:17:47only affect ing the skill job analysis
  15998. 10:17:51tab so this one right here in our case
  15999. 10:17:53for this job title we actually want to
  16000. 10:17:55affect it on this page here of skill
  16001. 10:17:58salary analysis which is right down here
  16002. 10:18:00click okay looks like the salary is
  16003. 10:18:02updated also we want to do the same
  16004. 10:18:04thing for Country adjusting the report
  16005. 10:18:07connections for this as well and
  16006. 10:18:09selecting this one right here for
  16007. 10:18:10underneath the sheet of skill salary
  16008. 10:18:13analysis clicking okay bam it updated as
  16009. 10:18:16well so now looking at the top skill of
  16010. 10:18:19data analyst in the United States which
  16011. 10:18:20I'm pretty familiar with I can see
  16012. 10:18:22things like python Oracle and Tableau
  16013. 10:18:24are top three Excel does make the list
  16014. 10:18:27and it's the second to last at 84,000
  16015. 10:18:29now with this I do want a visualization
  16016. 10:18:32with it specifically I want a combo
  16017. 10:18:35chart showing this so I'm going go into
  16018. 10:18:37insert pivot chart pivot chart and for
  16019. 10:18:40this go down to combo for this I want
  16020. 10:18:42the median salary to be the main focus
  16021. 10:18:44and then for the skill count we're going
  16022. 10:18:46to put that on a secondary axis because
  16023. 10:18:49right now it's just way too low if we
  16024. 10:18:50keep it on the same axis and this has
  16025. 10:18:52the format that I want right here go
  16026. 10:18:53ahead and click okay I'm going to hide
  16027. 10:18:55all the field buttons on the chart I'm
  16028. 10:18:57going to add a primary vertical and also
  16029. 10:18:59a secondary vertical axis along with a
  16030. 10:19:02chart title and then for the legend
  16031. 10:19:05itself I'm going to click it and then
  16032. 10:19:06rightclick it and go to format Legend
  16033. 10:19:09and for this it should go under Legend
  16034. 10:19:11options Legend options Legend options
  16035. 10:19:13I'm going to unclick this of show The
  16036. 10:19:15Legend without overlapping the chart and
  16037. 10:19:16I'm just going to move it up here so not
  16038. 10:19:19bad I don't necessarily want this orange
  16039. 10:19:22line right here for the skill kind I
  16040. 10:19:24don't really feel like a line is best to
  16041. 10:19:26signify the count instead what I'm going
  16042. 10:19:28to do is select the line and if it
  16043. 10:19:30doesn't appear the format data series
  16044. 10:19:32you can also just right click it go to
  16045. 10:19:33format data series and then underneath
  16046. 10:19:36fill and line they have line but also
  16047. 10:19:39marker for the line we're going to go no
  16048. 10:19:41line and then for the marker we're
  16049. 10:19:43actually going to change the marker
  16050. 10:19:45options to builtin we'll change it to
  16051. 10:19:48this square is going to be fine or we
  16052. 10:19:50can change it to a diamond we'll make it
  16053. 10:19:53slightly bigger and I don't really like
  16054. 10:19:55the color so I'm going to go into design
  16055. 10:19:57and change the color to this
  16056. 10:19:59monochromatic pallette 8 nope never mind
  16057. 10:20:02not that one I meant monochromatic
  16058. 10:20:04palette one I want the bar charts to be
  16059. 10:20:06more visually popping than the actual
  16060. 10:20:08markers themselves I change the title
  16061. 10:20:11two what's the pay of the top 10 skills
  16062. 10:20:13and then change the primary access to
  16063. 10:20:15median salary USD and the other one one
  16064. 10:20:18to job count closing this out and then
  16065. 10:20:21making some room over here for the
  16066. 10:20:23actual visualization itself so now we
  16067. 10:20:25have our visualization that we want that
  16068. 10:20:27looks at this and be able to show us
  16069. 10:20:29what are the top 10 skills for data
  16070. 10:20:31analyst and their Associated pay now one
  16071. 10:20:34last thing for this regarding slicers I
  16072. 10:20:37want to actually make it to where
  16073. 10:20:38they're connected between the charts so
  16074. 10:20:41right now I have it to where this
  16075. 10:20:43basically this one for skill salary
  16076. 10:20:45analysis tab if I go over to the skill
  16077. 10:20:47job analysis tab select business analyst
  16078. 10:20:50it will change then go go back to skill
  16079. 10:20:52salary analysis it updated to business
  16080. 10:20:54analyst anyway I wanted to if we change
  16081. 10:20:56a slicer to make sure that it changes on
  16082. 10:20:58the appropriate sheets so the job title
  16083. 10:21:01slicer is only on these two sheets
  16084. 10:21:04actually that one's perfectly fine but
  16085. 10:21:06the one we actually have concerns with
  16086. 10:21:07now is the country specifically on this
  16087. 10:21:10one I'm selected on the United States
  16088. 10:21:12the skill job analysis one it's also on
  16089. 10:21:14the United States and updates
  16090. 10:21:15appropriately but then if we look in the
  16091. 10:21:17salary analysis that one's on Australia
  16092. 10:21:20it's not updating appropriately so we
  16093. 10:21:21need to go to slicer report connections
  16094. 10:21:24and we're going to be putting the
  16095. 10:21:26country one on all the different sheets
  16096. 10:21:28so I'm going to go ahead and select all
  16097. 10:21:29the sheets for this I'm going to do the
  16098. 10:21:31same for skill salary analysis country
  16099. 10:21:34slicer which it looks like it updated
  16100. 10:21:37along for the skill job analysis so what
  16101. 10:21:38I'm going to do is actually copy this
  16102. 10:21:39now and put this into the salary verse
  16103. 10:21:43skills because we're controlling it on
  16104. 10:21:45this page as well and so now whatever I
  16105. 10:21:48select select something like maybe
  16106. 10:21:49United Kingdom it will update
  16107. 10:21:51appropriately and update on other sheets
  16108. 10:21:55as well anyway quick one quick note
  16109. 10:21:57because we move those titles around that
  16110. 10:22:00one time sometimes it's not going to
  16111. 10:22:02match up exactly how we had it before if
  16112. 10:22:04you recall I'm going to go ahead and
  16113. 10:22:06select all we set up these text box in
  16114. 10:22:09order to view them whenever basically
  16115. 10:22:11all countries were selected so that is
  16116. 10:22:13one of the issues about dragging and
  16117. 10:22:15dropping those titles and making them
  16118. 10:22:16stick to a certain location it messes it
  16119. 10:22:18up your filters whenever you want to
  16120. 10:22:20filter down for something like the
  16121. 10:22:21United
  16122. 10:22:24States so this wraps up basically our
  16123. 10:22:27four major analysis that we did now I'm
  16124. 10:22:30going to take it a step further this
  16125. 10:22:32portion will be completely optional and
  16126. 10:22:36that's this right now we're using skill
  16127. 10:22:40count in order to look at what is you
  16128. 10:22:44know the skill count of in this case for
  16129. 10:22:45data analyst in we'll do United States
  16130. 10:22:49we see that SQL is around 400 4,000 and
  16131. 10:22:53that Excel is around 3500 but what does
  16132. 10:22:56that actually mean well if we go to the
  16133. 10:22:58Future file of what we're going to get
  16134. 10:22:59to we're actually going to be
  16135. 10:23:00calculating a skill likelihood instead
  16136. 10:23:04which in this case is looking at what is
  16137. 10:23:06the proportion of a skill compared to
  16138. 10:23:10all the different jobs that are
  16139. 10:23:12available for data analysts in the
  16140. 10:23:15United States and so that 4500
  16141. 10:23:18and almost 3500 is equal to well greater
  16142. 10:23:21than 50% for SQL and about 40% for Excel
  16143. 10:23:25so that makes in my mind a lot clearer
  16144. 10:23:28how important that skill is over account
  16145. 10:23:31in that you probably should be learning
  16146. 10:23:33SQL and Excel as a data analyst so back
  16147. 10:23:36in our sheet where we're actually
  16148. 10:23:37calculating with the job count how do we
  16149. 10:23:41calculate this well let's actually get
  16150. 10:23:44to moving this over to here go back into
  16151. 10:23:47our pivot table self and if we throw up
  16152. 10:23:50the job count you may get this
  16153. 10:23:53relationship between toils maybe needed
  16154. 10:23:55don't worry about it too much now these
  16155. 10:23:57values are all stagnant based on some
  16156. 10:24:00issues with the filter Direction but
  16157. 10:24:02that actually comes to our advantage
  16158. 10:24:05because for our filter right here
  16159. 10:24:07specifically data analyst in the United
  16160. 10:24:09States the amount of jobs that actually
  16161. 10:24:12are are
  16162. 10:24:148339 if I actually remove both of these
  16163. 10:24:17filters we would expect it to be the
  16164. 10:24:19total rows of the column which is
  16165. 10:24:2332672 so coincidentally this is actually
  16166. 10:24:26doing what we need we just need to get a
  16167. 10:24:28percentage of these two values and that
  16168. 10:24:30can be done pretty easy so let's open
  16169. 10:24:33the show field list and actually get
  16170. 10:24:35into creating this measure we're going
  16171. 10:24:37to create in the data job skill table
  16172. 10:24:39we'll call this skill likelihood and
  16173. 10:24:41what this will do is take skill count
  16174. 10:24:44and divide it by job count but remember
  16175. 10:24:46we probably want to use the divide
  16176. 10:24:47function for for this so putting in
  16177. 10:24:49skill count and then job count now
  16178. 10:24:52there's no option to format this as a
  16179. 10:24:54percentage unfortunately so I'm going to
  16180. 10:24:55go ahead and click okay from there I'm
  16181. 10:24:57going to drag the skill likelihood into
  16182. 10:24:59the values and go through and format
  16183. 10:25:01this appropriately selecting that it's a
  16184. 10:25:04percentage and then with this I'm going
  16185. 10:25:06to select something that a value that I
  16186. 10:25:07know what it should be of data analyst
  16187. 10:25:09in the United States and with those
  16188. 10:25:11values selected I can see that Excel is
  16189. 10:25:14at 41% which I know that's what it is
  16190. 10:25:17and SE is at 53% for these values so bam
  16191. 10:25:21we have this skill likelihood now we can
  16192. 10:25:24now go in and remove these other two
  16193. 10:25:25columns of skill count and job count and
  16194. 10:25:29then from here actually move this graph
  16195. 10:25:31back over and unfortunately with the
  16196. 10:25:33adjusting to it we actually have to fix
  16197. 10:25:35this and turn this back into a combo
  16198. 10:25:38chart so we're going to design change
  16199. 10:25:39chart type into combo select for the
  16200. 10:25:43skill likelihood we want this to be on
  16201. 10:25:45the secondary axis click okay go back to
  16202. 10:25:48format data series remove the line and
  16203. 10:25:51then change the marker option to be
  16204. 10:25:53built in and to be that diamond at 6
  16205. 10:25:56point and then finally update that
  16206. 10:25:57secondary access to basically say it's
  16207. 10:25:59skill likelihood and Bam now we have
  16208. 10:26:02this final visualization now there's one
  16209. 10:26:03more that we actually do need to clean
  16210. 10:26:05up and that's this one right here what
  16211. 10:26:07are the top skills of data nerds right
  16212. 10:26:10now we're doing a count of the job ID an
  16213. 10:26:12implicit measure which you know how I
  16214. 10:26:15feel about that we should use an
  16215. 10:26:16explicit measure specifically we're
  16216. 10:26:17using skill likelihood instead of that
  16217. 10:26:20and remove that count of job postings
  16218. 10:26:22once again I need to actually format
  16219. 10:26:24this as a percentage so going to home
  16220. 10:26:26change it to a percentage and then from
  16221. 10:26:28there clicking in it and sorting from
  16222. 10:26:31smallest to largest and Bam for this one
  16223. 10:26:34data analyst in the United States once
  16224. 10:26:36again we can actually see visually what
  16225. 10:26:38are the top skills for this so now we
  16226. 10:26:39just updated both of these charts to
  16227. 10:26:41have a more represen istic understanding
  16228. 10:26:44of what's going on with the data all
  16229. 10:26:46right so you should be super proud of
  16230. 10:26:48what we just accomplished in this
  16231. 10:26:50project going through both power query
  16232. 10:26:52and power pivot and actually diving deep
  16233. 10:26:54to understand some key statistics about
  16234. 10:26:57top paying skills and also top skills
  16235. 10:26:59you should be targeting depending on
  16236. 10:27:01what job you're pursuing and what
  16237. 10:27:03country you're in now do have some
  16238. 10:27:04practice problems go through and test
  16239. 10:27:06out some of these more advanced
  16240. 10:27:07functions specifically this cross filter
  16241. 10:27:09function that we went over then after
  16242. 10:27:11that in the next lesson we're going to
  16243. 10:27:12be getting into how we can actually go
  16244. 10:27:14about sharing this project for those
  16245. 10:27:16that purchase the course practice ice
  16246. 10:27:18problems and also certificate you can
  16247. 10:27:20now go through and complete that end of
  16248. 10:27:22course survey and you'll be rewarded
  16249. 10:27:25this course certificate now if you
  16250. 10:27:26didn't do this it's not too late for you
  16251. 10:27:28to go in and purchase the course so way
  16252. 10:27:31you get this course certificate all you
  16253. 10:27:32got to do is go in and take that Endor
  16254. 10:27:34survey and you'll get it all right
  16255. 10:27:36congratulations on your work so far see
  16256. 10:27:37you in the next
  16257. 10:27:42one all right congratulations again for
  16258. 10:27:44finishing that last project in this
  16259. 10:27:47video and the next video which are the
  16260. 10:27:49last two videos of this entire course
  16261. 10:27:52they're going to be focused on how to
  16262. 10:27:54actually go through and share your
  16263. 10:27:56projects in my recommended way
  16264. 10:27:58specifically we're going to be sharing
  16265. 10:28:00this on GitHub so that way others can
  16266. 10:28:02see it here I am on GitHub and also if
  16267. 10:28:05you didn't notice there where you
  16268. 10:28:06actually downloaded all those Excel
  16269. 10:28:08files at the beginning of this course
  16270. 10:28:10anyway inside of here is where I'm
  16271. 10:28:13hosting my different projects and you've
  16272. 10:28:15gone through and probably seen this but
  16273. 10:28:17you may not have clicked on something
  16274. 10:28:18like the project One dashboard and in
  16275. 10:28:21this case yeah I have the Excel file but
  16276. 10:28:23that read me in there displays below
  16277. 10:28:27this and this is what we're actually
  16278. 10:28:29going to be doing in the next two videos
  16279. 10:28:31to set this up and then create this read
  16280. 10:28:33me and this allows you to detail all the
  16281. 10:28:36different skills that you used along
  16282. 10:28:39with detailing all the different
  16283. 10:28:41analysis that you did while going
  16284. 10:28:43through this now that was Project one
  16285. 10:28:45project two is going to follow a similar
  16286. 10:28:48method and that it has the Excel file
  16287. 10:28:50and the readme and then in the readme
  16288. 10:28:52itself it details all the different work
  16289. 10:28:54that we did in
  16290. 10:28:57it so you may be like Luke why the heck
  16291. 10:29:00am I going to be using GitHub in order
  16292. 10:29:02to share this project I'm not familiar
  16293. 10:29:04with it I don't know how to use GitHub
  16294. 10:29:06at all why am I going to waste my time
  16295. 10:29:07with it well I think it's useful not
  16296. 10:29:10only in Excel but also other
  16297. 10:29:12Technologies specifically programming
  16298. 10:29:14here I have my SQL project for my SQL
  16299. 10:29:16course and this this is where I host my
  16300. 10:29:20SQL code and all the different analysis
  16301. 10:29:22that I did for it and similarly for my
  16302. 10:29:25python course and the project we
  16303. 10:29:26creating that I also hosted on GitHub
  16304. 10:29:29and detailed all the different the steps
  16305. 10:29:30that we did along with all the different
  16306. 10:29:33uh python files associated with it so
  16307. 10:29:35more the story is I think github's a
  16308. 10:29:37great tool to use in order to share your
  16309. 10:29:39work not only in Excel but also other
  16310. 10:29:41tools now if you recall from Project one
  16311. 10:29:43we walk through the steps to quickly
  16312. 10:29:45share your project on one drive if you
  16313. 10:29:48had it accessible via like a paid
  16314. 10:29:50Microsoft subscription and this provided
  16315. 10:29:52a method to go through and share if you
  16316. 10:29:55go up here and actually copy the link a
  16317. 10:29:58usable link for others whether they have
  16318. 10:30:00Excel or not to actually go in and then
  16319. 10:30:03manipulate your dashboards that you have
  16320. 10:30:05so you may be wondering why the heck are
  16321. 10:30:07we not doing this with this second Excel
  16322. 10:30:10file that we created with all of our
  16323. 10:30:11analysis and then sharing it via this
  16324. 10:30:13method well if you're called back to
  16325. 10:30:15this handy Dan table of the different
  16326. 10:30:17Microsoft versions and the different
  16327. 10:30:19skills or basically Technologies within
  16328. 10:30:21Excel that it uses Microsoft online
  16329. 10:30:24which where we hosted that first project
  16330. 10:30:26at doesn't have the capabilities of
  16331. 10:30:29power query or power pivot because of
  16332. 10:30:32that I could go through the process of
  16333. 10:30:33adding the second project to this which
  16334. 10:30:36it's this file right here I'll open it
  16335. 10:30:38up then actually investigating it well
  16336. 10:30:41it does if you investigate all the
  16337. 10:30:42different sheets does go through and
  16338. 10:30:44actually show the analysis that we did
  16339. 10:30:48but if you actually get into
  16340. 10:30:49manipulating it like in this case let's
  16341. 10:30:51say I wanted to see what are the top
  16342. 10:30:52skills of data analyst you're going to
  16343. 10:30:54get this popup right here that says this
  16344. 10:30:56workbook contains external data
  16345. 10:30:57connections or bi features that are not
  16346. 10:30:59supported basically power pivot and
  16347. 10:31:01power query aren't supported it can't
  16348. 10:31:03actually query the data it's just
  16349. 10:31:05showing the basic last snapshot of the
  16350. 10:31:07data right here and you can't manipulate
  16351. 10:31:09it so in this case Microsoft online
  16352. 10:31:12becomes pretty useless so that's why I'm
  16353. 10:31:14recommending sharing it via GitHub as
  16354. 10:31:17you can share all the associated files
  16355. 10:31:19with this if somebody want to they could
  16356. 10:31:20come in here and download it along with
  16357. 10:31:22going through and actually detailing
  16358. 10:31:24what you actually did so basically
  16359. 10:31:26controlling the story line and sharing
  16360. 10:31:29what the different analysis or insights
  16361. 10:31:31that you actually found now this what
  16362. 10:31:33you're reading right now is a read me
  16363. 10:31:35and it requires understanding markdown
  16364. 10:31:38and how to write and markdown so we're
  16365. 10:31:40going to be covering that more in depth
  16366. 10:31:41in the next video when we get into
  16367. 10:31:44markdown and creating the read me this
  16368. 10:31:46video is going to be primarily focused
  16369. 10:31:48on just getting this project into GitHub
  16370. 10:31:51so what are we going to be doing for
  16371. 10:31:52this well we have five major steps we
  16372. 10:31:54need to get through the first thing is
  16373. 10:31:55installing git which is the core
  16374. 10:31:57technology used behind GitHub we'll
  16375. 10:32:00explain more in a bit second and third
  16376. 10:32:02we'll be going through actually setting
  16377. 10:32:03up our GitHub account and then
  16378. 10:32:05installing GitHub desktop to then manage
  16379. 10:32:08with Git our different folders and
  16380. 10:32:10projects and then fourth and fifth we'll
  16381. 10:32:13be basically initializing the repository
  16382. 10:32:15which is a fancy term for a folder and
  16383. 10:32:17from they are getting that folder
  16384. 10:32:19repository onto GitHub to then share so
  16385. 10:32:23before we install it what the heck is
  16386. 10:32:25git well similar to how they have track
  16387. 10:32:28changes and stuff like word and
  16388. 10:32:30PowerPoint git does this it's a Version
  16389. 10:32:33Control System it tracks changes in not
  16390. 10:32:35only files but also code and because of
  16391. 10:32:39all this it allows you also to
  16392. 10:32:40collaborate with others when working on
  16393. 10:32:42a project git is the core technology
  16394. 10:32:46behind maap managing all these different
  16395. 10:32:49things going on on your own local
  16396. 10:32:51computer and then whenever you make any
  16397. 10:32:54of these changes get Hub is where it
  16398. 10:32:56keeps track of these final changes if
  16399. 10:32:58you will and then displays it for the
  16400. 10:33:00world to see and also pull those changes
  16401. 10:33:02so here's my Excel di analytics course
  16402. 10:33:05right here on GitHub and I have the same
  16403. 10:33:07folders or repository on my own local
  16404. 10:33:11computer now there's actually hidden
  16405. 10:33:14folders or git folders in here managing
  16406. 10:33:16this and I can do a shortcut on Mac of
  16407. 10:33:19command shift period to show that but
  16408. 10:33:21anyway I wanted to mainly show this of
  16409. 10:33:23this dogit folder in here and this thing
  16410. 10:33:26I don't necessarily touch this at all or
  16411. 10:33:27work inside of it this.get folder
  16412. 10:33:30contains all the different revisions and
  16413. 10:33:33tracks all the different changes within
  16414. 10:33:35my project so in order to get this git
  16415. 10:33:38folder inside your project and then also
  16416. 10:33:42get it into GitHub we need to actually
  16417. 10:33:43install git
  16418. 10:33:48so navigate over to the git website into
  16419. 10:33:50their downloads select your operating
  16420. 10:33:52system Choice whether Mac OS or Windows
  16421. 10:33:54I want a Windows machine right here and
  16422. 10:33:56from there I'm going to select the
  16423. 10:33:5864-bit version for Windows and click
  16424. 10:34:00here to download Once download I'm going
  16425. 10:34:02to open the file as do I want to allow
  16426. 10:34:04this to make changes in my device yes I
  16427. 10:34:06do and then it's going to walk you
  16428. 10:34:08through the setup process for git all of
  16429. 10:34:12these things are going to be left as
  16430. 10:34:14default so feel free to just go through
  16431. 10:34:16and select it all after I've left all
  16432. 10:34:18the default settings as is and selected
  16433. 10:34:20that it then gets into the actual
  16434. 10:34:22install itself looks like it installed
  16435. 10:34:24properly we'll go ahead and click finish
  16436. 10:34:26we can confirm it's installed by opening
  16437. 10:34:28something like terminal and you should
  16438. 10:34:30have a terminal app installed this is
  16439. 10:34:32just confirming it you don't necessarily
  16440. 10:34:33have to do this anyway mine opens in a
  16441. 10:34:35Powershell and you can just type
  16442. 10:34:36something like get and it shouldn't give
  16443. 10:34:39you an error message it should instead
  16444. 10:34:42give you how you could go about using
  16445. 10:34:44git via the command line in terminal
  16446. 10:34:46don't worry don't be AF of this we're
  16447. 10:34:48not going to be using git via the
  16448. 10:34:49command line although I may need to make
  16449. 10:34:51a separate course on that instead we're
  16450. 10:34:53going to be using GitHub desktop to
  16451. 10:34:55manage
  16452. 10:34:59git so in order to use GitHub you need
  16453. 10:35:01to have an account if you already have
  16454. 10:35:03an account you can feel free to just
  16455. 10:35:04sign right on in but if you don't go
  16456. 10:35:07through the whole process of entering
  16457. 10:35:08your email providing your different
  16458. 10:35:10credentials and then getting logged in
  16459. 10:35:12once logged in it should direct you to
  16460. 10:35:14your homepage if it doesn't you can come
  16461. 10:35:15up here to this icon at the top and from
  16462. 10:35:18there just select your profile I would
  16463. 10:35:20go through at this point and actually
  16464. 10:35:22customize your profile specifically
  16465. 10:35:24adding a picture your name a little
  16466. 10:35:27description and any social media links
  16467. 10:35:30over here on the right hand side of on
  16468. 10:35:31my homepage I have some different pinned
  16469. 10:35:34repositories because you just set it up
  16470. 10:35:36you probably have none but this is where
  16471. 10:35:37we're going to be putting your Excel
  16472. 10:35:40project when you're complete so that way
  16473. 10:35:41if people navigate to your profile they
  16474. 10:35:43can see it now that we have this account
  16475. 10:35:45we need to actually get our project or
  16476. 10:35:48our repository onto GitHub but
  16477. 10:35:52unfortunately there's not really an easy
  16478. 10:35:55method I've found with actually using
  16479. 10:35:57the UI from the website to do this and
  16480. 10:36:00that's mainly because there's a lot of
  16481. 10:36:02technical things going behind the scenes
  16482. 10:36:04and managing
  16483. 10:36:08git instead I'm going to recommend
  16484. 10:36:10downloading github's application to
  16485. 10:36:13install on your computer they have it
  16486. 10:36:15for both Mac and windows navigate to
  16487. 10:36:17this link here and for this we I'm going
  16488. 10:36:20to go ahead and just download the 64-bit
  16489. 10:36:23version of this application this one's a
  16490. 10:36:25lot easier to install than get from here
  16491. 10:36:27once we have it downloaded I'm going to
  16492. 10:36:29open the file the installer should open
  16493. 10:36:31this window for you to next sign into
  16494. 10:36:34GitHub once you've enter your
  16495. 10:36:36credentials for GitHub you'll use this
  16496. 10:36:38to configure git and for this you're
  16497. 10:36:41going to basically say hey I want to use
  16498. 10:36:42GitHub account and name and email
  16499. 10:36:44address to manage all this and click
  16500. 10:36:46finish now it should navigate you to the
  16501. 10:36:49let's go started screen anyway it has
  16502. 10:36:51methods for you to go through and create
  16503. 10:36:53a tutorial repository if you want to
  16504. 10:36:55we're going to be doing that and it has
  16505. 10:36:57some different options for this that you
  16506. 10:36:58can also select via the file menu such
  16507. 10:37:00as a new repository add local repository
  16508. 10:37:03or clone repository we're going to be
  16509. 10:37:05creating a new repository and as a
  16510. 10:37:08reminder repository it's basically a
  16511. 10:37:10fancy name for a folder but it's a way
  16512. 10:37:12for us to maintain and collect all of
  16513. 10:37:15our different files and not for what
  16514. 10:37:18we're using in our project so for this
  16515. 10:37:20we need to give it a name so I'm going
  16516. 10:37:22to give it some descriptive like Excel
  16517. 10:37:23project data analytics and for
  16518. 10:37:26description I'll just give the simple
  16519. 10:37:27one of my project Dem maturing my Excel
  16520. 10:37:29skills for the local path we need to
  16521. 10:37:31actually point it to the folder that has
  16522. 10:37:33this so mine is inside my documents
  16523. 10:37:35folder and real quick inside that folder
  16524. 10:37:38itself right now I would expect you to
  16525. 10:37:41have the project one and project two I
  16526. 10:37:44also going to be putting all the
  16527. 10:37:45different files that I have for the
  16528. 10:37:48different Excel workbooks that we work
  16529. 10:37:50through in the lesson if you don't have
  16530. 10:37:51them don't feel like you need it the
  16531. 10:37:53main important thing is that you have
  16532. 10:37:54both project one and project 2 in there
  16533. 10:37:56and I have them conveniently located in
  16534. 10:37:59different folders inside of here never
  16535. 10:38:01getting out of that so I can select this
  16536. 10:38:03Excel project. analytics folder I'm
  16537. 10:38:05going to select this folder it's going
  16538. 10:38:07to ask if I want to initialize this
  16539. 10:38:08repository with a read me I do as far as
  16540. 10:38:11the get ignore I'll put none and license
  16541. 10:38:13none as well and we'll create the
  16542. 10:38:14repository so now you're going to be
  16543. 10:38:16navigated to this screen here here which
  16544. 10:38:17is basically the default screen of
  16545. 10:38:19GitHub desktop it allows you to select
  16546. 10:38:22different repositories right now I have
  16547. 10:38:24only the Excel project analytics one it
  16548. 10:38:27allows you to select different branches
  16549. 10:38:28we're going to say on one shifting to
  16550. 10:38:30another Branch beyond the scope of this
  16551. 10:38:31course then up here at the top it has
  16552. 10:38:33something like publish repository which
  16553. 10:38:35we want to do but one quick thing real
  16554. 10:38:37quick I can actually investigate what
  16555. 10:38:40files are going to be pushed up to
  16556. 10:38:43GitHub by going here into history and
  16557. 10:38:47right now it's just one I selected that
  16558. 10:38:49box for read me so the readme is in
  16559. 10:38:51there and the other one's just do get
  16560. 10:38:53attributes the other ones aren't in
  16561. 10:38:55there and I'm doing this on a Windows
  16562. 10:38:57machine well if I navigate back to the
  16563. 10:38:59folder that contains my project so here
  16564. 10:39:02I have Excel project. analytics which I
  16565. 10:39:04selected two from the GitHub desktop
  16566. 10:39:07whenever I go into it it actually
  16567. 10:39:09created another folder inside of it and
  16568. 10:39:14that has theget attributes and read me
  16569. 10:39:16that it's talking about about now I've
  16570. 10:39:18done this on both Windows and Mac and
  16571. 10:39:21Mac doesn't cause this issue of putting
  16572. 10:39:23another folder inside your other folder
  16573. 10:39:26so for Mac users you may not have this
  16574. 10:39:28problem so completely ignore this but
  16575. 10:39:29for Windows user this is a problem
  16576. 10:39:32because this right here is the project
  16577. 10:39:34or the folder was going to get uploaded
  16578. 10:39:36to GitHub so what we need to do is take
  16579. 10:39:38all the contents of this by selecting it
  16580. 10:39:41all and just pressing control to select
  16581. 10:39:43it all and then dragging it into that
  16582. 10:39:46folder so a little confusing but if we
  16583. 10:39:48go back to the documents we have our
  16584. 10:39:50Excel project. analytics folder then
  16585. 10:39:52inside of that we have our GitHub repo
  16586. 10:39:54and then now navigating back into GitHub
  16587. 10:39:59desktop I go over here and I see changes
  16588. 10:40:02we have 85 of 8 five different files and
  16589. 10:40:04folders within there it's actually
  16590. 10:40:06picking up on all those different files
  16591. 10:40:09that I have in there once again if
  16592. 10:40:11you're on a Mac you may not see this
  16593. 10:40:12because it's already in there in history
  16594. 10:40:15and you can see it's actually within the
  16595. 10:40:17this portion of the guy anyway the thing
  16596. 10:40:20now is if we go ahead and publish this
  16597. 10:40:23repository to GitHub it's only going to
  16598. 10:40:25have what's inside of our history right
  16599. 10:40:28now under this what we're calling a
  16600. 10:40:30commit and a commit is a snapshot of
  16601. 10:40:34your
  16602. 10:40:35repository at the time that you're
  16603. 10:40:37basically committing it so we need to do
  16604. 10:40:40a commit in order to get all these
  16605. 10:40:42different changes into a repository cuz
  16606. 10:40:45technically right now they're in an area
  16607. 10:40:47called a staging area or the working
  16608. 10:40:49area anyway we need to provide a summary
  16609. 10:40:51that's required and I'm going to add
  16610. 10:40:53something simple like add all Excel
  16611. 10:40:55files doesn't need to be super
  16612. 10:40:56descriptive and from there I'm going to
  16613. 10:40:58click commit to main now if I go into
  16614. 10:41:01history I have this initial commit that
  16615. 10:41:03it did but then that add all Excel files
  16616. 10:41:07it's going to then have in all those
  16617. 10:41:08different Excel files that I added into
  16618. 10:41:13it so now that our local repository on
  16619. 10:41:16your machine is is up to date we need to
  16620. 10:41:18then publish this repository to GitHub
  16621. 10:41:21and we can either click this button or
  16622. 10:41:22this button here for this we're going to
  16623. 10:41:23keep the same name and description that
  16624. 10:41:25we have before we don't want to keep
  16625. 10:41:27this code private so we're going to
  16626. 10:41:28uncheck that box and then from there
  16627. 10:41:30we're going to click publish repository
  16628. 10:41:33so my repository has quite a bit of
  16629. 10:41:35Excel files and the memory size of it is
  16630. 10:41:37pretty large so it is taking a little
  16631. 10:41:39bit of time to do this so now we've
  16632. 10:41:42completed pushing our local repository
  16633. 10:41:44to our remote repository on GitHub so
  16634. 10:41:46inside of GitHub I can navigate up here
  16635. 10:41:49to the right hand side and I go to your
  16636. 10:41:52repositories and here it is the Excel
  16637. 10:41:55project data analytics that we made
  16638. 10:41:57public and it's all in here so now
  16639. 10:42:00somebody can come in here and see our
  16640. 10:42:02different work in this case our project
  16641. 10:42:04One dashboard is inside of here we have
  16642. 10:42:06our Excel file in there and Bam we've
  16643. 10:42:09set up git and also GitHub and that was
  16644. 10:42:13a push so now we need to demonstrate
  16645. 10:42:15what is a pull
  16646. 10:42:20and so in order to do that a pull
  16647. 10:42:22request we need to actually make changes
  16648. 10:42:24on our remote repository so that on
  16649. 10:42:27GitHub and then pull it into our local
  16650. 10:42:31repository so here's what we can do for
  16651. 10:42:33that I'm going to just go in and we
  16652. 10:42:35created this read me. markdown file upon
  16653. 10:42:39creation because we selected that
  16654. 10:42:40checkbox you can actually come in here
  16655. 10:42:43and edit this read me by clicking the
  16656. 10:42:45edit file button and and I'm just going
  16657. 10:42:47to come in here and I'm just going to
  16658. 10:42:48say hey I added this on github.com
  16659. 10:42:52adding it in the bottom now we're going
  16660. 10:42:54to go into markdown formats and stuff as
  16661. 10:42:56you can see we have this hashtag here
  16662. 10:42:58we're going to go all that in the next
  16663. 10:43:00lesson but anyway I made this changes to
  16664. 10:43:02here so we need to like we did on our
  16665. 10:43:04local repository and making a change we
  16666. 10:43:06need to commit those changes here and
  16667. 10:43:09conveniently it just gives us a commit
  16668. 10:43:11message of update read me confirm the
  16669. 10:43:13correct email and it conects directly to
  16670. 10:43:15the main branch we're just staying on
  16671. 10:43:17that Branch we're not shifting for this
  16672. 10:43:18course at all from there I'm going to
  16673. 10:43:20commit changes so now if I go back into
  16674. 10:43:23the project itself scroll on down to see
  16675. 10:43:25the read me I can see that I have I
  16676. 10:43:27added this on GitHub whereas on my local
  16677. 10:43:30machine if I go into look at the readme
  16678. 10:43:34markdown it doesn't have that addition
  16679. 10:43:36that I added to the readme file so we
  16680. 10:43:39need to pull those changes going back to
  16681. 10:43:42the GitHub desktop app I'm going to come
  16682. 10:43:44up here and you notice that it says
  16683. 10:43:46fetch or this isn't going to do anything
  16684. 10:43:48this is just going to fetch origin
  16685. 10:43:49basically the main branch and Pull It in
  16686. 10:43:52this isn't going to make any changes to
  16687. 10:43:53your file it's just going to update it
  16688. 10:43:55of what's on GitHub and we can see based
  16689. 10:43:58on this that we have basically one
  16690. 10:44:01change here by this one and this down
  16691. 10:44:04Mark and so in order to get these
  16692. 10:44:06changes we need to pull the origin pull
  16693. 10:44:08it and so I'm just going to click it to
  16694. 10:44:10pull and now when we go into the history
  16695. 10:44:13we now have this new one of update read
  16696. 10:44:15me we can see that this readme has this
  16697. 10:44:18addition because it's in green of I edit
  16698. 10:44:20this on github.com and then inspecting
  16699. 10:44:22this in the readme itself it now updated
  16700. 10:44:25to say hey I added this on github.com so
  16701. 10:44:27bam we just demonstrated how to push and
  16702. 10:44:30also pull from our local repository and
  16703. 10:44:33machine to our remote
  16704. 10:44:35repository so now that we have GitHub
  16705. 10:44:38and git all set up we now need to get in
  16706. 10:44:40to actually building out those readms
  16707. 10:44:43and explaining what we did in our
  16708. 10:44:45project and demonstrating those skills
  16709. 10:44:47that we gained in this course so that's
  16710. 10:44:49what we'll be doing in the next lesson
  16711. 10:44:51if you're getting stuck at any point
  16712. 10:44:53during the way I highly recommend that
  16713. 10:44:54you take use of something like chat gbt
  16714. 10:44:57or even gemini or whatnot and actually
  16715. 10:44:59paste in your error code and it will
  16716. 10:45:02help you with troubleshooting it it's a
  16717. 10:45:04lot quicker than posting a comment in
  16718. 10:45:06here saying that you had an issue all
  16719. 10:45:08right with that see you in the next one
  16720. 10:45:09we're getting into the Remy see you
  16721. 10:45:14there welcome to the last video in this
  16722. 10:45:18course and in this we're going to be
  16723. 10:45:19going over how we're going to actually
  16724. 10:45:22document all the different work that you
  16725. 10:45:24did for project one and for project two
  16726. 10:45:27we're going to putting this into our
  16727. 10:45:29markdown file or our read me and then
  16728. 10:45:32from there getting it onto GitHub and
  16729. 10:45:34then finally going through how to share
  16730. 10:45:36it on LinkedIn so right now navigating
  16731. 10:45:38to our GitHub repo with our project in
  16732. 10:45:41it you should have at least two folders
  16733. 10:45:44in there one for your project One
  16734. 10:45:45dashboard and one for your project 2 if
  16735. 10:45:47you have your other folders for all the
  16736. 10:45:49work that you did for all the other
  16737. 10:45:50lessons in this course that's awesome
  16738. 10:45:53too but not required mainly just have
  16739. 10:45:55your project work in there anyway we
  16740. 10:45:57have this read me for the entire project
  16741. 10:46:00itself and right now it's pretty Bare
  16742. 10:46:02Bones and if we navigate into that
  16743. 10:46:04project One dashboard right now you
  16744. 10:46:05should have only have a file in there
  16745. 10:46:08specifically that Excel file but we need
  16746. 10:46:10also a readme in here as well so we can
  16747. 10:46:12description add a description of what we
  16748. 10:46:14did in that dashboard similarly project
  16749. 10:46:172 doesn't have a read me as
  16750. 10:46:20well now we have demonstrated in that
  16751. 10:46:23last lesson how we can actually go into
  16752. 10:46:25something like the readme and then from
  16753. 10:46:28there edit it inside of your web browser
  16754. 10:46:30by just clicking this edit this file
  16755. 10:46:33icon it shows not only the edits for you
  16756. 10:46:36to actually go through and maybe type
  16757. 10:46:38something but also the preview itself
  16758. 10:46:41itself of what the file is going to look
  16759. 10:46:42like don't worry we're going to be going
  16760. 10:46:44over markdown syntax in a little bit but
  16761. 10:46:46anyway that's how we're going to be
  16762. 10:46:47doing all these different changes to the
  16763. 10:46:50files for this I'm not going to do these
  16764. 10:46:52changes I'm actually going to cancel
  16765. 10:46:53these changes now an alternate option to
  16766. 10:46:56making edits to something like a readme
  16767. 10:46:58is using a text editer or IDE integrated
  16768. 10:47:02development environment such as
  16769. 10:47:04something as Visual Studio code which is
  16770. 10:47:06completely free and is I have it
  16771. 10:47:08launched here in my app um is an app
  16772. 10:47:10that I use in order to edit and manage
  16773. 10:47:13my different files I can also go through
  16774. 10:47:16if I'm editing the read me itself I can
  16775. 10:47:18type inside of here and edit it but also
  16776. 10:47:21during that I can actually go in and
  16777. 10:47:24view what's going on with the actual
  16778. 10:47:27read me itself off to the side while I'm
  16779. 10:47:30typing here in this other window anyway
  16780. 10:47:32I just want to make you aware of this
  16781. 10:47:33that is an option for you to go through
  16782. 10:47:36but it does take some experience with
  16783. 10:47:38knowing how to use vs code setting this
  16784. 10:47:40all up so based on the complexity we've
  16785. 10:47:43already built up already we're going to
  16786. 10:47:44stick to just editing our readms inside
  16787. 10:47:47of github.com
  16788. 10:47:50so before we get into building our
  16789. 10:47:53project readms we need to understand
  16790. 10:47:55some syntax here specifically if you
  16791. 10:47:58notice this Excel project analytics is
  16792. 10:48:00capitalized and everything else is
  16793. 10:48:02lowercased and if we actually go in and
  16794. 10:48:04edit the file we can see that we have
  16795. 10:48:06this hashtag at the front which
  16796. 10:48:08translates this into a heading so they
  16797. 10:48:11have special characters that you can
  16798. 10:48:13actually use in front or around text to
  16799. 10:48:15manipulate text
  16800. 10:48:17and the team that created markdown
  16801. 10:48:18conveniently created this cheat sheet
  16802. 10:48:20which I'll link here and it shows all
  16803. 10:48:23the different methods that you can use
  16804. 10:48:26to actually manipulate and make
  16805. 10:48:28different things happen inside your
  16806. 10:48:30markdown file so let's actually look at
  16807. 10:48:32a few here I have a heading one heading
  16808. 10:48:34two and heading three denoted by how
  16809. 10:48:36many hashtags and a space and then if I
  16810. 10:48:38preview this heading one heading two and
  16811. 10:48:40heading three next we can either bold or
  16812. 10:48:43italicize text by surrounding it either
  16813. 10:48:46double asteris or single asteris and the
  16814. 10:48:50final results right here is bold and
  16815. 10:48:52italicized notice how the Bold text and
  16816. 10:48:54italicize are on the same line it's
  16817. 10:48:57important that after you go to a new
  16818. 10:48:59line you actually put two spaces in
  16819. 10:49:02there now that I have that in there it
  16820. 10:49:05will actually shift it to the next line
  16821. 10:49:07we can also do things like an ordered
  16822. 10:49:09list or an unordered list which would be
  16823. 10:49:11like bullet points and it conveniently
  16824. 10:49:13indents that and makes it look a lot
  16825. 10:49:15nicer we can o surround something by a
  16826. 10:49:17back tick which is located up at the top
  16827. 10:49:20of your keyboard or you could do triple
  16828. 10:49:22back ticks at the top and bottom for if
  16829. 10:49:25you have multiple lines of code and if
  16830. 10:49:27we actually go to preview this we can
  16831. 10:49:29see that the single line of code was
  16832. 10:49:31just surrounded whereas a multiline
  16833. 10:49:33creates this entire coding block the
  16834. 10:49:35final two worth mentioning are links and
  16835. 10:49:38also images for the link for the text
  16836. 10:49:41that you wanted to appear for the link
  16837. 10:49:42you'll put in square brackets and then
  16838. 10:49:44for the hyperlink itself you're going to
  16839. 10:49:46put that inside a parentheses right next
  16840. 10:49:48to it and then actually changing this to
  16841. 10:49:50a real world example of something like
  16842. 10:49:52google.com if I go to preview and then I
  16843. 10:49:55click this link it's going to ask me if
  16844. 10:49:57I want to leave site and go to Google
  16845. 10:49:59I'm not going to do it because it's
  16846. 10:50:00going to mess up all my changes but you
  16847. 10:50:02get the point for images is very similar
  16848. 10:50:05but the text you provide in the square
  16849. 10:50:06brackets is just your alternate text so
  16850. 10:50:08whenever you scroll over it what the
  16851. 10:50:09text is displays and then from there is
  16852. 10:50:11the actual image location however this
  16853. 10:50:14isn't an actual image location so I have
  16854. 10:50:17this eror message that goes on with this
  16855. 10:50:19alt text hence this broken file you're
  16856. 10:50:22going to notice that if any of your
  16857. 10:50:23files for your images are broken anyway
  16858. 10:50:26github.com actually makes it pretty easy
  16859. 10:50:28to get images in in this case I have a
  16860. 10:50:30gif of the dashboard you could also use
  16861. 10:50:32an image file but all I have to do is
  16862. 10:50:34take it and drag it into here and if you
  16863. 10:50:36notice it automatically formatted it
  16864. 10:50:38with alt text and then the actual link
  16865. 10:50:40location itself so saving the file
  16866. 10:50:42itself and it puts that exclamation
  16867. 10:50:44point at the front signifying that it's
  16868. 10:50:46an image or in this case GIF if I go to
  16869. 10:50:48preview scrolling down we can see that
  16870. 10:50:51we have our image once again you need to
  16871. 10:50:54put spaces after that other one to make
  16872. 10:50:56sure that you're not having it all in
  16873. 10:50:57the same line but you get the
  16874. 10:51:00point anyway let's actually get into
  16875. 10:51:03creating this read me that's on the
  16876. 10:51:05homepage if you will of our actual
  16877. 10:51:08project and the main point of this one
  16878. 10:51:09is I want people to be navigated to the
  16879. 10:51:12appropriate project depending on what
  16880. 10:51:14they're looking for so I went ahead and
  16881. 10:51:15put in some text already for how I want
  16882. 10:51:17to break this down I'll break uh I'll
  16883. 10:51:19shift over to preview and I'm going have
  16884. 10:51:22a title such as my excel. analytics
  16885. 10:51:24projects from there we're going to have
  16886. 10:51:26the salary dashboard project and the
  16887. 10:51:27salary analysis right now the image that
  16888. 10:51:30I have for the dashboard is in the wrong
  16889. 10:51:33location actually shift that up now I
  16890. 10:51:35went ahead and added the images also for
  16891. 10:51:37our salary analysis while cleaning up
  16892. 10:51:39where the salary dashboard is which I
  16893. 10:51:41included only just two graphs here but I
  16894. 10:51:43just want to give a sneak peek of what's
  16895. 10:51:45going to be inside of those other readms
  16896. 10:51:47that were about to build out now you may
  16897. 10:51:49be wondering how the heck do I get
  16898. 10:51:51screenshots of graphs in my different
  16899. 10:51:54dashboard well depending on if you're
  16900. 10:51:55using Mac or Windows they have software
  16901. 10:51:58installed already and so these shortcuts
  16902. 10:52:01should work for you in order to perform
  16903. 10:52:03your appropriate screen capture I
  16904. 10:52:06primarily use on a Mac command Shift 4
  16905. 10:52:08to select a certain area and it allows
  16906. 10:52:11me to basically just hover over
  16907. 10:52:13something and snapshot it this same
  16908. 10:52:15thing can be done on a window Windows
  16909. 10:52:16machine you're just going to press
  16910. 10:52:18Windows shift plus s so I went through
  16911. 10:52:21also and just added a quick description
  16912. 10:52:23to each section I'm go into preview
  16913. 10:52:24because it's a little bit easier to read
  16914. 10:52:25there anyway underneath this I just
  16915. 10:52:27detail hey this contains all my Excel
  16916. 10:52:30files to follow along in my case my free
  16917. 10:52:32course of Excel for data analytics I
  16918. 10:52:34would word it differently for you of
  16919. 10:52:36that you're actually providing all your
  16920. 10:52:38different Project work in this
  16921. 10:52:39repository additionally I provide a
  16922. 10:52:41short description for the first project
  16923. 10:52:44and then also a short description for
  16924. 10:52:45the second project make sure in this
  16925. 10:52:47case you actually are putting spaces
  16926. 10:52:50after those lines so you don't have
  16927. 10:52:52those images overlay on top of it now
  16928. 10:52:54the last thing I would do as you see
  16929. 10:52:56here I link to my course but I think
  16930. 10:52:58more importantly what you need to do is
  16931. 10:53:00actually link to the appropriate files
  16932. 10:53:03within this repository so people can
  16933. 10:53:05quickly get to the salary dashboard or
  16934. 10:53:07the salary analysis and so I'm going to
  16935. 10:53:09add this link of connecting to that
  16936. 10:53:12appropriate project by first adding this
  16937. 10:53:14text of check out my work here
  16938. 10:53:17and then inside parentheses I'm going to
  16939. 10:53:19list the folder of project One dashboard
  16940. 10:53:24you have to make sure you spell it
  16941. 10:53:25exactly like the folder that is inside
  16942. 10:53:28of your repository or the Link's not
  16943. 10:53:30going to work I'm going to do the same
  16944. 10:53:31with the project two dashboard as well
  16945. 10:53:33and going to preview it I can see it's
  16946. 10:53:36all there I probably want some spaces in
  16947. 10:53:38between
  16948. 10:53:40this and so just put an extra enter in
  16949. 10:53:42there okay that's good enough I'm going
  16950. 10:53:44to get into committing the changes this
  16951. 10:53:46is update my readme that sounds good I'm
  16952. 10:53:49going to commit them so now on our home
  16953. 10:53:52folder of our repository of excel
  16954. 10:53:54project. analytics scrolling down I have
  16955. 10:53:56my read me here it tells me about it and
  16956. 10:53:58then for the salary dashboard it says
  16957. 10:53:59hey check out my work here when I click
  16958. 10:54:01on it it navigates me into this folder
  16959. 10:54:04for the salary dashboard which you need
  16960. 10:54:05to now create a readme 4 also it's just
  16961. 10:54:08good practice to make sure that you
  16962. 10:54:09check to make sure that other link works
  16963. 10:54:11as well and in this case it didn't it's
  16964. 10:54:13a good thing we checked it I had project
  16965. 10:54:152 dashboard and instead it was actually
  16966. 10:54:17project 2 analysis I'm going to commit
  16967. 10:54:20changes and then now when I actually try
  16968. 10:54:22it out bam navigates me to the right
  16969. 10:54:24location so now you have now the basics
  16970. 10:54:26to go through you understand markdown
  16971. 10:54:28enough to edit it I'm going to walk
  16972. 10:54:30through how I built out the project one
  16973. 10:54:33read me and also the project 2 read me
  16974. 10:54:35so that way you have some understanding
  16975. 10:54:37of what you should do going forward with
  16976. 10:54:39the project one I recommend including a
  16977. 10:54:41picture of the dashboard to start and
  16978. 10:54:43then a brief intro detailing why you
  16979. 10:54:45wanted to do this project underneath
  16980. 10:54:47this make sure you include a link to the
  16981. 10:54:49file itself which is conveniently right
  16982. 10:54:51here and then inside of here detailing
  16983. 10:54:54the different skills that you use with
  16984. 10:54:56building this is really important for
  16985. 10:54:58job Seekers that way if a recruiter
  16986. 10:55:01comes and looks at this they see what
  16987. 10:55:02the skills are you used in this and then
  16988. 10:55:04from there I talk about the data set
  16989. 10:55:06itself talking about what we were trying
  16990. 10:55:08to get or extract out of the data so
  16991. 10:55:11basically all the foundation they need
  16992. 10:55:12in the introduction portion this portion
  16993. 10:55:15I recommend keep being the similar
  16994. 10:55:17format the next portion you can feel
  16995. 10:55:19free to go about however you want
  16996. 10:55:21specifically I go into the dashboard
  16997. 10:55:23build breaking it down into three main
  16998. 10:55:25areas of focus on first is the charts
  16999. 10:55:29itself I highlight the different median
  17000. 10:55:31salaries all of the different job titles
  17001. 10:55:33themselves I go into some insights from
  17002. 10:55:35that I also talk about the country map
  17003. 10:55:38and the insights from this as well next
  17004. 10:55:40after charts I move into functions and
  17005. 10:55:42formulas detailing one of the key
  17006. 10:55:44functions that we used using median and
  17007. 10:55:46then an if statement in order to build
  17008. 10:55:48out an array formula so not only
  17009. 10:55:50breaking it down but also explaining
  17010. 10:55:52what insights we're able to get with
  17011. 10:55:54this formula and then the third skill I
  17012. 10:55:56talk about is data validation talking
  17013. 10:55:59about why it's used a gif of How It's
  17014. 10:56:02actually applicable or how it's actually
  17015. 10:56:04visually seen in Excel and then finally
  17016. 10:56:06I just wrap it up with a conclusion so
  17017. 10:56:09to recap for the first project you need
  17018. 10:56:11an intro statement describing what we're
  17019. 10:56:13doing and why you did it and what skills
  17020. 10:56:15you used then then from there on the
  17021. 10:56:16build itself explaining what you
  17022. 10:56:19actually built how you use those skills
  17023. 10:56:21and what insights you got out of it and
  17024. 10:56:23then finally wrap it up with a
  17025. 10:56:24conclusion for the second project mine
  17026. 10:56:27is very similar formatted in that I have
  17027. 10:56:29an introduction Excel skills used the
  17028. 10:56:32data set and then since this one was
  17029. 10:56:34primarily focused on analysis I included
  17030. 10:56:37the four questions that we went through
  17031. 10:56:39and actually answered for our analysis
  17032. 10:56:42so then with the template of these four
  17033. 10:56:44questions I broke each one of those down
  17034. 10:56:47with those questions primarily focusing
  17035. 10:56:49on one what skill did I use to help
  17036. 10:56:52answer that question and then two what
  17037. 10:56:56is the analysis insights I got out of
  17038. 10:56:59answering that question I repeat the
  17039. 10:57:01same thing for the second question
  17040. 10:57:02specifying the skills that we use for
  17041. 10:57:04this and then the analysis or what
  17042. 10:57:06insights we got out of it after going
  17043. 10:57:08through questions three and four we then
  17044. 10:57:10get to our final thing of a conclusion
  17045. 10:57:12of what you actually learn and extracted
  17046. 10:57:14from insights for this so it's really
  17047. 10:57:16good to put all this stuff in it I
  17048. 10:57:18wouldn't be overwhelmed and think you
  17049. 10:57:20need to include everything in it think
  17050. 10:57:22about a job recruiter themselves they
  17051. 10:57:23don't have a lot of time so keeping it
  17052. 10:57:26as short and to the point as possible is
  17053. 10:57:28going to be best for
  17054. 10:57:31you once you're done actually gone
  17055. 10:57:34through and built out your repo with all
  17056. 10:57:36its Associated read me it's time to get
  17057. 10:57:37into actually sharing this on social
  17058. 10:57:40media via LinkedIn I recommend the same
  17059. 10:57:42approach that we used back in Project
  17060. 10:57:44one of listing this down in your project
  17061. 10:57:47section by going through and actually
  17062. 10:57:49clicking the add icon and adding the
  17063. 10:57:51projects if you did go through and
  17064. 10:57:53actually add that salary dashboard
  17065. 10:57:54already I would just focus this one on
  17066. 10:57:57the salary analysis so I'd put in
  17067. 10:57:59something like a name of the data
  17068. 10:58:01science job analysis a description add
  17069. 10:58:03any appropriate skills there's a ton of
  17070. 10:58:05different skills you actually select for
  17071. 10:58:07what you use I would focus on primarily
  17072. 10:58:09these of Microsoft Excel power query
  17073. 10:58:12data modeling ETL and pivot tables for
  17074. 10:58:15the media in this case I would include a
  17075. 10:58:18link to your repo and paste it on into
  17076. 10:58:21here and click add it will then provide
  17077. 10:58:24this snapshot thumbnail of what's going
  17078. 10:58:25on here and a title I like it all I'll
  17079. 10:58:28click apply now if you recall back from
  17080. 10:58:30that first project we tried to provide
  17081. 10:58:32the link of that one drive link for
  17082. 10:58:34Excel and it didn't work so if you have
  17083. 10:58:36that project on LinkedIn I would go
  17084. 10:58:38through and also attach this link as
  17085. 10:58:40well to that so that way they know how
  17086. 10:58:42to navigate to it finally select your
  17087. 10:58:44start and stop date if you have any
  17088. 10:58:46contributors are associated with I don't
  17089. 10:58:47have in this case and then from there
  17090. 10:58:48save it the last thing I recommend doing
  17091. 10:58:51is making a post telling others about
  17092. 10:58:53your project so they can come in and see
  17093. 10:58:54it in it I would definitely include
  17094. 10:58:56something like a link and feel free to
  17095. 10:58:58tag Kelly or myself in it I love
  17096. 10:59:00checking out your projects and seeing
  17097. 10:59:01the different work that you've done for
  17098. 10:59:03it so once again congratulations for
  17099. 10:59:06finishing this course been nothing short
  17100. 10:59:08of your hard work Excel was the first
  17101. 10:59:10skill or main skill that I learned in
  17102. 10:59:12helping me land my first data analytics
  17103. 10:59:15opportunity so I feel the same can go
  17104. 10:59:17for you as well now after you taking a
  17105. 10:59:19short break and you're ready to get back
  17106. 10:59:20into learning more skills I do have a
  17107. 10:59:23squel course that I recommend you taking
  17108. 10:59:26as you've learned from analyzing this
  17109. 10:59:27data Excel and SQL are two of the most
  17110. 10:59:30top skills of data analyst so it pays to
  17111. 10:59:33know it and you can basically learn it
  17112. 10:59:35in a weekend all right with that I'll
  17113. 10:59:37see you then either in the next video or
  17114. 10:59:39in the next course see you there

About this transcript

This page contains the full transcript of Excel for Data Analytics - Full Course for Beginners by Luke Barousse, generated from the public captions YouTube serves with the video. The transcript has 127,250 words across 17,114 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.