Dear All,
I've got a file with sum formulas and datas as well,i need to know
when ever i'm getting a negative no as result, it should be zero
or the cell should be empty.
Thanks in Advance,
Aks
Dear All,
I've got a file with sum formulas and datas as well,i need to know
when ever i'm getting a negative no as result, it should be zero
or the cell should be empty.
Thanks in Advance,
Aks
Last edited by akbar; 07-08-2009 at 06:23 AM.
How about: =MAX(0;formula)
Never use Merged Cells in Excel
hello,
Please find the attached file,C4 is giving a negative value and C6 is giving a positive value
actually my requirement is when A4 or B4 is missing the end result should be zero rather
than getting a positive or negative values.
Thanks in Advance,
Aks
Last edited by akbar; 07-07-2009 at 07:07 AM.
in which case:...actually my requirement is when A4 or B4 is missing the end result should be zero rather
than getting a positive or negative values
C4: =IF(COUNT(A4:B4)<2,0,MAX(0,B4-A4))
copied down
or if you're saying negative values now permitted
C4: =IF(COUNT(A4:B4)<2,0,B4-A4)
copied down
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Thanks Dear,It Works.
Thanks,
Aks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks