I'm using this formula in column X (=V2-1.5%*V2-0.25)
My problem is is if any of the cells in column V are 0 it gives me a -.25 for a result.
How can I make the formula ignore the cells with 0 & return a total of 0 for the result?
Last edited by markcoronado; 08-26-2009 at 02:13 PM.
Try
=Max(0,V2-1.5%*V2-0.25)
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Well MAX() returns the maximum of all it's arguments (or results of its arguments)...
so if you have the formula I gave above.. and your part returned a negative number, then 0 would be the Max of the 2... but if your part returned a positive number, then that number being greater than (or even equal to 0) would be returned...
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
OK I got it now.
In Excel, the Max function returns the largest value from the numbers provided.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks