Meteorite logoMeteorite
Back to videos

Stop Writing Huge Excel Formulas. (Use ONE DOT Instead)

Use TRIMRANGE and the dot (Trim Refs) to remove blank cells and zeros from Excel formulas that reference whole columns. 📥 Free practice file with the examples from the video: https://www.xelplus.com/trimrange-function-excel/?utm_source=yt-video&utm_medium=vid-description&utm_campaign=download-trimrange&utm_content=trimrange-dot#download 🎓 500,000+ enrolled in our courses. The Black Belt Excel Bundle from the video includes 8 courses, among them Master Excel's Essential Modern Functions 👉 https://www.xelplus.com/course/excel-black-belt/?utm_source=yt-video&utm_medium=vid-general&utm_campaign=black-belt&utm_content=trimrange-dot Referencing a whole column so new rows come in automatically also brings in a long tail of zeros. Add one dot to the reference and they're gone. A dot after the colon (A:.A) trims empty cells at the end. A dot before the colon trims them at the start. The TRIMRANGE function does the same, and its optional arguments let you trim only leading or only trailing cells. The video then uses trimmed ranges in real formulas: a numbered list with SEQUENCE, COUNTA and the A1# spill reference, a UNIQUE list without the stray zero, and VSTACK to combine a Staff sheet and a Management sheet that both keep growing. Last, it replaces an old TAKE and FILTER formula for the last 12 months with TAKE and one dot, and turns the result into a line chart that updates when a new month comes in. Excel Tables still solve this problem. TRIMRANGE helps when you can't use a table. Version note: TRIMRANGE and Trim Refs are in Excel for Microsoft 365 (Windows, Mac and web). They don't work in Excel 2024, 2021 or earlier. Files that use them show a NAME error there. 00:00 Why whole-column references fill your report with zeros 00:56 Add one dot to trim empty cells 01:47 What Trim Refs do 02:08 Trim leading empty cells: dot before the colon 02:26 Numbered list with SEQUENCE and the spill reference 03:14 The TRIMRANGE function 03:54 TRIMRANGE optional arguments 04:15 Clean UNIQUE list without the zero 05:02 Combine sheets with VSTACK and Trim Refs 07:21 Last 12 months with TAKE and one dot 08:59 Dynamic line chart for the last 12 months 09:17 TRIMRANGE vs Excel Tables 📄 Combine multiple sheets with VSTACK: https://www.xelplus.com/excel-vstack-function/?utm_source=yt-video&utm_medium=vid-description&utm_campaign=blog-vstack&utm_content=trimrange-dot 🎬 The # sign in Excel formulas: https://youtu.be/0S5lPoXHX_c 🎬 Excel GROUPBY and PIVOTBY functions: https://youtu.be/mCJzhCxEQlM ➡️ Join this channel to get access to perks: https://www.youtube.com/channel/UCJtUOos_MwJa_Ewii-R3cJA/join ✉️ Get one practical Excel tip every week in our free newsletter, Between the Sheets: https://link.xelplus.com/yt-d-newsletter 🚩 Connect with us: Instagram: https://www.instagram.com/lgharani LinkedIn: https://www.linkedin.com/in/leilagharani #excel #trimrange #exceltips

Suggested videos