Calculating rental fees in Excel

I use Excel to keep track of rental items for my job. An item rents for, say, $1000 for five days; and then, from the sixth day on, the fee is $100 per day. I can't figure out a formula to count the five days with its fixed fee and then add increments of $100 for each day thereafter. - Gary RisingerYou can often solve a problem like this by dividing it into steps. The worksheet illustrated has two sections, labelled Input (rows 2 to 5) and Calculations (rows 8 to 10). The Input section contains values only, while the Calculations section contains formulas. In all cases, the same solution works in Lotus 1-2-3 if you substitute @ for the equal sign.

First, figure extra rental days. Cell B8's formula is =IF(B5>B3,B5-B3,0). It says: if the total number of rental days exceeds the number of days in the base rental period, subtract the days in the base period from the total rental days; otherwise, return 0 (no extra days).

The formula in cell B9 is =B8*B4. It simply multiplies the number of additional days calculated in B8 by the additional-day fee in B4. The "bottom line" formula in cell B1, =B2+B9, adds the base rental fee to the extra-day fee.

The worksheet is using three formulas, which you can reduce to one by replacing cell references with formula text. For example, the final formula (in B10) contains a reference to cell B9. Copy the formula's text (excluding the initial equal sign) from cell B9 to cell B10. The formula in B10 will be =B2+B8*B4. Now the formula refers to cell B8 (which also holds a formula), so you can replace that reference with a copy of cell B8's formula text: =B2+(IF(B5>B3,B5-B3,0)*B4).

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

John Walkenbach

PC World
Show Comments

Brand Post

PC World Evaluation Team Review - MSI GT75 TITAN

"I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it."

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?