Greater Than

Trebby

Board Regular
Joined
Aug 7, 2014
Messages
64
Hi,

In Cell E8 I have the value "30"
In Cell F8 I have "Total Days"
In Cell G8 I have "=(IFERROR(IF(F8>20,"0",IF(F8<20,SUM(20-F8))),""))" So if less than 20 is continues to sum and if more than 20 it returns 0
In Cell H8 I have "=IF(G8>=0,10,IF(G8=0,SUM(E8-20)))" so if equal or more than "0" in cell G8 it returns 10 days, but if G8 is "0", it should sum E8 - 20 days.

I can get G8 to calculate fine and H8 is always returning "10".

Please can you advise?
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Such you can post directly here. But, more importantly, you are not giving examples where the actual (manually calculated) results are shown, rather, as you say, just the 'pretty close" results of the formulas already in the run.

If you enter "24" in cell C10 you will see what I'm trying to achieve. Unfortunately if you enter anything below "20" in cell C10, E10 then counts up but I need to to stay at 10.
 
Upvote 0
If you enter "24" in cell C10 you will see what I'm trying to achieve. Unfortunately if you enter anything below "20" in cell C10, E10 then counts up but I need to to stay at 10.

I'm afraid you missed my point. I'm not interested at all what these formulas do... You need to create a set of examples, forget about the formulas, and report the manually calculated results you are after.
 
Upvote 0

Forum statistics

Threads
1,216,099
Messages
6,128,813
Members
449,469
Latest member
Kingwi11y

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