Help with a budget formula?

woobl

New Member
Joined
Feb 24, 2014
Messages
2
Hi there,

First time poster but long time reader!

I am looking for a formula for a budget that deals with getting a total from an equation if a cell doesn't have any data. I would like to try and figure out the following:

Cell1 - No of People Cell2 - $Rate Cell3 - Weeks Cell4 - $Total

So if Cell1 and Cell2 are filled, but not cell 3 I get a total, and if Cell1xCell2xCell3 are filled, this also gives me a total in Cell4.

This is for a budget for a theatre production whereby these figures can be variable.

If anyone has any ideas I would be most grateful!

Thanks!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
=IF(OR(C2=0,C2=""),A2*B2,A2*B2*C2)

try this in D2, where people are in a2, rate is in b2, weeks in c2.
 
Upvote 0
Hi

One way would be
=A2*B2*(MAX(1,C2))

where if cell 3 is blank, the formula uses 1 instead of 0, so that a value is returned, rather than it automatically making the value 0
 
Upvote 0
Thanks so much! Works great! One thing, is there an option within the formula for D4 to be blank (i.e. no 0 figure) if the other cells aren't populated?

Thanks!
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,874
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top