I'm trying to re-write one of my spreadsheets so that if the data in a cell is less than 0, it only displays 0. Tried a couple of IF forumlas, and according to what I can dig up from google they should work, but I'm getting #NAME? Errors instead. The forumla in question goes at thus:
=IF(B15-B14<0,0,B15-B14)
the data in B15 is my stock amounts, and B14 is what I need. Is there some key flaw in my forumla?
Why doesn't it work. Why....
Moderator: Forum Moderators
-
- Dr Zoidberg
- Posts: 4072
- Joined: February 8th, 2005, 15:54
- Location: BURMINGHUM, England
- Contact:
Re: Why doesn't it work. Why....
Yeah, it's wrong. As it's not working. DUH.Hehulk wrote:Is there some key flaw in my forumla?
Code: Select all
=IF((Usage!F10-L6)<0, 0,(Usage!F10-L6))