• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

two formulas in one cell

Ray

New Member
Hello I'm trying to figure out how to get a number then if the number is less than a number then number
Heres what I'm attempting: cell I8 =SUM(G8*H8) **this gets my number, but in the same I8 cell how do I determine if the number is less than 150 then 150
I've been trying to figure it out myself with this: =SUM(G8*H8,IF(I8<150,"150")) but it shows nothing

I hope this makes some kinda sense

Thanks
Ray
 
Here you go


Code:
=IF(AND(ISBLANK(G8),ISBLANK(H8)),"",IF(SUM(G8*H8)>=150,SUM(G8*H8),150))

If both G8 and H8 is blank I8 will be blank

Thanks
 
Back
Top