Less Than & Greater Than

S.H.A.D.O.

Well-known Member
Joined
Sep 6, 2005
Messages
1,915
Hi Everyone,

I am having Problems Creating this Formula.

IF(C8=0,0,IF(C8<C30>C28),(C8-C30)*C29+C27)
I think it Might be Something to do with the Way I am Using Less Than & Greater Than.

Any Help will be Greatly Appreciated.
Thanks in Advance.
All the Best.
SHADO
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
S.H.A.D.O

I can't see any "less thans" or "greater thans" in your formula.
..Also ...
...doesn't look correct, and finally...
...probably needs to be in separate parenthese
 
Upvote 0
Thanks for the Reply sykes.

My Fault, the Formula Should be :-

IF(C8=0,0,IF(C8 Less Than C30 Greater Than C28),(C8-C30)*(C29+C27))

Thanks in Advance.
All the Best.
SHADO
 
Upvote 0
OK - just one more thing..
(C8 Less Than C30 Greater Than C28)
... do you mean:
If C8 is less than C30 but also greater than C28 then....?
 
Upvote 0
Thanks again sykes,

That is Exactly what I Mean.
Sorry to have been Vague.

All the Best.
SHADO
 
Upvote 0
This should do it.
I've had to put it in code tags, otherwise the formula is changed by the board's HTML (don't know why that is), however it's not code, just a formula:
Code:
IF(C8=0,0,IF(AND(C8<C30,C8>C28),(C8-C30)*(C29+C27)))
 
Upvote 0

Forum statistics

Threads
1,214,858
Messages
6,121,956
Members
449,057
Latest member
FreeCricketId

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