r/ExcelTips • • Nov 10 '25

Excel features I randomly discovered and now can’t live without

1.4k Upvotes

You ever click something in Excel by accident and suddenly your life changes? Yeah… that happened. Here are some random features I wish someone told me about earlier:

  1. F4 = repeat last action 🔁 Added bold? F4. Inserted a row? F4. Changed color? F4 again. You basically become a human macro.

  2. CTRL + ; (semicolon) = inserts today’s date 📅 Perfect for logs, trackers, or pretending you’re working on something “today.”

  3. CTRL + 1 = Format Cells directly Opens every formatting option instantly — I was living in the right-click menu for years 😭

  4. Text to Columns (Data → Text to Columns) When you copy data from a website and it’s all crammed in one cell — this saves your soul.

  5. ALT + ENTER = line break inside a cell No more weird merged cells or “why won’t this text go to the next line???” moments.

I swear Excel has 500+ features and we’re all using like… 6. What’s the most underrated Excel trick you’ve found by accident?


r/ExcelTips • • Aug 08 '25

5 Excel Shortcuts I used Everyday

443 Upvotes

Ctrl + Shift + @ → Format as h:mm AM/PM time instantly

Ctrl + Shift + # → Format as dd-mmm-yy date instantly

Ctrl + Shift + $ → Format as Currency (with two decimal places) instantly.

Ctrl + Shift + % → Format as Percentage (no decimal places) instantly.

Ctrl + Shift + & → Add outline border instantly


r/ExcelTips • • 10d ago

After 8 years in data jobs, the one Excel habit I wish I’d started on day 1: Ctrl+T

366 Upvotes

Most of my first few years I was dragging formulas down and fixing broken ranges every time new rows came in.

Then someone showed me Ctrl+T (turn your data into a Table). Since then:

  • Formulas auto-fill for new rows

  • Ranges never break when data grows

  • =SUM(Sales[Amount]) reads like English

  • Pivots and charts update on their own

  • Filters and banding are built in

If your report breaks every month when new data comes in, this is probably why.

What’s one small Excel thing you wish you’d learned earlier?


r/ExcelTips • • Sep 08 '26

You can summarize Excel data without building a PivotTable — GROUPBY does it in one formula

293 Upvotes

Say you have a simple sales table like this:

ProductRegionSales
LaptopEast1250
MouseWest320
KeyboardEast480
LaptopWest980
MouseEast410
MonitorSouth760
KeyboardWest530
LaptopSouth1120
MonitorEast690
MouseSouth350

To see the total sales for each product, you can use:

=GROUPBY(A2:A11,C2:C11,SUM)

Excel returns a summary like this:

ProductTotal Sales
Keyboard1010
Laptop3350
Monitor1450
Mouse1080

The formula is basically saying:

  • A2:A11 → group the data by Product

  • C2:C11 → summarize the Sales values

  • SUM → add the values for each group

And because the result spills automatically, you don't need to manually create or refresh a PivotTable when the source data changes.

Swap SUM for other calculations

SUM is just one option. You can replace it with other functions depending on what you want to summarize:

  • SUM — total the values in each group

  • AVERAGE — calculate the average for each group

  • COUNT — count the numeric values in each group

  • COUNTA — count non-blank values in each group

  • MAX — return the largest value in each group

  • MIN — return the smallest value in each group

  • MEDIAN — return the median for each group

  • PRODUCT — multiply the values in each group

  • STDEV.S — calculate the sample standard deviation for each group

  • STDEV.P — calculate the population standard deviation for each group

  • VAR.S — calculate the sample variance for each group

  • VAR.P — calculate the population variance for each group

GROUPBY can also do more than one calculation

You can return multiple summaries at once.

You can also use GROUPBY to perform multiple calculations at once. Just like in the picture at the top, you can return the total, average, and maximum sales for each product with one formula:

=GROUPBY(A2:A11,C2:C11,HSTACK(SUM,AVERAGE,MAX))

Here, HSTACK combines SUM, AVERAGE, and MAX, so GROUPBY returns all three calculations side by side for each product:

ProductSUMAVERAGEMAX
Keyboard1010505530
Laptop33501116.671250
Monitor1450725760
Mouse1080360410

For quick summaries, it can save you from setting up a PivotTable every time.


r/ExcelTips • • Jul 21 '26

Excel shortcuts that save me the most time when cleaning data

245 Upvotes

Here are some Excel shortcuts I use all the time for common data cleanup and processing tasks. They’re especially handy for cutting down on repetitive clicking when:

  • Filtering data

  • Searching and replacing

  • Removing duplicates

  • Splitting text

  • Selecting visible cells only

  • Sorting data quickly

A few of them, especially Ctrl + E and Alt + ;, can save a surprising amount of time.

ShortcutWhat it does
Ctrl + EAuto-fill data based on patterns
Ctrl + HReplace values or text quickly
Ctrl + FSearch for specific content
Ctrl + Shift + LEnable or disable filters
Alt + ↓Open the selected column filter
Alt + A + S + ASort selected data ascending
Alt + A + S + DSort selected data descending
Alt + A + MDelete duplicate entries
Alt + A + ESeparate text into multiple columns
Alt + ;Select visible cells only
Ctrl + -Remove selected rows or cells
Alt + A + CClear filters from the worksheet
Ctrl + GJump to a specific cell or range

r/ExcelTips • • Apr 02 '24

Use Ctrl + "+" to add a line and Ctrl + "-" to delete it

241 Upvotes

It's so tiring to always have to select the line/right-click/insert.

Select the whole line with Shift + "Space" or the whole column with CTRL + "Space".

Add a column or row with CTRL + "+". Delete it with CTRL + "-".

You can hold down CTRL to quickly repeat the action.

EDIT : If you don't have a numeric keypad, you'll need to use CTRL + SHIFT + "=", above the $ key.

Thanks to u/glykeriduh


r/ExcelTips • • Feb 21 '24

One of the greatest formulas ever: INDEX MATCH and how to use it.

186 Upvotes

The INDEX MATCH formula is one of the greatest formulas to have graced our Excel spreadsheets over the last decade. It is accessible on multiple versions of Excel which means you don't have to be running Office 365/Microsoft 365 to be able to use it. It is also very easy to pick up and use and I show you how to use it vertically and horizontally. Plus if you combine it with the IFNA formula you can replicate the power of the all so powerful XLOOKUP.

Learn how to harness this power when doing lookups in your spreadsheets with this video.

https://youtu.be/4A3gv3luswA?feature=shared


r/ExcelTips • • Sep 29 '26

Make a sheet Very Hidden

176 Upvotes

Got a worksheet filled with data, parameters, lookup tables, or helper calculations that you want to keep out of sight? Simply hiding the worksheet is not always the best solution because many users know how to unhide tabs with a right click and a few clicks in Excel.

Excel VBA includes a worksheet property called Visible that supports a setting named Very Hidden. A Very Hidden worksheet does not appear in Excel's Unhide Sheet dialog, making it much harder for users to discover or access without opening the Visual Basic Editor.

To set a worksheet to Very Hidden manually:
Press Alt + F11 to open the Visual Basic Editor.

In the Project Explorer, select the worksheet you want to hide.

Press F4 to open the Properties window if it is not already visible.

Locate the Visible property.

Change it from -1 - xlSheetVisible to 2 - xlSheetVeryHidden.

The Visible property has three possible values:
xlSheetVisible: The worksheet is visible.

xlSheetHidden: The worksheet is hidden but can be unhidden through Excel's Unhide Sheet dialog.

xlSheetVeryHidden: The worksheet is hidden and does not appear in the Unhide Sheet dialog.

You can also set a worksheet to Very Hidden through VBA code:

Worksheets("Config").Visible = xlSheetVeryHidden

This approach is commonly used for configuration worksheets, lookup tables, parameter sheets, Power Query staging areas, and other supporting data that users do not need to interact with directly. It is not a security feature, but it does provide an additional layer of protection against accidental changes.


r/ExcelTips • • Jan 28 '25

XLOOKUP: The Excel Function You Didn't Know You Needed!

173 Upvotes

Hey! Wanted to share one of my favorite Excel functions: XLOOKUP. If you’re not using it yet, you’re seriously missing out!  

It’s like VLOOKUP but so much better. You can search for a value in one column and return something from any other column—left, right, wherever. No more worrying about column order! Plus, it defaults to exact matches (no more FALSE at the end of your formula). 

Why it’s awesome: XLOOKUP can search in any direction (left or right—unlike VLOOKUP), lets you reference specific ranges instead of column numbers, and is cleaner and easier to use for most lookups. 

We recently made a video, showing you how to use it. You can find it here: https://youtu.be/qBrZ3EUFvjU  

But if you’re more of a reader, here’s an example to show it in action: 

|| || |Name |Donation Amount |Grad Year | |Christine |$500 |2005 | |Alex |$750 |2010 | |Jamie |$300 |2012 |

Let’s say you want to find out how much Christine donated. Here’s the formula: 

=XLOOKUP("Christine", A2:A4, B2:B4) 

  • "Christine" = The value you’re searching for. 

  • A2:A4 = The column where you’re searching for the name. 

  • B2:B4 = The column where you want to return the result (donation amount). 

Press Enter, and you’ll see: $500. 🎉 

Only downside? It’s only in Excel 2021+ or Microsoft 365. If you’re already using XLOOKUP, what’s your favorite use case? If you haven’t used it yet, give it a try! 


r/ExcelTips • • Jun 03 '26

Replace Nested IFs with Excel’s SWITCH Formula for Cleaner, More Readable Logic

164 Upvotes

If you’ve ever worked with long chains of nested IF statements in Excel, you’ll know how quickly they become messy, hard to read, and even harder to maintain. One small change and suddenly half the logic breaks.

That’s where the SWITCH function comes in. It’s a cleaner, more structured alternative that lets you evaluate one expression and return different results without stacking multiple IFs on top of each other.

Here is a full walkthrough of how to use the SWITCH formula to simplify your logic and keep your spreadsheets easy to understand.

1. SWITCH Formula

The SWITCH function compares one expression against a list of values and returns the result for the first match it finds.

=SWITCH(expression, value1, result1, value2, result2, ..., [default])

  • expression (Mandatory): The value you want to test.

  • value / result pairs (Mandatory): Each value is checked against the expression. If it matches, Excel returns the corresponding result.

  • [default] (Optional): A fallback value returned when no matches are found. This prevents #N/A errors and keeps your sheet tidy.

You can include up to 126 value/result pairs, making SWITCH ideal for structured logic.

2. Mapping Weekday Numbers to Day Names

A use case I've seen is when converting weekday numbers (1 to 7) into readable day names.

This avoids a long nested IF and gives you a clean, readable block of logic.

=SWITCH(A1, 1, "Sunday", 2, "Monday", 3, "Tuesday", 4, "Wednesday", 5, "Thursday", 6, "Friday", 7, "Saturday")

3. Assigning Status Codes

If you work with systems that output numeric codes, SWITCH makes it easy to map them to meaningful labels.

=SWITCH(A1, 200, "Success", 300, "Warning", 500, "Failed", 404, "Not found", "Unknown" )

Adding a default value ensures you never see an unexpected #N/A.

4. Using SWITCH for Grading Systems

You can also use a TRUE expression to handle ranges, which is perfect for grading or categorisation.

=SWITCH(TRUE, C2>=90, "A", C2>=80, "B", C2>=70, "C", C2>=60, "D", "F" )

This approach keeps your logic compact and easy to adjust later.

5. Why SWITCH Is Worth Using

  • Cleaner than nested IF statements

  • Easier to read and maintain

  • Supports a large number of value/result pairs

  • Allows a default value to prevent errors

To see these examples, watch this full video walkthrough: https://youtu.be/jKQQ2ACPvEk?si=aK5T5a2vKfU9eNu7


r/ExcelTips • • Dec 17 '24

It's always nice when you're recognized for your knowledge in Excel if for nothing else.

163 Upvotes

So I work as a night auditor/night manager at a resort and I've had to self teach myself Excel, And I won't say I'm even close to being an expert at it I'm learning new shit all the time, but I will say I know more than I think I know.

So the other day I got sent a spreadsheet that apparently they've been working on for a while and they want me to use and they said it's a work in progress. I shrug and say okay, I mean every Excel spreadsheet is just a work in progress, they can only ever be improved never perfected.

So I'm in putting the information and all that happy horseshit, and I noted that they kind of messed up one of the formulas that was tied to a bunch of other stuff, to me It was a pretty simple fix. And I mean yeah I fixed the formula and that led to a couple of the things going off and I fixed those too, very simple I thought. Bear in mind I've had no formal training in Excel I've just learned on the go.

So the next day I get an email from the person who built the spreadsheet, which is unusual because we don't normally talk and whenever we do talk it's because I've screwed something up. And the subject of the email is "How did you do that?"

Apparently she had been working for a few days trying to figure out the problem and she kind of jerry-rigged how to fix the problem which I un-jerry-rigged and fixed the problem and I thought it was a fairly simple fix but apparently it was not to her. But apparently I fixed a problem that was plaguing her waking nightmares.

It just goes to show as far as Excel goes, you don't know what you know until somebody else doesn't know what you know and you have to teach them. And I'm sure somewhere along the line I'll fuck something up and I'll be working on it tirelessly and finally give up on it and she will come along and fix it easy as punch.

In the world of Excel we should not hoard our knowledge, we should be open to helping others...........and constantly letting the world know that anything and everything needs a spreadsheet.


r/ExcelTips • • Oct 05 '22

Excel XLOOKUP: Explained in 3 minutes with 3 Example Cases

160 Upvotes

No more VLOOKUP or HLOOKUP?! Learn how to use XLOOKUP to solve your Excel lookup problems. Remember those times when your VLOOKUP didn't work? You will be more likely to get your lookup formula correct on your first try. XLOOKUP is available to Excel for Office 365 users.

https://youtu.be/3kexNpz693o


r/ExcelTips • • Jun 05 '25

Data Splitting Hack That Everyone Should Know About!

152 Upvotes

Learn how to use Excel's powerful Flash Fill feature (Ctrl + E) to automatically split postcodes or any consistent data into separate columns. Perfect for data cleaning, address formatting, and processing large datasets in seconds.

Let's say you have a cell with a code like AA1234 and the AA is an Airline Carrier and the 1234 is the flight code for the airline. And you need to split a tonne of these. In the cell next to the code write AA and the cell after that 1234. Under AA hit Ctrl + E and under 1234, do the same. It will split the letters and numbers, even if it is C12345 or AGR038.

https://youtube.com/shorts/1zKQh649nzk


r/ExcelTips • • Oct 02 '26 Bravo

Use XLOOKUP to return multiple columns not next to each other

148 Upvotes

Try this one when you have a whole lot of columns that you need returned but they are in the wrong order and not next to each other:

=XLOOKUP(A1, G:.G, HSTACK(N:.N, H:.H, T:.T),””)

So what is this doing. Well the standard Xlookup has the value (a1) and the look up array (g:g). You probably already know that. But Then it needs the range to return. Using HSTACK or VSTACK you can create an array that connects columns or rows together in whatever order you like. This returns one clean array of results that spills into three columns.

But why use the G:.G? When you tell excel to look up everything in a column it will check every row that is formatted in the sheet. This can be problematic if you are constantly changing the size of the source data through copy and pasting or deleting rows over time. By using the period, you limit it to only using cells with actual values rather than the entire column. This is helpful if you experience slowness with looks of look ups and calculations across multiple sheets.

How do I use this? I get a weekly headcount file where I need to validate my employee list against status, job title, and team. These are spread over 30 columns. Rather than building a look up for each column or deleting columns and reordering them, using this combine formula saves me time and energy by returning just the data that I need.

Good luck analysts!


r/ExcelTips • • Sep 20 '22

How to automate Microsoft Excel using Power Query. Hey I made this video detailing how to use Power Query to speed up your workflow a lot, any feedback is appreciated. Hope it is of use for you!

142 Upvotes

Hi, I really believe that Power Query is one of the most underused and most powerful tools in excel to save tons of time. I uploaded a quick video on how to use it and why. Any feedback is greatly appreciated. Hope it is of use to you!

How to automate Microsoft Excel


r/ExcelTips • • 15d ago

Stop nesting IFs. Use IFS instead (with a simple example)

128 Upvotes

I used to write nested IFs like this to grade marks:

=IF(A2>=90,"A",IF(A2>=75,"B",IF(A2>=50,"C","Fail")))

It works, but it gets hard to read after 3 or 4 levels. IFS does the same job in a cleaner way:

=IFS(A2>=90,"A", A2>=75,"B", A2>=50,"C", TRUE,"Fail")

Things to remember:

  • Excel checks the conditions in order and stops at the first one that is TRUE. So put the highest value first.

  • The last pair TRUE,"Fail" works like an “else”. Without it, you get #N/A when nothing matches.

  • IFS is available in Excel 2019, 2021 and Microsoft 365. Older versions need nested IF.

Do you still use nested IF, or have you switched? Curious what people prefer.

Edit: Thanks for the great comments. Good points about SWITCH, older Excel versions, and using a lookup table for long lists.


r/ExcelTips • • Aug 03 '22

Any Recommended Courses/Ways to Learn Excel on a High Level?

124 Upvotes

I work as a Transportation manager and know very basic functions of Excel. Some of the things I do might be done correctly but it takes me some time to get things done since I'm not proficient with formulas, etc. The company has been requesting lots of reports lately and I feel I'm not reaching my full potential there due to my lack of Excel knowledge.

Are there any recommended courses or classes I can sing up for so that I can take my Excel knowledge to a high level? I've tried YouTube videos but I don't seem to click on that type of learning right now.

Thanks for any help in advanced!


r/ExcelTips • • Aug 19 '26

​I Stopped Making Excel Look Like Excel (Modern Dashboard Guide) 📈

123 Upvotes

Recently revamped my approach to Excel dashboards to move away from the traditional, cluttered look.

​I built a fully dynamic executive dashboard using only standard Excel features—pivot tables, slicers, basic calculations, dynamic arrays (FILTER/TAKE), and clean UI styling.

​Key features included:

​Floating KPI cards with sparklines & trend indicators

​Interactive charts (Sales vs. Leads, Product Mix, Scatter plot)

​Auto-updating dynamic text summary that adapts to slicer selections

​Check out the full breakdown and tutorial: https://youtu.be/ivqxz4Tjz2s


r/ExcelTips • • Aug 07 '26

Trimmed references (A2:.A) - stop writing A2:A1000 and hoping

118 Upvotes

Learned this one from a comment two days ago and it has already deleted a habit I'd had for years, so passing it on.

The problem: you write =SUM(A2:A1000) because you don't know how far your data goes. Too small and you miss rows; too big and you're evaluating 900 empty cells and any formula referencing them has to handle blanks. Then someone pastes row 1001 and your total is quietly wrong.

The fix (Excel 365, fairly recent): put a dot in the reference.

=SUM(A2:.A)

The dot means "trim". A2:.A reads from A2 down to the last non-empty cell in column A and stops there. Add rows, it extends. Delete rows, it shrinks. No table required, no OFFSET/COUNTA gymnastics, no volatile functions.

Three variants:

  • A2:.A - trim the end (the one you'll use 95% of the time)

  • A2.:A100 - trim the start

  • A2.:.A100 - trim both

Where it actually changed something for me: I had a ranking formula wrapped in FILTER purely to drop the empty tail of a range I'd guessed at:

=SORT(FILTER(A2:B1000, B2:B1000>0), 2, -1)

With a trimmed ref the FILTER isn't doing that job any more:

=SORT(HSTACK(A2:.A, B2:.B), 2, -1)

I'd keep FILTER if you have genuinely blank cells in the MIDDLE of your data - trim only handles the tail, so a gap on row 40 still needs filtering. But if your FILTER exists only to compensate for a range you picked out of thin air, this replaces it.

Caveat: needs a current Excel 365 build. Not in Google Sheets, where the equivalent is just leaving the row number off (A2:A), which has done the same job there forever.

EDIT: corrected the trim-the-start syntax - it's A2.:A100, not .A2:A100 (the dot goes after the reference you're trimming from). Thanks u/OldJames47 for catching it.


r/ExcelTips • • Aug 14 '26

7 Practical Things You Can Do with Excel's New =COPILOT() Function

115 Upvotes

I recently got access to the new =COPILOT() worksheet function in Microsoft 365 and spent some time trying it on everyday spreadsheet tasks.

Here are a few examples that I thought were genuinely useful.

1. Generate sample data

You can ask Copilot to generate things like:

  • Fictional project names

  • Employee job titles

  • Product descriptions

  • Customer comments

Example:

=COPILOT("Generate 10 fictional project names")

Possible result:

Project Name
Project Aurora
Green Horizon
Northstar Initiative
BluePeak
Atlas Connect
NovaWorks
Summit Path
BrightBridge
Vertex One
Clearview Project

2. Categorize text automatically

Suppose column A contains support tickets.

Support ticket
Can't sign in to Microsoft 365
Outlook won't send emails
Printer is offline
Excel crashes when opening a large file
Forgot my Windows password
Outlook is running very slowly

In the next column, ask Copilot to categorize each ticket.

Example prompt:

=COPILOT("Assign a category to each support ticket", A2:A7)

Possible result:

Category
Account
Email
Hardware
Software
Account
Email

3. Estimate priority

If you have a long list of requests or issues, Copilot can suggest which ones should be reviewed first.

Example:

=COPILOT("Rate each request as High, Medium, or Low priority", A2:A20)

Obviously you'd still review the results, but it's a nice starting point.

4. Extract information from messy text

Suppose one cell contains:

John Smith
Senior Engineer
[email protected]

Instead of writing text formulas, you can simply ask Copilot to extract the information you need.

For example:

  • Extract the person's name

  • Extract the job title

  • Extract the email address

5. Summarize long notes

If a column contains meeting notes or customer feedback, Copilot can create a short summary for each row.

Example:

=COPILOT("Summarize each note in one sentence", A2:A15)

6. Generate keywords

If you're building a product catalog or website, Copilot can generate search keywords for each product description.

Example:

=COPILOT("Generate three search keywords for each product", A2:A20)

7. Build a schedule or plan

You can also use Copilot to generate structured content based on information already in your worksheet, while adding a second prompt to guide the result.

Option 1: Meal planner

Suppose you have a weekly meal plan, and cell C2 contains a dietary preference.

MealSuggestion
Breakfast
Lunch
Dinner
Snack

Cell C2:

Vegetarian

Formula:

=COPILOT(
"Suggest one meal for each row.",
B5:B8,
"Dietary preference:",
C2)

Here, the first prompt tells Copilot what to generate, while the second prompt adds extra context from another cell.

You can change Vegetarian in cell C2 to High Protein or Gluten Free, and the suggestions update.

Option 2: Employee training plan

WeekTraining Topic
Week 1
Week 2
Week 3
Week 4

Cell C2:

New customer support representative

=COPILOT(
"Suggest one training topic for each week.",
B5:B8,
"Role:",
C2)

Change the role to Sales Manager or Data Analyst, and you get a completely different plan.

Option 3: Travel packing list

CategoryItems
Clothes
Electronics
Toiletries
Documents

Cell C2:

3-day business trip

=COPILOT(
"Suggest what to pack for each category.",
B5:B8,
"Trip type:",
C2)

Things worth knowing

  • It works best with text rather than calculations.

  • It isn't designed for heavy math or very large datasets.

  • You need a Microsoft 365 Copilot license that's tied to a work or school account.

  • The results are AI-generated, so you should always review them.

  • If you want to keep the current AI-generated results, copy them and use Paste Special → Values, since they may change the next time the workbook recalculates.

I'm still experimenting with it, but these are the first use cases that actually felt practical instead of just being AI demos.

Have you found any prompts that work especially well?


r/ExcelTips • • Jan 30 '23

XLOOKUP vs Index Match or VLookup

110 Upvotes

Excel Tips Community,

I recently made the switch to using XLOOKUP and have found several advantages over Index Match and VLOOKUP, but was curious on the sentiment from this community. Given a comfort (and muscle memory) of using Index Match I never wanted to use an alternative lookup method but have found some real benefits to using XLOOKUP including:

  • Built in IFERROR to replace non matched cells

  • Flexible search mode (search from first to last OR last to first)

  • More intuitive argument structure (I find the Lookup Value, Lookup Array, Return Array, easier to use than the Index Match syntax)

I made a brief video discussing the formula VIDEO LINKED HERE and my personal opinion comparing the formulas. Let me know if you've found this formula to be an upgrade or any drawbacks I haven't considered.

Thanks,


r/ExcelTips • • Oct 01 '22

12 Microsoft Excel Functions That Will Make You Feel Like An Expert

110 Upvotes

12 Microsoft Excel Functions That Will Make You Feel Like An Expert

Excel should be taught in schools, but it's not, so here are 12 Excel tips & functions that will increase your productivity and make you feel like an expert

https://www.buzzfeed.com/fluentinfinance/12-microsoft-excel-functions-that-will-make-you-fe-adbsjj04fv


r/ExcelTips • • May 25 '26

Master XLOOKUP beyond basic searches — horizontal lookups, custom error handling (Not Found), wildcard matches, & search modes.

105 Upvotes

Hey Everyone,

Most people only use XLOOKUP for basic vertical lookups, but it’s essentially a superpower that can completely replace VLOOKUP, HLOOKUP, and INDEX/MATCH.

Here is a quick breakdown of the advanced features built directly into its syntax [=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])]:

  • Horizontal Lookups: Because it separates the lookup array from the return array, it handles horizontal data seamlessly without needing a separate function.

  • Built-in Error Handling ([if_not_found]): You no longer need to wrap your formulas in =IFERROR(). You can type your error message (like "Not Found") directly into the 4th argument.

  • Wildcard Matching ([match_mode] = 2): You can look up partial text strings using asterisks (e.g., searching "*Corp*" to find "Microsoft Corp").

  • Search Modes ([search_mode]): You can force Excel to search from the bottom up (-1) or leverage binary searches (2 or -2) for massive datasets.

I put together a comprehensive, step-by-step video breakdown demonstrating exactly how to apply each of these arguments with real-world workbook examples:

https://www.youtube.com/watch?v=FWVAmMwNN58

Hope this helps streamline your workflows! Let me know if you have any questions on setting up these specific match modes.


r/ExcelTips • • Jan 06 '23

How to Use Chat GPT with Excel!

103 Upvotes

I’ve been playing around with Chat GPT and figured out a few interested tasks to leverage the AI tool for. Feel free to take a look to see the power of the AI chat bot! I walk through several formulas with success.

https://youtu.be/wkcodMUQDWA