View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
GS[_6_] GS[_6_] is offline
external usenet poster
 
Posts: 1,182
Default combining MIN and MAX formulas...

I have a situation where i need the result to be constrained between
two numbers . I can do the bottom and top constraints individually
but cannot figure out how to combine the formulas. The formulas i
have are...

Bottom =MAX(350,(A1*0.15%))
Top =MIN(1500,(A1*0.15%))

essentailly i want the result to be constrained between 350 and 1500
when multiplying cell A1 by 0.15%.

Any suggestions?

thanks in advance


Try...

=IF(AND((A1*0.15%)350,(A1*0.15%)<1500),A1*0.15%,0 )

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus