Formula Assistance Please

johnb1979

Board Regular
Joined
Dec 9, 2019
Messages
50
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I'm pretty sure this is a simple solution for some but I'm struggling and would really appreciate some help please!

If cell A1 is less than the value of B1 then C1 should show 0. However, if A1 is equal to or greater than B1 then C1 should be equal E1. Then I need the following - If A1 is greater than B1 then B1 minus F1, then multiplied by G1.

I hope this all makes sense. Essentially looking for 2 results shown in different cells (formulas for and results shown in C1 & D1).

Thanks for your help!!!
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
If A1 is greater than B1 then B1 minus F1,
You did not say what to return for the second formula if A1<=B1.
Anyway, see if this heads you in the right direction.

23 10 06.xlsm
ABCDEF
1380??2221
28322222221
johnb1979
Cell Formulas
RangeFormula
C1:C2C1=IF(A1<B1,0,E1)
D1:D2D1=IF(A1>B1,B1-F1,"??")
 
Upvote 0
You did not say what to return for the second formula if A1<=B1.
Anyway, see if this heads you in the right direction.

23 10 06.xlsm
ABCDEF
1380??2221
28322222221
johnb1979
Cell Formulas
RangeFormula
C1:C2C1=IF(A1<B1,0,E1)
D1:D2D1=IF(A1>B1,B1-F1,"??")
That's great, thank you Peter and thanks for spotting my error!

The first formula works great thank you...the 2nd is almost there. I need to find a % of the result of B1-F1 in the 2nd formula. The % may change so rather than including a fixed % in the actual formula, I'd like to put the % in another cell (G1 in this example), so that if I change the %, the formula will automatically work...hope that makes sense?

Thanks again, really appreciate you time!
 
Upvote 0
You still did not say what to return if A1<= B1
Sorry, I don't seem to be doing a very good job of explaining myself - but I've used your original suggestion and have managed to make it work now so thank you again , that's been a great help!!
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,975
Members
449,095
Latest member
Mr Hughes

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