r/ExcelTips • • 12h ago

My manager sent me a 40,000-row sheet at 5 PM and wanted totals by region -before I leave

0 Upvotes

It was a typical week. Dates as text, extra spaces in names, and every lookup came back #N/A.

What saved me wasn't a fancy formula. I did 3 boring things first:

  • TRIM on the key column
  • Turned the text-dates into real dates
  • Checked the total of one region by hand

After that, SUMIFS took 2 minutes. The cleaning took 20.

Anyone else spend most of their Excel time cleaning, not calculating?


r/ExcelTips • • 2h ago

Round prices up and packed-item counts down with Excel CEILING and FLOOR

2 Upvotes

For positive numbers and a positive step, CEILING returns the multiple at or above the number. FLOOR returns the multiple at or below it.

Round prices up to a 5-cent step:

=CEILING(4.42,0.05) returns 4.45

=CEILING(7.13,0.05) returns 7.15

=CEILING(4.95,0.05) stays 4.95 because it is already on the step.

Find how many items fit into full boxes of six:

=FLOOR(14,6) returns 12 packed items, not 12 boxes. That's two full boxes, with two items left over.

=FLOOR(25,6) returns 24 packed items.

=FLOOR(3,6) returns 0 because there aren't enough items for one full box.

These examples were checked in Excel for the web.