profile/1711PSX_20200322_135837.jpg
Ajiri
How To Easily Use The VLOOKUP Function In Microsoft Excel
Have you ever had a large spreadsheet with data in Excel and need an easy way to filter and extract specific information from it? If you learn how to use VLOOKUP in Excel, you can do this lookup with just a single, powerful Excel function.The VLOOKUP function in Excel scares a lot of people because it has a lot of parameters and there are multiple ways to use it. In this article you’ll learn all of the ways you can use VLOOKUP in Excel and why the function is so powerful.
VLOOKUP Parameters In ExcelWhen you start typing =VLOOKUP( into any cell in Excel, you’ll see a pop-up showing all of the available function parameters.Let’s examine each of these parameters and what they mean.lookup_value: The value you’re looking for from the spreadsheettable_array: The range of cells in the sheet you want to search throughcol_index_num: The column where you want to pull your result from[range_lookup]: Match mode (TRUE = approximate, FALSE = exact)
These four parameters let you do a lot of different, useful searches for data inside of very large datasets.A Simple VLOOKUP Excel ExampleVLOOKUP isn’t one of the basic Excel functions you might have learned, so let’s look at a simple example to get started.For the following example, we’ll use a large spreadsheet of SAT scores for schools in the United States. This spreadsheet contains over 450 schools along with individual SAT scores for reading, math, and writing. Feel free to download to follow along. There is an external connection that pulls the data, so you’ll get a warning when opening the file, but it’s safe.
It would be very time consuming to search through such a large dataset to find the school that you’re interested in.Instead, you can create a simple form in the blank cells on the side of the table. To conduct this search, just make one field for School, and three additional fields for reading, math, and writing scores.
Next, you’ll need to use the VLOOKUP function in Excel to make these three fields work. In the Reading field, create the VLOOKUP function as follows:Type =VLOOKUP(Select the School field, which in this example is I2. Type a comma.Select the entire range of cells that contain the data you want to look up. Type a comma.
When you select the range, you can start from the column you’re using to look up (in this case the school name column), and then select all of the other columns and rows that contain the data.Note: The VLOOKUP function in Excel can only search through cells to the right of the search column. In this example, the school name column needs to be to the left of the data you’re looking up.Next, to retrieve the Reading score, you’ll need to select the 3rd column from the leftmost selected column. So, type a 3 and then type another comma.Finally, type FALSE for an exact match, and close the function with a ).Your final VLOOKUP function should look something like this:=VLOOKUP(I2,B2:G461,3,FALSE)When you first press Enter and finish the function, you’ll notice the Reading field will contain an #N/A.
This is because the School field is blank and there is nothing for the VLOOKUP function to find. However, if you enter the name of any high school you want to look up, you’ll see the correct results from that row for the Reading score.
How To Deal With VLOOKUP Being Case- SensitiveYou may notice that if you don’t type the name of the school in the same case as how it’s listed in the dataset, you will not see any results.This is because the VLOOKUP function is case sensitive. This can be annoying, especially for a very large dataset where the column you’re searching through is inconsistent with how things are capitalized.To get around this, you can force what you’re searching for to switch to lowercase before looking up the results. To do this, create a new column next to the column you’re searching. Type the function:=TRIM(LOWER(B2))This will lowercase the school name and remove any extraneous characters (spaces) that might be on the left or right side of the name.Hold down the Shift key and place the mouse cursor over the lower right corner of the first cell until it changes to two horizontal lines. Double click the mouse to autofill the entire column.
Finally, since VLOOKUP will try to use the formula rather than the text in these cells, you need to convert them all to values only. To do this, copy the entire column, right click in the first cell, and paste values only.
Now that all of your data is cleaned up in this new column, slightly modify your VLOOKUP function in Excel to use this new column instead of the previous one by starting the lookup range at C2 instead of B2.=VLOOKUP(I2,C2:G461,3,FALSE)Now you’ll notice that if you always type your search in lower case, you’ll always get a good search result.
This is a handy Excel tip to overcome the fact that VLOOKUP is case sensitive.VLOOKUP Approximate MatchWhile the exact match LOOKUP example described in the first section of this article is pretty straightforward, the approximate match is a little more complex.The approximate match is best used to search through number ranges. To do this correctly the search range needs to be properly sorted. The best example of this is a VLOOKUP function to search for a letter grade that corresponds to a number grade.If a teacher has a long list of student homework grades from throughout the year with a final averaged column, it would be nice to have the letter grade corresponding to that final grade come up automatically.
This is possible with the VLOOKUP function. All that’s required is a lookup table off to the right that contains the appropriate letter grade for each numerical score range.
Now, using the VLOOKUP function and an approximate match, you can find the proper letter grade corresponding to the correct numeric range.In this VLOOKUP function:lookup_value: F2, the final averaged gradetable_array: I2:J8, The letter grade lookup rangeindex_column: 2, the second column in the lookup table[range_lookup]: TRUE, approximate matchOnce you finish the VLOOKUP function in G2 and press Enter, you can fill in the rest of the cells using the same approach described in the last section. You’ll see all of the letter grades properly filled in.Note that the VLOOKUP function in Excel searches from the bottom end of the grade range with the assigned letter score to the top of the range of the next letter score.So, “C†needs to be the letter assigned to the lower range (75), and B is assigned to the bottom (minimum) of its own letter range. VLOOKUP will “find†the result for 60 (D) as the closest approximate value for anything between 60 to 75.VLOOKUP in Excel is a very powerful function that has been available for a long time. It is also useful for finding matching values anywhere in an Excel workbook.Keep in mind, however, that Microsoft users who have a monthly Office 365 subscription now have access to a newer XLOOKUP function. This function has more parameters and additional flexibility. Users with a semi-annual subscription will need to wait for the update to roll out in July 2020.
profile/1711PSX_20200322_135837.jpg
Ajiri
The Worlds Most Popular Operating System Goes To
What's really the most popular operating system? That depends on how you look at them and who's doing the looking. For example, Net Applications shows Windows on top of the desktop operating system mountain with 88.14% of the market. That's not surprising, but Linux -- yes Linux -- seems to have jumped from 1.36% share in March to 2.87% share in April. Has the Linux desktop seen a sudden surge in popularity? I doubt it. I'm writing this story on a PC running Linux Mint and I've been a Linux desktop user since Bash, rather than KDE or GNOME, was the Linux desktop interface. The Linux desktop seems to be catching on in some niches. Mark Shuttleworth, Canonical CEO, reported in 2019, "We have seen companies signing up for Linux desktop support because they want to have fleets of Ubuntu desktop for their artificial intelligence engineers." That's good news, but there really aren't that many AI and machine learning developers out there. By and large, the Linux desktop seems to have blown its last, best chance of overtaking Windows when Windows 7 was put out to pasture earlier this year. The same problems -- no less a figure than Linus Torvalds pointed out -- still exist. "I still wish we were better at having a standardized desktop that goes across all the distribution," Torvalds said. "[It's] a personal annoyance how the fragmentation of the different vendors have, I think, held the desktop back a bit."Other sites that monitor operating systems statistics, like StatCounter, don't see any surge in Linux popularity. If anything, Stat Counter sees Linux declining to a mere 0.7% in April from 0.78% in March.Both Net Applications and StatCounter massage their data. Neither gives us access to the raw data. For that, you must turn to the federal government's Digital Analytics Program (DAP).DAP gives us a running count of the last 90 days of US government website visits. While it doesn't tell us about global operating system use, it does offer us the best information we have about operating system use by Americans.There we find that while Windows is number one on the desktop, it's far from the most popular end-user operating system. That honor, in the United States, goes to Apple's iOS, which powers iPhones, with 32.2%. Windows comes in second with 30.9%. Digging deeper, we discover that Windows 10 is well ahead of the now out-of-date Windows 7 by 25.6% to 3.9%. A paltry 1.1% are still using Windows 8.1. After that, Android is number three with 25.6% . Of course, Android is a mobile version of Linux. When you add in the Linux desktop's 0.9% and Chrome OS, a cloud-based Linux distro, with 1.1% , the greater Linux family comes a lot closer to Windows, but it's still in third place.MacOS, by DAP's count, comes in at fourth place with 9.3% . The last time I took a long, hard look at end-user operating system numbers in 2017, the Linux desktop and macOS were exactly where they are today. Both operating systems have their loyal fans, but neither has gained many new users. The real difference in the last three years is the overall decline of the Windows desktop to iOS and Android. In 2017, Windows was the first place operating system, with iOS closing in with 22.9% and Android close behind at 16.8% .We've seen the rise of the smartphone over the desktop for some time now. By 2012, Facebook users spent more time on the social network from their smartphones than from their PCs. We still talk about PCs as if they were the more important end-user computing device, but the truth is that honor now goes to smartphones. Of course, the PC isn't going away. Sure, people look up websites more often from phones than they do on PCs now. They also spend most of their social time on Facebook, Instagram, and Twitter smartphone apps now. But, for work, you still can't beat PCs. Indeed I wonder if the coronavirus pandemic might briefly reverse the smartphone growth as we spend more time in our home offices. But, regardless of that, for now, and tomorrow the desktop still belongs to Windows, and Americans still love their iPhones. All the other operating systems are important in their places -- Linux for developers, Android for thrifty users, and Macs for its fans and audio, graphic, and video creators. But I see no chance that any of the others will displace iOS and Windows from the top of the operating system mountain.