How to plan a summer vacation budget in Excel

The trip is June 6 through June 20, 2026. Both of those dates are Saturdays. The room is a separate pair of dates inside that window. The workbook for a longer event list is the event budget.

The three lines

SUMIFS
=SUMIFS(C2:C4,B2:B4,"Stay")
=SUMIFS(C2:C4,B2:B4,"Stay")C5
Three lines, $2,000
ABC
1ItemCategoryAmount
2FlightsTravel$600
3RoomStay$840
4FoodMeals$560
5Stay$840
6Trip$2,000
A picture of one June trip. Flights are $600, the stay is $840, and food is $560. SUMIFS of Stay is $840. The three lines are $2,000.

SUMIFS of the category Stay is $840. SUM of the three amounts is 600 + 840 + 560 = 2,000. A category typed as stay does not match Stay.

Nights are not inclusive days

The nightly rate is the Pier Room’s $140 from the occupancy page. This trip is not that January stay. Six nights at $140 are $840.

Nights
=B2-B1
=B2-B1B3
Six hotel nights
AB
1Check in6/10/2026
2Check out6/16/2026
3Nights6
4Cost$840
A picture of a check-in on June 10 and a checkout on June 16. The night count is 6, with no +1. Six times the $140 Pier Room rate is $840.

June 16 minus June 10 is 6. That is the number of nights when checkout is the morning of the 16th. You do not add 1. The nights are the 10th, 11th, 12th, 13th, 14th, and 15th.

The +1 is for calendar days

xl.overlap.days counts calendar days in both ranges, including both ends. The name needs Microsoft 365, Excel 2024, or Excel for the web. Excel 2021 returns #NAME? for LAMBDA. The subtraction in the picture is the same math.

xl.overlap.days
=MAX(0,MIN(B2,B4)-MAX(B1,B3)+1)
=MAX(0,MIN(B2,B4)-MAX(B1,B3)+1)B5
Three shared January days
AB
1Start 11/1/2026
2End 11/10/2026
3Start 21/8/2026
4End 21/15/2026
5Shared days3
A picture of the overlap-days page. January 1–10 and January 8–15, 2026 share the 8th, the 9th, and the 10th. The count is 3.

January 8, 9, and 10 are the three shared days. Forgetting the +1 reports 2.

The same +1 on the room dates, treated as inclusive calendar days from June 10 through June 16, is 7. The hotel bill is 6 nights, not those 7 calendar days. Use the night count for the $840. Use the overlap count when you need to know which dates sit inside two ranges, such as the trip window and someone else’s visit. Ranges that miss return 0, not a negative.


Template for this article

Event Budget

More from the blog