r/ExcelTips • • May 19 '25

VLOOKUP vs HLOOKUP vs XLOOKUP – Which One Should You Use?

100 Upvotes

If you're navigating Excel's lookup functions, understanding the differences between VLOOKUP, HLOOKUP, and XLOOKUP can save you a ton of headaches! Here's a quick breakdown:
VLOOKUP (Vertical Lookup) – Searches for a value in the first column of a table and returns a corresponding value from another column.
➡️ Limitation: Can only search top to bottom & requires data to be arranged vertically.

HLOOKUP (Horizontal Lookup) – Works similarly but searches in the first row and returns a value from another row.
➡️ Limitation: Can only search left to right & requires data in a horizontal format.

XLOOKUP (The Game Changer) – The most flexible lookup function that allows searching both vertically & horizontally, plus it removes many of VLOOKUP’s limitations.
✅ Can search left/right/up/down ✅ Doesn't require sorted data
✅ Works with exact & approximate matches
✅ Supports return of multiple values

If you’re using older Excel versions, VLOOKUP & HLOOKUP will do the trick, but if you have access to newer versions, XLOOKUP is the way to go!


r/ExcelTips • • Jul 28 '22

What do you think comprises "basic" Excel vs. "intermediate" Excel?

99 Upvotes

Plenty of people use Excel daily without ever getting into formulas, pivot tables, conditional formatting, etc. What do you think a beginner should know and what do they have to do to become an intermediate (in your opinion) level Excel user?


r/ExcelTips • • Sep 30 '22

My favorite 10 Excel shortcuts that will save you time & increase productivity!

Thumbnail
self.fluentinfinance
93 Upvotes

r/ExcelTips • • Jul 26 '22

unlock password protected excel sheet

93 Upvotes

how to unlock password protected excel sheet with knowing the password


r/ExcelTips • • 16d ago

Tip: use XLOOKUP’s 4th argument instead of wrapping lookups in IFERROR

89 Upvotes

If you’ve been writing =IFERROR(VLOOKUP(...), "Not found"), XLOOKUP has the “not found” message built in as its fourth argument.

Before:

=IFERROR(VLOOKUP(A2, Prices!A:B, 2, FALSE), "Not found")

After:

=XLOOKUP(A2, Prices!A:A, Prices!B:B, "Not found")

Syntax, for reference:

=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])

Why it’s better than IFERROR:

  • IFERROR catches every error, not only “value not found”. A typo in a range, a #REF! from a deleted column, or a #VALUE! from bad data would all show up as “Not found”, and you’d never see the real problem.

  • if_not_found only handles the not-found case. Other errors still show, which is usually what you want.

  • It’s shorter, and you don’t have to repeat the lookup.

Two more small things in the same formula:

  • XLOOKUP does an exact match by default. VLOOKUP’s default is approximate match (which is why the FALSE at the end is so often needed).

  • You select the lookup column and the return column separately, so inserting a column in your table doesn’t shift a column index number like VLOOKUP’s 2.

Availability: XLOOKUP is in Excel 2021 and Microsoft 365 (and Excel for the web), but not in older versions like Excel 2019 and earlier. Check your version before sharing a file with someone who may use an older one, because the formula will show an error there.


r/ExcelTips • • Oct 27 '22

Use Python to Automate Excel | Automate Your Data Analysis

86 Upvotes

In this quick video, I’ll showcase how we can use Python to Automate and control Microsoft Excel.

I'll demo how to create new Excel Files from Python, as well as replacing data, saving Workbooks, automatically opening Excel Files and closing the Excel Programme, as well as creating Pandas DataFrames and automatically storing these within Excel!

Check out the short YouTube tutorial below:

https://youtu.be/AceK0iIkQyg


r/ExcelTips • • Oct 20 '26

Getting started with Power Query: the order I do things in, and a few habits that save headaches later

82 Upvotes

If you’re cleaning the same report every month (deleting columns, trimming spaces, filtering rows), Power Query can do it for you. Here’s how I’d get started, plus the habits that stop it getting messy.

Where to find it
Data tab > Get Data. You can connect to a workbook, CSV, folder, web page or database. When the preview appears, click Transform Data to open the Power Query editor.

A simple order that works

  1. Remove any junk rows at the top and bottom (titles, totals).

  2. Promote the first row to headers.

  3. Set your data types (dates, numbers, text).

  4. Remove columns you don’t need.

  5. Filter out rows you don’t want (cancelled orders, blanks).

  6. Clean text (Trim, then Capitalize Each Word).

  7. Add any calculated columns.

  8. Close & Load to a table, then use Refresh All whenever the data changes.

Habits worth building early

  • Leave the raw data alone. Power Query reads your source file but never changes it. Do all your cleaning in the query, so you can always go back.

  • Set headers and data types early. Later steps behave better when they’re in place, and dates stored as text cause all sorts of problems.

  • One step, one purpose. Don’t cram two jobs into one step. It’s much easier to find and fix things later.

  • Name your steps. “Filtered out cancelled orders” beats “Filtered Rows1” when you’re back in six months.

  • Aim for a tidy table. One row per record, one column per field. Pivots and formulas get much easier.

If you get a new file every month
Use the folder connector. Put all the files in one folder and Power Query combines them. When you add next month’s file, you just hit refresh. The part that confused me initially was which steps go in the Transform Sample File query and which in the main query. My rule of thumb: steps that make one file look like a proper table (top rows, headers) go in the sample file, and anything that works on all the rows combined (filters, trimming, calculated columns) goes in the main query.

I made a video that walks through all of this on a simple example, in case it’s useful: https://youtu.be/23vd7vAEH2s

Hope people find this useful!


r/ExcelTips • • Dec 07 '25

If you have a list with gaps (blank cells under headers), stop dragging and pasting manually.

81 Upvotes

I used to waste so much time fixing reports where the category name is only listed in the top row, and the 10 rows below it are blank. I just learned you can do this in about 5 seconds:

  1. Select the column with the gaps.

  2. Press F5 (or Ctrl + G) -> Click Special -> Select Blanks.

  3. Now that only the empty cells are selected, type = and hit the Up Arrow key (so it looks at the cell above).

  4. IMPORTANT: Hold Ctrl and hit Enter.

It instantly fills every blank cell with the value above it. I handled a 5,000 row dataset in seconds. Hope this helps someone else!


r/ExcelTips • • Jul 28 '22

what should I practice for a job interview Excel test?

80 Upvotes

r/ExcelTips • • Aug 17 '22

12 Microsoft Excel functions to increase productivity

Thumbnail self.fluentinfinance
78 Upvotes

r/ExcelTips • • Mar 03 '23

Free tool that helps you generate and explain Excel formulas :)

76 Upvotes

Hi, I created a tool that can generate and explain any Excel formula.

I wanted to post it here since many people here need help with Excel formulas and hence might benefit. It's free for up to 5 formulas a day, which should suffice in most use cases :)

https://excelly-ai.io/


r/ExcelTips • • Aug 09 '22

what are the top 5 must know tips for Excel?

76 Upvotes

As per title : what do we feel are the top 5 things to know and learn for an average person to start making use of Excel in some productive way?

Like if you were to teach someone and show them capabilities of Excel.

Edit: thank you all for your insights, muchly appreciated


r/ExcelTips • • Oct 17 '25

Finally figured out the real difference between COUNT and COUNTA in Excel 🤯

73 Upvotes

I’ve been using COUNT for years without realizing it quietly skips text cells — only counts numbers!

So if your dataset has words like “Yes” or “N/A”, you’ll need =COUNTA() instead, which counts all non-empty cells.

COUNT → counts only numeric cells

COUNTA → counts everything that’s not blank

It’s a tiny detail but super important if you’re summarizing survey data or attendance sheets.

I made a short 30-sec clip showing it in action here if anyone wants to see the difference visually 👇
🎥 https://www.youtube.com/shorts/pd_9ng_7EAQ

What’s another Excel formula you think people commonly misunderstand? I’m thinking of doing a mini-series on these small-but-powerful differences.

If you like bite-sized Excel tips, I’ve been collecting all of them here:

https://www.youtube.com/playlist?list=PL5w9hG_JDbyjTCBFAdRVobtQVZD1PvQRt


r/ExcelTips • • Apr 10 '25

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

72 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://www.youtube.com/watch?v=4A3gv3luswA


r/ExcelTips • • Feb 10 '23

How to Use Chat GPT with Excel and Google Sheets

70 Upvotes

https://youtu.be/BKzvKEeofYw

ChatGPT has the ability to do your job, and you can use it more effectively today within Google Sheets! In this ChatGPT tutorial we will review the capabilities of the powerful AI chatbot and use the free add-on within Google Sheets, GPT For Sheets. For Excel users, you'll be excited to know that you can leverage your Google Sheets creation and bring it directly into Excel afterwards!


r/ExcelTips • • Dec 03 '22

XLOOKUP,VLOOKUP and HLOOKUP explained with examples

70 Upvotes

r/ExcelTips • • Oct 31 '26

PivotTables: what goes where, plus the few habits that stop them breaking

68 Upvotes

I see a lot of people avoid PivotTables because they look more complicated than they are. I avoided them for a long time as well. Once I understood what each box does, it became a lot clearer and now they are one of the most useful things in Excel for me, especially for quick analysis.

Get your data ready first

Most PivotTable problems are really data problems. Before you insert anything, check three things:

  • One row per record, one column per field

  • A unique heading at the top of every column

  • No blank rows and no merged cells

Then click anywhere in the data and press Ctrl + T to turn it into a Table. This matters because when you add new rows later, the Table grows and the PivotTable can pick them up when it refreshes.

Making the PivotTable

Click inside your Table, go to Insert > PivotTable and press OK. You get a blank grid and a field list on the right. If you’re not sure where to start, Insert > Recommended PivotTables will suggest a few layouts.

The four boxes

At the bottom of the field list there are four boxes. This is the bit that confuses people, so here’s how I think about them:

  • Rows: categories listed down the side (Region, for example)

  • Columns: categories across the top (Month)

  • Values: the numbers you want to add up (Sales)

  • Filters: a field that filters the whole report (Product)

The thing that helped me most was to decide what I want to know before I drag anything. If the question is “what were sales by region each month?”, then Region goes in Rows, Month goes in Columns and Sales goes in Values. The question tells you where everything goes.

A few easy customisations

You can get a long way with just these:

  • Count or average instead of a sum: click the field in Values > Value Field Settings > Summarize Values By.

  • Percentages: in the same window, “Show Values As” gives you share of total and similar options.

  • Number format: Value Field Settings > Number Format. This is how you get currency or thousands separators without it looking like a mess.

  • Group dates: right-click a date in the PivotTable > Group, and you can roll daily dates up into months, quarters or years.

  • Sort: right-click a number > Sort > Largest to Smallest, so the biggest items sit at the top.

  • Slicers: PivotTable Analyse > Insert Slicer gives you clickable filter buttons. They’re really handy if anyone else is going to use your file.

When you get more confident you can explore options such as calculated fields and pivot charts.

One warning on this. If a number column is behaving oddly and you get a count when you expected a sum, check whether the numbers are stored as text. PivotTables count text rather than adding it up, so convert them to proper numbers first.

Three habits worth building

These are the ones that have saved me the most trouble.

  1. One PivotTable, one question. It’s tempting to keep dragging more fields in until the thing answers everything. It just gets hard to read. If you have another question, copy the PivotTable to a new sheet and change the fields.

  2. Don’t type over the numbers. A PivotTable is a window onto your data, not the data itself. If something looks wrong, fix it in the source Table and refresh. Anything you type into the PivotTable gets wiped the next time it refreshes.

  3. Refresh, don’t rebuild. A PivotTable doesn’t update itself. Add your new rows to the Table, then go to Data > Refresh All. The bit that catches people out is that old results can still look perfectly believable, so refresh before you send anything to anyone.

Bonus tip: if your column widths keep resetting every time you refresh, right-click the PivotTable > PivotTable Options and untick “Autofit column widths on update”.

That’s really all you need to get going. If you’re newer to this, try it on a small list of your own data, such as expenses or orders. It’s much easier to learn from numbers you actually recognise.


r/ExcelTips • • Sep 09 '26

A Simple Introduction to LET + LAMBDA in Excel

68 Upvotes

​I put together a quick, practical introduction to cleaning up long formulas and creating reusable functions in Excel using LET and LAMBDA.

​What I show in this video:

​LET Basics: How to store calculations (like Revenue - Cost) as named variables so you stop repeating the same math in a formula.

​Structured Table Integration: How to pair LET with table column references to make formulas read like clean code.

​LAMBDA Setup: How to turn custom logic into a named function in Name Manager that works across different sheets and layouts.

​Workbook-Wide Updates: How updating logic inside Name Manager automatically refreshes calculations across your entire file.

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


r/ExcelTips • • Oct 08 '25

How I linked Excel charts to PowerPoint so they update automatically — no macros needed

68 Upvotes

Hey everyone 👋

I just figured out a really useful way to make PowerPoint charts that update automatically from Excel — no macros, no VBA, just Paste Link.

If you make monthly reports or management decks, this can save tons of time.

Here’s what I did:

1️⃣ Created a simple chart in Excel (regions + quarterly data).
2️⃣ Copied it, then in PowerPoint went to Home → Paste → Paste Special → Paste Link.
3️⃣ Now whenever I change the numbers in Excel, the PowerPoint chart updates instantly.

It’s such a small trick but it completely removes that annoying copy-paste step when refreshing slides every week.

I recorded a quick step-by-step walkthrough showing it in action — chart updates live when the data changes:

YouTube: https://www.youtube.com/shorts/kf79UsCAjEo

TikTok: https://www.tiktok.com/@solidtechskills/video/7558154456953556246?is_from_webapp=1&sender_device=pc&web_id=7557155895496672791

Hope this helps someone who does a lot of reporting or dashboards!

If anyone else has tricks for linking Excel with other Office apps, I’d love to hear them. 🙌


r/ExcelTips • • Mar 21 '20

Excel Tips & Tricks

67 Upvotes

Hey everyone,

I created the ultimate Excel tips and tricks video. If you are looking for a great training video check it out at https://youtu.be/FXs3WG7M-qk


r/ExcelTips • • Dec 03 '24

Using Shift F8 to select multiple sections without the mouse

65 Upvotes

I’ve searched for this many places and finally found it.

If you want to select multiple sections using the keyboard: first select a cell or group of cells. Then press shift F8. This then allows you to use the arrow key to move to another section and select a separate section.

This is much like selecting cells with the mouse, then holding ctrl and clicking on another cell/cells.

YouTube for visual folks

https://www.youtube.com/shorts/22q7eD5b-bo


r/ExcelTips • • Oct 29 '26

Using LET() and +N() to explain a formula

62 Upvotes

I had to set up a fairly gnarly formula today and I needed to remember how/why I built it and explain it to my boss. I started with using a LET() function to name portions for my formula so I remembered what I was pulling an calculating. After I built it, I decided I needed to add comments to my formula to explain it to my boss. Here is what it looks like:

=LET(IntakeHours, B13
+N("Pulled from the Intake Hours on Row 13"),
IntakeSeconds, (IntakeHours*3600)
+N("Converts Intake Hours into Seconds"),
SvcAHT, 590
+N("SvcAHT is the current Service AHT"),
Occpancy, 0.9
+N("Sets an occupancy goal of 90%"),
(IntakeSeconds/SvcAHT)*Occpancy
+N("Take the Intake Time / SvcAHT to get a number of calls that can be handled then * Occupancy because agents are 100% busy"))

In case you have used LET before, you are essentially building variables that can either contain a value or calculation so you can organize a compels formula in one cell. To make it work, paid each variable with a value. For examples: LET(AHT, 590 assigns the variable AHT the number 590. As long as you have the pattern of a variable name and a value then you can build as many variables as is practical. For instance, LET(AHT, 590, CALLS, 100, WORKLOAD, AHT * CALLS. You then end your formula work your expected output or calculation.

=LET(aht, 590, calls, 100, workload, calls * aht, workload /3600)

This essentially (AHT * CALLS)/3600 to change workload from seconds to hours. So (590 * 100)/3600 =16.389.

The +N() function allows you to add a note or comment inline with your formula without interrupting your formula. You need to include it in line with your formula which means it needs to be in parentheses. Example =(1 + 2 +N(“Comment”)). The formula will ignore the +N() and return the value of 3. Another example could be =XLOOKUP(A2, Z:.Z, Y:.Y, “” +N(“Looks up the employee name and returns the supervisor name or blank if it’s not found.”)).


r/ExcelTips • • Jun 17 '23

15 Excel shortcuts to maximize your productivity:

62 Upvotes

1) Formatting Shortcuts:
• Ctrl + Shift + $ (currency format)
• Ctrl + Shift + % (percent format)
• Ctrl + Shift + # (date format)
• Ctrl + B A (bold format)
• Ctrl + I (italic format)
• Ctrl + U (underline format)
• Ctrl + 5 (strike format)
• Ctrl + 1 (Format Cells box)
2) Pivot Table Shortcuts:
• ALT + N + V (create pivot table)
• ALT + J + T + L (view/Hide Field List)
• Alt + H, S, C (unhide / clear filter on an item)
3) Display Formulas in Cells:
• Ctrl + ~
Example:
If you have a cell that contains a formula, you can use Ctrl + ~ to switch between the formula view and the value view of the cell. This allows you to see the underlying formula used to calculate the cell value.
4) Repeat the Last Action:
• Ctrl + Y
Example:
You have just applied a formatting style to a cell, use Ctrl + Y to quickly apply the same formatting to another cell.
5) Insert current date / Insert current time:
• Ctrl + ; (date)
• Ctrl + Shift + ; (time)
Example:
When tracking the progress of a project, add the date each time a task is completed. Use Ctrl + ; to quickly insert the current date.
6) Autosize columns:
• Alt + H + O + I
Example:
If you have multiple columns, and some of the columns contain text or numbers that are too wide to display in full, then use Alt + H + O + I to quickly adjust the width of the columns to display the full content of the cells.
7) Insert a hyperlink:
• Ctrl + K
Example:
This shortcut is useful for quickly creating a hyperlink to a website, file, or another location in your spreadsheet.
8) AutoSum:
• Alt + =
Example:
The AutoSum shortcut is useful for quickly calculating the sum of a range of cells without having to manually type in the formula
9) Freeze Panes- Rows & Columns:
• Alt + W + F + F
Example:
If you have data with headers in the top row, and you want to keep the headers visible while scrolling, use Alt + W + F + F to freeze the top row, so the headers remain visible while scrolling through the data.
10) Add Filters:
• Ctrl + Shift + L
Example:
This shortcut adds a filter to the selected cells, allowing you to sort and filter the data based on certain information, such as sales data for a time period or region.
Use filter options to display only the information you need.
11) Open spelling & grammar check:
• F7
Example:
Useful for quickly checking your worksheet for spelling and grammar errors to ensure accuracy and professionalism.
12) Insert and Edit Comment in a Cell:
• Shift + F2
Example:
This shortcut is useful for adding comments to cells to provide additional information or context about the data.
13) Move Between Workbook Sheets:
• Ctrl + Page Up
• Ctrl + Page Down
Examples:
This allows you to quickly move between sheets in a workbook, without having to manually click on each sheet tab.
This saves time compared to manually clicking on each sheet tab to navigate.
14) Fill down / Fill right:
• Ctrl + D (down)
Example: This is useful for quickly copying data or formulas from the top cell to the cells below.
• Ctrl + R (right)
Example: This is useful for quickly copying data or formulas from the leftmost cell to the cells to the right.
15) Paste Special:
• Ctrl + Alt + V
Example:
This shortcut opens the Paste Special dialog box, allowing you to select the options for pasting the copied data, such as formatting, formulas, values, or comments.


r/ExcelTips • • Nov 17 '22

Why are vlookups so popular instead of xlookups?

62 Upvotes

I’ve always wondered this. I learned a vlookup first like everyone else in the world. After I found out what an xlookup is I almost never write vlookups into formulas now. There is probably a very simple explanation for this I am overlooking or haven’t thought of.