<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/i-use-these-excel-functions-and-macros-to-save-hours-every-day-skptnx3kn" -->

---
title: I use these Excel functions and macros to save hours...
description: A personal workflow tour of Excel features that cut repetitive spreadsheet work: XLOOKUP for flexible lookups without VLOOKUP's column-position limits, UNIQUE...
canonical: https://daily.dev/posts/i-use-these-excel-functions-and-macros-to-save-hours-every-day-skptnx3kn
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I use these Excel functions and macros to save hours every day | daily.dev
og:description: A personal workflow tour of Excel features that cut repetitive spreadsheet work: XLOOKUP for flexible lookups without VLOOKUP's column-position limits, UNIQUE...
og:url: https://daily.dev/posts/i-use-these-excel-functions-and-macros-to-save-hours-every-day-skptnx3kn
og:image: https://api.daily.dev/og/posts/SkptNX3kN.png
og:image:alt: I use these Excel functions and macros to save hours every day
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I use these Excel functions and macros to save hours every day

**[XDA Developers](https://daily.dev/sources/xda-developers)** · 5 min read · 0 upvotes · 0 comments

## Summary

A personal workflow tour of Excel features that cut repetitive spreadsheet work: XLOOKUP for flexible lookups without VLOOKUP's column-position limits, UNIQUE (paired with SORT) for dynamic deduplicated lists, and FILTER for building live report views like unpaid-order lists. It also covers two macros: a data-cleanup macro that trims spaces, removes blanks and duplicates, and auto-formats columns in one run, and a report-preparation macro that chains sorting, formatting, PivotTable refresh, and PDF export into a single command.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.xda-developers.com/use-these-excel-functions-macros-to-save-hours-every-day>

## Questions this post answers

### How do I use XLOOKUP instead of VLOOKUP to pull a value from another sheet?

Use a formula like =XLOOKUP(A2, Master!A:A, Master!B:B, "Not found") to look up a value in one column and return a corresponding value from another, with a fallback if no match is found. Unlike VLOOKUP, XLOOKUP does not require the lookup column to be in a specific position, can search left or right, and uses exact matches by default.

_daily.dev surfaces practical spreadsheet tips like this for people automating repetitive Excel work._

### How can I get a deduplicated, sorted list of unique values in Excel without manually removing duplicates?

Combine the UNIQUE and SORT functions, for example =SORT(UNIQUE(B2:B1000)), to generate a dynamic, alphabetically sorted list of unique entries from a range. The result updates automatically as new entries are added, so there is no need to rerun Remove Duplicates each time the source data changes.

_Developers building reporting tools can find more spreadsheet automation techniques on daily.dev._

### How do I filter a table to show only rows matching a condition, like unpaid orders, using a formula?

Use the FILTER function, for example =FILTER(A2:D1000, D2:D1000="Unpaid", "No unpaid orders"), to create a dynamic view containing only rows where the payment status column equals "Unpaid", with a fallback message if none match. Additional conditions, such as order value thresholds, can be combined into the same filter.

_daily.dev collects workflow automation techniques for anyone building dynamic Excel reports._

## Similar posts on daily.dev

- [This one Excel setting saved me more time than any Copilot or Python feature](https://daily.dev/posts/this-one-excel-setting-saved-me-more-time-than-any-copilot-or-python-feature-mhxd9tijy) · XDA Developers · 0 upvotes · 0 comments
- [Learn Excel Formulas and Functions](https://daily.dev/posts/learn-excel-formulas-and-functions-tkwwefb3a) · freeCodeCamp · 0 upvotes · 0 comments
- [I finally started using Copilot in Microsoft Excel and I should have sooner](https://daily.dev/posts/i-finally-started-using-copilot-in-microsoft-excel-and-i-should-have-sooner-qwriqt7nb) · XDA Developers · 0 upvotes · 0 comments

---

Tags: [#productivity](https://daily.dev/tags/productivity), [#data-analysis](https://daily.dev/tags/data-analysis)

[View this post on daily.dev](https://daily.dev/posts/i-use-these-excel-functions-and-macros-to-save-hours-every-day-skptnx3kn)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"I use these Excel functions and macros to save hours every day","url":"https://daily.dev/posts/i-use-these-excel-functions-and-macros-to-save-hours-every-day-skptnx3kn","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/i-use-these-excel-functions-and-macros-to-save-hours-every-day-skptnx3kn"},"datePublished":"2026-09-22T23:04:09.475Z","dateModified":"2026-09-22T23:04:32.299Z","description":"A personal workflow tour of Excel features that cut repetitive spreadsheet work: XLOOKUP for flexible lookups without VLOOKUP's column-position limits, UNIQUE...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c7d0e0bd46d64fe2cc910a44c0bb434b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c7d0e0bd46d64fe2cc910a44c0bb434b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"XDA Developers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"XDA Developers","logo":"https://media.daily.dev/image/upload/s--kCg6yyAP--/f_auto,q_auto/v1774964407/logos/xda-developers?_a=BAMAMiWQ0","url":"https://daily.dev/sources/xda-developers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/i-use-these-excel-functions-and-macros-to-save-hours-every-day-skptnx3kn","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"productivity,data-analysis","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"XDA Developers","item":"https://daily.dev/sources/xda-developers"},{"@type":"ListItem","position":3,"name":"I use these Excel functions and macros to save hours every day"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/i-use-these-excel-functions-and-macros-to-save-hours-every-day-skptnx3kn#faq","mainEntity":[{"@type":"Question","name":"How do I use XLOOKUP instead of VLOOKUP to pull a value from another sheet?","acceptedAnswer":{"@type":"Answer","text":"Use a formula like =XLOOKUP(A2, Master!A:A, Master!B:B, \"Not found\") to look up a value in one column and return a corresponding value from another, with a fallback if no match is found. Unlike VLOOKUP, XLOOKUP does not require the lookup column to be in a specific position, can search left or right, and uses exact matches by default. daily.dev surfaces practical spreadsheet tips like this for people automating repetitive Excel work."}},{"@type":"Question","name":"How can I get a deduplicated, sorted list of unique values in Excel without manually removing duplicates?","acceptedAnswer":{"@type":"Answer","text":"Combine the UNIQUE and SORT functions, for example =SORT(UNIQUE(B2:B1000)), to generate a dynamic, alphabetically sorted list of unique entries from a range. The result updates automatically as new entries are added, so there is no need to rerun Remove Duplicates each time the source data changes. Developers building reporting tools can find more spreadsheet automation techniques on daily.dev."}},{"@type":"Question","name":"How do I filter a table to show only rows matching a condition, like unpaid orders, using a formula?","acceptedAnswer":{"@type":"Answer","text":"Use the FILTER function, for example =FILTER(A2:D1000, D2:D1000=\"Unpaid\", \"No unpaid orders\"), to create a dynamic view containing only rows where the payment status column equals \"Unpaid\", with a fallback message if none match. Additional conditions, such as order value thresholds, can be combined into the same filter. daily.dev collects workflow automation techniques for anyone building dynamic Excel reports."}}]}
```

