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 create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

sykes

Well-known Member
Joined
May 1, 2002
Messages
1,883
Office Version
  1. 365
Platform
  1. Windows
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
 

S.H.A.D.O.

Well-known Member
Joined
Sep 6, 2005
Messages
1,915
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
 

sykes

Well-known Member
Joined
May 1, 2002
Messages
1,883
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

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....?
 

S.H.A.D.O.

Well-known Member
Joined
Sep 6, 2005
Messages
1,915
Thanks again sykes,

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

All the Best.
SHADO
 

sykes

Well-known Member
Joined
May 1, 2002
Messages
1,883
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

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)))
 

sykes

Well-known Member
Joined
May 1, 2002
Messages
1,883
Office Version
  1. 365
Platform
  1. Windows

Forum statistics

Threads
1,144,278
Messages
5,723,467
Members
422,498
Latest member
KAT112014

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
Top