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

Essentials

Mobile

Exec

Budget

Back To Business Guide

Click for more ›

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Christopher Low

Brother RJ-4230B

This small mobile printer is exactly what I need for invoicing and other jobs such as sending fellow tradesman details or step-by-step instructions that I can easily print off from my phone or the Web.

Aysha Strobbe

Microsoft Office 365/HP Spectre x360

Microsoft Office continues to make a student’s life that little bit easier by offering reliable, easy to use, time-saving functionality, while continuing to develop new features that further enhance what is already a formidable collection of applications

Michael Hargreaves

Microsoft Office 365/Dell XPS 15 2-in-1

I’d recommend a Dell XPS 15 2-in-1 and the new Windows 10 to anyone who needs to get serious work done (before you kick back on your couch with your favourite Netflix show.)

Maryellen Rose George

Brother PT-P750W

It’s useful for office tasks as well as pragmatic labelling of equipment and storage – just don’t get too excited and label everything in sight!

Cathy Giles

Brother MFC-L8900CDW

The Brother MFC-L8900CDW is an absolute stand out. I struggle to fault it.

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.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?