Hello. Can I sum a list but have the toal ignore errors (otherwise an error comes up even if there is a lot of data but just one error) Thanks.
Hello. Can I sum a list but have the toal ignore errors (otherwise an error comes up even if there is a lot of data but just one error) Thanks.
You can try:
=AGGREGATE(9,6,your_range)
- Moo
Try this array* formula:
=SUM(IF(NOT(ISERROR(range)),range))
where you should substitute your cell references for range.
*An array formula must be committed using the key combination of Ctrl-Shift-Enter (CSE), rather than the usual <Enter>.
Hope this helps.
Pete
If your range was in, say, A1:A10, you could do something like this:
=SUM(IF(ISNUMBER(A1:A10),A1:A10))
This is an array formula, and must be entered with Ctrl-Shift-Enter, not just Enter
As Moo the Dog points out. The AGGREGATE function is the way to go. That is as long as if you have Excel 2010>
Regards Kevin
Merged Cells (They are the work of the devil!!!)
Oh yes, the aggregate function is great. Thanks![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks