 # Allow me just one moment to geek out with the community. My hobby over the past several years, and what has now morphed into my full time job, is data analysis. At first it was just a hobby with fantasy sports. Eventaully, I became a go to guy in my school as a data aggregator and analysis dude. Now that has morphed into a full time job, with me being asked to sift through ungodly amounts of educational related information and with really quick turnaround times. So, in a high pressure world with the expectation of pretty quick results, I need at least a few tricks up my sleeve. Allow me to share my favorite: ## INDEX(MATCH()), Nectar of the Spreadsheet Gods Look, I know people hate spreadsheets. There was a time when I used to as well. And, I've since moved on to learning SQL and R where life is but a data filled dream. But, every now and again when it is more convenient to just get to a conclusion quick, I always come back to my best data friend. And that is `INDEX(MATCH())`. ## Here's the Situation - Looking up Fantasy Football Stats Say I have a database of information. Say it has a bunch of stuff. Maybe that database looks like this:  Okay, so I love fantasy NFL football. I have sheets like this on every player that has played at least 1 game since 2003. This one just happens to be for Roddy White, Wide Reciever for the Atlanta Falcons. It displays his historical game stats, opponents, week played, and the percentile of his position he was in that week. So, you know, stuff only dorks like me care about. Often, I need to pull really quick information from these sheets and need to get that information instantly. So, say I REALLY need to know how many yards receiving Roddy White had in Week 14 of the 2014 NFL season. Of course, I could just look that up manually like a stupid human:  But, after all, I'm a stupid human and want the computer to just do this for me. ## Strategy #1 - VLOOKUP() Sometimes, when I am slumming it, I will use a function in Excel called `VLOOKUP`. Here's the logic behind it. I tell Excel the column I want it to find something. It will then Vertically look up and down that column until it finds what I want it to find. Then, once it does what I tell it to do it will look across that row in the place I tell it to find what I need it to find. Here's what that command would look like: `=VLOOKUP("14WeekATL",$F$2:$R$29,9,FALSE)`  - `"14WeekATL"` is what I want Excel to find by looking vertically up and down what is in the range `$F$2:$R$29` - `"14WeekATL"` is in quotes because it is a "string", or in normal terms, text. - `$F$2:$R$29` iis the blue selection you see above. The dollar signs are called an absolute reference, which means I only want the computer to look at that range only forever and never mess with it. - `9` means I want Excel to find what is 9 entries over to the right, counting what is in the season column as number 1. - `FALSE` just means I want an exact match. So, FIND WHAT I WANT YOU TO FIND EXCEL! Notice the desired result:  ## Strategy #2 - INDEX(MATCH()) Ahh...like cold water on a warm Summer day. So refreshing, and you intiutively just know its amazing. `VLOOKUP` is always cool to use, but is kind of annoying for two reasons. First, you have to count the number of columns over you want to find a desired entry. And really, who has the time for that? Second, `VLOOKUP` only works if you are trying to find something to the *RIGHT* of the vertical column you identify. If you try to find something to the left? Like the opponent in Week 14 for Atlanta? You know, stuff to the *LEFT* of the vertical column? Maybe something like this? `=VLOOKUP("14WeekATL",$F$2:$R$29,-1,FALSE)`  #### *Whoops! VLOOKUP() don't play that!* Enter `INDEX(MATCH())`. To think like `INDEX(MATCH())`, you have to think like Yoda. Talk in reverse you must...hmmm! To fix the reverse issue with `VLOOKUP`, just tell excel the column you desire to `INDEX`, and it will then `MATCH` the entry you are looking for. Here's what that command would look like: `=INDEX($D$2:$D$29,(MATCH("14WeekATL",$F$2:$F$29,0)))`  - `INDEX` is the range where I want Excel to find my answer. It will be in the column that is between `$D$2:$D$29` - `MATCH` is what I want Excel to find for me. Again, it will be `"14WeekATL"`. - `$F$2:$R$29` is the red selection you see above. It is where the computer will `MATCH` `"14WeekATL"` . - `0` means I want Excel to find an exact match to `"14WeekATL"` . ### The Result???   # So, when life asks you to find a needle in a haystack, you now know what to do! `=INDEX($NEEDLES:$NEEDLES,(MATCH("MY_NEEDLE",$HAYSTACK:$HAYSTACK,0)))` [](https://steemit.com/@team-leibniz)
author | team-leibniz |
---|---|
permlink | need-to-find-something-quick-from-a-list-my-favorite-excel-trick-index-match |
category | blog |
json_metadata | {"tags":["blog","excel","lifehacks","steem","steemit"],"image":["https://i.imgur.com/XgeH7KJ.png","https://i.imgur.com/ISgiCGX.png","https://i.imgur.com/lMNNS9W.png","https://i.imgur.com/RETyvkm.png","https://i.imgur.com/24qDv99.png","https://i.imgur.com/F1SLAh5.png","https://i.imgur.com/4N39RFa.png","https://i.imgur.com/fPfQj5j.png","https://i.imgur.com/7D5iKhV.png","https://img1.steemit.com/0x0/http://i.imgur.com/olhuYuH.png"],"links":["https://steemit.com/@team-leibniz"],"app":"steemit/0.1","format":"markdown"} |
created | 2017-06-23 02:14:12 |
last_update | 2017-06-23 02:14:12 |
depth | 0 |
children | 4 |
last_payout | 2017-06-30 02:14:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 34.434 HBD |
curator_payout_value | 4.939 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 5,106 |
author_reputation | 14,619,505,065,353 |
root_title | "Need To Find Something Quick From a List? My Favorite Excel Trick - Index(Match())" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 5,710,810 |
net_rshares | 3,178,371,271,314 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
berkah | 0 | 26,342,746,616 | 5.7% | ||
wackou | 0 | 823,921,454,797 | 9.5% | ||
joseph | 0 | 23,448,630,512 | 5.7% | ||
team | 0 | 75,536,542,916 | 10% | ||
patrice | 0 | 6,353,661,301 | 19% | ||
fyrstikken | 0 | 109,607,399,390 | 0.05% | ||
picokernel | 0 | 30,215,863,082 | 5.7% | ||
strangerarray | 0 | 3,369,493,933 | 19% | ||
ausbitbank | 0 | 1,052,586,085,193 | 10% | ||
anyx | 0 | 181,766,896,277 | 19% | ||
pkattera | 0 | 325,625,168,627 | 19% | ||
team-leibniz | 0 | 123,235,174,140 | 100% | ||
cristi | 0 | 54,181,060,021 | 20% | ||
mattclarke | 0 | 44,668,146,851 | 20% | ||
ebargains | 0 | 14,960,736,645 | 19% | ||
thegame | 0 | 219,304,701 | 1.9% | ||
steembets | 0 | 264,564,066 | 1.9% | ||
zoee | 0 | 516,512,512 | 19% | ||
vannour | 0 | 8,655,495,813 | 19% | ||
steemland.com | 0 | 221,741,677 | 1.9% | ||
steemprentice | 0 | 7,601,566,696 | 5.7% | ||
cube48 | 0 | 839,189,390 | 5.7% | ||
randowhale | 0 | 262,210,072,304 | 3.6% | ||
paulag | 0 | 2,023,763,854 | 100% |

author | paasz |
---|---|
permlink | re-team-leibniz-need-to-find-something-quick-from-a-list-my-favorite-excel-trick-index-match-20170623t023152982z |
category | blog |
json_metadata | {"tags":["blog"],"image":["https://steemitimages.com/DQmdxfhJF7e6eZyigMx6iCCRh77oZPWkY2vyrvaSHNKgEs7/image.png"],"app":"steemit/0.1"} |
created | 2017-06-23 02:32:00 |
last_update | 2017-06-23 02:32:00 |
depth | 1 |
children | 1 |
last_payout | 2017-06-30 02:32:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.116 HBD |
curator_payout_value | 0.003 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 88 |
author_reputation | 4,120,277,256,569 |
root_title | "Need To Find Something Quick From a List? My Favorite Excel Trick - Index(Match())" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 5,712,458 |
net_rshares | 9,807,556,498 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
team-leibniz | 0 | 6,486,368,944 | 5% | ||
pastzam | 0 | 2,201,116,528 | 100% | ||
zammie | 0 | 1,120,071,026 | 100% |
=INDEX($THANKS:$THANKS,(MATCH("MY_PERSONAL_GREETING",$GREETINGS:$GREETINGS,0)))
author | team-leibniz |
---|---|
permlink | re-paasz-re-team-leibniz-need-to-find-something-quick-from-a-list-my-favorite-excel-trick-index-match-20170623t023358933z |
category | blog |
json_metadata | {"tags":["blog"],"app":"steemit/0.1"} |
created | 2017-06-23 02:34:00 |
last_update | 2017-06-23 02:34:39 |
depth | 2 |
children | 0 |
last_payout | 2017-06-30 02:34:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 79 |
author_reputation | 14,619,505,065,353 |
root_title | "Need To Find Something Quick From a List? My Favorite Excel Trick - Index(Match())" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 5,712,634 |
net_rshares | 0 |
Nice article. I love excel. it rocks. its one of the topics I also post on. Have resteemed
author | paulag |
---|---|
permlink | re-team-leibniz-need-to-find-something-quick-from-a-list-my-favorite-excel-trick-index-match-20170623t222513809z |
category | blog |
json_metadata | {"tags":["blog"],"app":"steemit/0.1"} |
created | 2017-06-23 22:25:15 |
last_update | 2017-06-23 22:25:15 |
depth | 1 |
children | 0 |
last_payout | 2017-06-30 22:25:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 94 |
author_reputation | 274,264,287,951,003 |
root_title | "Need To Find Something Quick From a List? My Favorite Excel Trick - Index(Match())" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 5,831,929 |
net_rshares | 0 |
This post received a 3.6% upvote from @randowhale thanks to @team-leibniz! For more information, [click here](https://steemit.com/steemit/@randowhale/introducing-randowhale-will-you-get-the-100-vote-give-it-a-shot)!
author | randowhale |
---|---|
permlink | re-need-to-find-something-quick-from-a-list-my-favorite-excel-trick-index-match-20170623t024101 |
category | blog |
json_metadata | "{"app": "randowhale/0.1", "format": "markdown"}" |
created | 2017-06-23 02:41:03 |
last_update | 2017-06-23 02:41:03 |
depth | 1 |
children | 0 |
last_payout | 2017-06-30 02:41:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.047 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 216 |
author_reputation | 47,657,457,485,459 |
root_title | "Need To Find Something Quick From a List? My Favorite Excel Trick - Index(Match())" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 5,713,280 |
net_rshares | 3,955,592,284 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
theyeti | 0 | 3,955,592,284 | 1% |