I have a sheet that needs to check the value of a few different cells, then return a value depending on what is found. what i have so far is this:
Cell D3 = Current Value of home
Cell E3 = Current 1st mtg Balance
Cell F3 = Current 2nd mtg Balance
Cell G3 = Over Loan to Value (D3-E3-F3)
Cell H3 = At Risk (how much of F3 is at risk)
What i need is the Cell H3 to display one of 3 things, IF D3 is greater than the sum of E3 and F3, then H3 should display 0. If D3 is LESS than the sum of E3 and F3, then H3 should show the difference(which is what G3 shows). I can accomplish all of that with:
=IF(G3<=F3,SUM(F3,G3),0)
The problem i have is if D3 is, for example 100,000. E3 is 200,000. and F3 is 50,000, H3 will display -150,000. What i want it to display is a value no greater than F3.
To simplify, i want H3 to never be larger than F3, but never less than 0. I tried using multipe IF statements but i kept getting syntax errors and im not sure where i am going wrong.
Any help would be MUCH appreciated!
Thank you,
Joe
Bookmarks