Two part formula - only progress if criteria one is met

AdamPriest

New Member
Joined
Oct 28, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi,

Sorry if this is a really simple question, but I'm struggling to get my head around a solution.

I'm looking to set up two criteria within a single formula, with the 2nd part of the formula being dependent on the criteria being met in the first part.

This is my table.

1604327179631.png


The formula in cell F12 is currently =(E12*$C$7) i.e number of sales x cost per unit. I'd really like to add a caveat before this to say that if the figure in B12 is lower than the figure in B3 then return a value of £0. if it's greater than it can continue to work out the rest of the formula.

Is that possible?

Thanks,

Adam
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
The formula in cell F12 is currently =(E12*$C$7) i.e number of sales x cost per unit. I'd really like to add a caveat before this to say that if the figure in B12 is lower than the figure in B3 then return a value of £0. if it's greater than it can continue to work out the rest of the formula.
Try just as you say, using an IF function, i.e.
Excel Formula:
=IF(B12<$B$3,0,E12*$C$7)

Note: Depending on your version of Excel, you may need to use semi-colons instead of commas for your argument separators, i.e.
Excel Formula:
=IF(B12<$B$3;0;E12*$C$7)
 
Upvote 0
Maybe?
Excel Formula:
=IF(B12<$B$3,0,(E12*$C$7))
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,257
Members
449,075
Latest member
staticfluids

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