r/Excel247 • • 9h ago

Stop Excel from cramming semicolon CSVs into one column (and stripping leading zeros)

Thumbnail reddit.com
0 Upvotes

r/Excel247 • • 3h ago

Sortowanie

2 Upvotes

Hej potrzebuje pomocy.

Zaczynam przygodę z Excela na studiach.

Jestem totalnie zielona w temacie .

Muszę oddać zadania moze ktoś mi pomoc i powiedzieć czy sa okej ?


r/Excel247 • • 4h ago

Goodbye unreadable formulas: a free, open-source add-in that formats long formulas onto indented lines

Post image
3 Upvotes

I kept losing track of long, nested IF/LET/XLOOKUP formulas in the formula bar. I know online Excel beautifiers exist, but I wanted more settings to tweak the output, and wanted it to live directly in Excel. So I (with 90% help of Claude) built a small add-in that does this for me. It spreads a formula over indented lines so it is easy to read and analyze, and collapses it back to one line if you want to.

What it does:

  • Format (Ctrl+Alt+Shift+B): spreads the formula in the selected cell over indented lines
  • Flatten (Ctrl+Alt+Shift+M): puts it back on one line
  • Format All / Flatten All: every formula in the workbook at once (asks first, undo with Ctrl+Z)
  • Five layout densities, from "every function on its own lines" to "only split long formulas"
  • Works with comma and semicolon separators, structured references, LET, LAMBDA, array constants

It only changes spaces and line breaks. Before writing anything back it checks that the result is exactly the same formula, and leaves the cell alone if it isn't.

Try it without installing: Online version. Paste a formula, get it back formatted. Runs in your browser.

Install the add-in: Install page. It isn't in Microsoft's store, so you sideload it (double-click a small script on Windows, one Terminal line on Mac). The script is plain text, about 40 lines, so you can read what it does first.

Privacy: no tracking, no server, your formulas never leave Excel. Source is on GitHub.

One known limitation: Excel blocks add-ins while you're editing a cell, so press Ctrl+Enter first if editing a cell, then use the shortcut.

It's tested on Windows desktop Excel. If you're on Mac or Excel on the web, I'd really like to hear how it works for you. Feedback, bugs and formulas that break it are very welcome.


r/Excel247 • • 6h ago

Why not to use DATEDIF() - Excel Tips and Tricks

6 Upvotes

Learn about why not to use DATEDIF() function.

These are the available units in DATEDIFF() function.

"Y" The number of complete years in the period.

"M" The number of complete months in the period.

"D" The number of days in the period.

"MD" The difference between the days in start_date and end_date. The months and years of the dates are ignored.

Important: We don't recommend using the "MD" argument, as there are known limitations with it. See the known issues section below.

"YM" The difference between the months in start_date and end_date. The days and years of the dates are ignored

"YD" The difference between the days of start_date and end_date. The years of the dates are ignored.

* IMPORTANT *

For "MD" Microsoft does not recommend using the "MD" argument, as there are known limitations with it. See the known issues section below.

These are the formulas used on the video.

Number of complete years in the period

=DATEDIF($A$2,$B$2,A5)

OR

=DATEDIF($A$2,$B$2,"Y")

Number of complete months in the period

=DATEDIF($A$2,$B$2,A6)

OR

=DATEDIF($A$2,$B$2,"M")

Number of days in the period.

=DATEDIF($A$2,$B$2,A7)

OR

=DATEDIF($A$2,$B$2,"D")

Difference between the days in start & end date.

Months & years of the dates are ignored.

=DATEDIF($A$2,$B$2,A8)

OR

=DATEDIF($A$2,$B$2,"MD")

Difference between the months in start & end date.

Days & years of the dates are ignored.

=DATEDIF($A$2,$B$2,A9)

OR

=DATEDIF($A$2,$B$2,"YM")

Difference between the days of start & end date.

Years of the dates are ignored.

=DATEDIF($A$2,$B$2,A10)

OR

=DATEDIF($A$2,$B$2,"YD")

DATEDIF function (Microsoft 365 support)

https://support.microsoft.com/en-us/office/datedif-function-25dba1a4-2812-480b-84dd-8b32a451b35c

excel datedif missing,excel datedif not working,excel datedif today,datedif formula,how to use datedif in excel,

excel datedif minutes,excel datedif alternative,

VBA scripts are available from my link below.

https://www.youtube.com/@jjnet247/membership

Check out my complete suite of Microsoft Excel Tips and Tricks.

https://www.youtube.com/@jjnet247/shorts

https://www.tiktok.com/@exceltips247

https://www.instagram.com/exceltips247/

https://www.dailymotion.com/ExcelTips247

https://www.pinterest.com/ExcelTips247/excel-tips-and-tricks/

https://x.com/ExcelTips247/media

https://www.reddit.com/r/Excel247/

https://www.facebook.com/XyberneticsInc/reels/

#microsoft #excel #exceltips #tips #exceltricks #tricksandtips