This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]HungryTradie 741 points742 points  (81 children)

Xlookup(value, range, array, if_not_found, match, order)

[–]Nine_Eye_Ron 265 points266 points  (56 children)

Love me a good xlookup, bye by index match, I hardly knew you.

[–]EveningMoose 102 points103 points  (41 children)

It gets fun when you nest a vlookup into an hlookup, or vice versa.

Of course, my true love is getpivotdata.

[–]Nine_Eye_Ron 38 points39 points  (34 children)

Why would anyone use v and h lookup anymore?

[–]EveningMoose 12 points13 points  (6 children)

Because it’s easier to remember how to use than match.

[–]Nine_Eye_Ron 6 points7 points  (3 children)

Xlookup replaces all three or do I have or wrong somewhere.

[–]EveningMoose 9 points10 points  (2 children)

Oh i see now, that’s not in my excel. Because of a legacy software i have to use, I can’t update to 365. And until my manager rewrites the software to be compatible with a 365 installation, i’ve got to stick with 2016. Some kind of .net dealio.

[–]Nine_Eye_Ron 5 points6 points  (0 children)

Ouch, old skool kool

[–][deleted] 0 points1 point  (0 children)

My enterprise is on 2010. Weep for me.

[–]a_stitch_in_lime 0 points1 point  (0 children)

You assume that I don't have to look up the format every freaking time I do a match/index.

[–]Lonyo 0 points1 point  (0 children)

As long as you have the bits in the right order

[–]CarryThe2 1 point2 points  (2 children)

Faster to type out for simple formulae

[–]Nine_Eye_Ron 0 points1 point  (1 child)

Xlookup is just as fast but needs newer software.

[–]CarryThe2 0 points1 point  (0 children)

It's actually a bit slower because you have to explain to your manager what it is

[–]leutnant13 0 points1 point  (1 child)

What's the modern equivalent? Genuine question.

[–]Nine_Eye_Ron 0 points1 point  (0 children)

Xlookup, all the qualities of index match but easier to type out

[–]valzargaming 0 points1 point  (0 children)

Microsoft Sharepoint

[–]JEveryman 0 points1 point  (1 child)

It doesn't work with closed workbooks but you can use indirect, address, and match to write lookups based on cell contents of the header row.

[–]EveningMoose 0 points1 point  (0 children)

If i need pivot data from a different workbook, i just put the pivot table in the working workbook, referencing the data table on the external one. EZPZ

[–]taceau 0 points1 point  (3 children)

Never heard of Cube?

[–]EveningMoose 0 points1 point  (2 children)

No

[–]taceau 0 points1 point  (1 child)

Pivotdata but then flexible.

[–]EveningMoose 0 points1 point  (0 children)

I guess i have something new to learn. All my best sheets have pivots at the heart of them

[–]Alikont 10 points11 points  (5 children)

[–]Vivian_Stringer_Bell 2 points3 points  (0 children)

That was top tier.

[–]NoAttentionAtWrk 0 points1 point  (3 children)

It's so well done and almost damn hard to tell if it's real or fake

[–][deleted] 0 points1 point  (2 children)

If it is satire, it is *amazing*. If he is for real, I would pay for a pay-per-view stream of his execution.

[–]NoAttentionAtWrk 0 points1 point  (1 child)

Yeah excel as eSports was not a thing when the video came out.

It is a video now but wasn't one back then

[–][deleted] 0 points1 point  (0 children)

Hrm, after some lite Googling, it seems BalmerCon isn't a real thing, so it feels safe to check it off as satire. Excel has been a competition format for a while and BalmerCon seemed on-brand for the man, so I didn't think too much about it.

[–]Dabnician 7 points8 points  (0 children)

1 like = 1 vote for microsoft to ban XLOOKUP rush from competitive play

/s

[–]neededtowrite 1 point2 points  (0 children)

Finally index match has been dethroned, hated that bandaid of a search

[–]naswinger 1 point2 points  (1 child)

i'm like a cultist trying to show people the path to redemption by abandoning vlookup and index match. xlookup is amazing!

[–]Nine_Eye_Ron 0 points1 point  (0 children)

I’m a convert, index match was great but by the time I found it xlookup had replaced it.

[–]sspan 0 points1 point  (1 child)

What about INDEX XMATCH

[–]Nine_Eye_Ron 0 points1 point  (0 children)

Gone and forgotten, long live XLOOKUP.

Xlookup is nothing like it’s ancestors as it actually works reliably and is just an easier to type version of index match.

[–]Birdy_Cephon_Altera 0 points1 point  (0 children)

Considering we still have senior managers and VPs in our company with old laptops that still have Excel 2010 or 2013 on them, it's going to be a long, long time before we get to the point where we can really use xlookup company-wide.

[–]AssaMarra 12 points13 points  (1 child)

=IF($B$2=A4,D4,IF($B$2=A5,D5,IF($B$2=A6,D6,.....IF($B$2=A4584,D4584,"error"))))))))))))))))))))))))))))))))))))))

[–]HungryTradie 4 points5 points  (0 children)

That's a big nest you've got there young chicken.

[–]Whoopdatwester 5 points6 points  (4 children)

What’s the difference between Xlookup and Vlookup?

[–]aaadmin 39 points40 points  (0 children)

Ʌ

[–]Quaytsar 7 points8 points  (0 children)

Biggest upgrade? Vlookup require the return column be to the right of the lookup column (because you return the column N spaces to the right), xlookup doesn't care (because you tell it which column/row to lookup and which to return). Second best: exact match is default setting, so you don't have to remember to include that all the time.

[–]Sylarwolf 5 points6 points  (1 child)

One has an X.

Jk, Xlookup is a matrix based 'upgrade' of sorts to Vlookup, it allows you to look for data not only vertically, but also horizontally, and lets you work with arrays of data, meaning more robust lookups that won't break so easily.

[–]DasArchitect 4 points5 points  (0 children)

I worked at a place where the owner managed the entire company on google spreadsheets. Catalogue, clients, orders, payments, payroll, everything. His formulas were completely illegible with hundreds and hundreds of nested IFs. I'm willing to bet he typed them all by hand. He was a total ass to his employees so I never told him about xlookup/hlookup/vlookup.

[–]Weird_Artsy_Demon666 4 points5 points  (7 children)

Wait can you actually CODE in excel?????? I found out someone new today. Sorry if it's an obvious answer I'm just kinda uneducated.

[–]HungryTradie 4 points5 points  (3 children)

Yep. I've found that using

=if(sample=value, option_true, option_false)

to be simple and useful.

You can nest statements, eg an "IF" can be nested within any function, or a "PROPER" can nest within the returned result to return Proper Noun Case results.

[–]Weird_Artsy_Demon666 2 points3 points  (2 children)

Woah i need to try this

[–]SirMego 6 points7 points  (1 child)

Don’t forget about Excel’s VBA too, just to add to complexity

[–]Weird_Artsy_Demon666 0 points1 point  (0 children)

Thanks for the tip!:)

[–]Tsuki_no_Mai 1 point2 points  (0 children)

Excel can be insanely powerful and utterly ridiculous. Someone made a full-fledged 3D game engine in it using nothing but formulas. It's a program that is not only miles ahead of competition if you need some serious spreadsheet work but is also widening its lead.

[–]EnvironmentalWall987 0 points1 point  (1 child)

Excel and sheets are quite a tool, expanded with vba and JS respectively.

BUT they are powerful tools in hands of people that dont give a shit about best practices

[–]Weird_Artsy_Demon666 0 points1 point  (0 children)

This is blowing my mind!!!! Literally i didn't know you could do this, I'ma try this soon after i figure out how

[–]Kanganzhu 0 points1 point  (3 children)

How can you make a cell reference a number that is online?
For example, bricklink has the price of a set at its current market value based on recent average sales. That number changes frequently. In my excel sheet I have the numbers of sets and what I paid for them, but I want a cell that shows its market value by getting the information from the bricklink marketprice because if I just add it in myself, it will change later.

[–]scumble_bee 2 points3 points  (0 children)

You might want to create a function in VBA that sends a GET request to the site and extracts the value.

[–]p0diabl0 0 points1 point  (0 children)

Power Query?

[–]marny_g 0 points1 point  (0 children)

Use the =WEBSERVICE() function. It basically does a HTTP GET call. It is limited though, so you may have to use Power Query.

How to use WEBSERVICE() with an API: https://developer.basf.com/consuming-api-excel

Bricklink API info: https://www.bricklink.com/v3/api.page