Hello Everyone,
Is there a formula that i could write to sum only values in a cell even if there are error message in those cells? eg: Lets say in Column 'A' i have (120,50,25,-10,-52, #NA) I need a formula to sum the values only and ignore any text or error message.
Thanks,
Headley
Last edited by headley4ever; 12-08-2010 at 12:58 PM.
If you have just #N/A then:
If you have multiple error values within the precedent range then use an Array but restrict the range (entire column references aren't permitted pre XL2007)=SUMIF(A:A,"<>#N/A")
=SUM(IF(ISNUMBER(A1:A10000),A1:A10000)) confirmed with CTRL + SHIFT + ENTER (enter alone will not suffice)
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Thanks. The formula works perfectly
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks