Ricky Morris
Active Member
- Joined
- Mar 31, 2002
- Messages
- 363
Sumif doesn't seems to work accross multiple sheets. How do I accomplish the same results either with an array formula or vba. Excel doesn't seems to recognize a range accross multiple sheets as a valid reference: =ISREF(Sheet2:Sheet3!B10) returns a false. I get the same result when I try to pass the following into a custom function:
Cell A1 = mysum(Sheet2:Sheet3!B10), where mysum is:
Public Function mysum(v As Variant)
Application.Volatile
test = WorksheetFunction.Sum(v)
End Function
Cell A1 = mysum(Sheet2:Sheet3!B10), where mysum is:
Public Function mysum(v As Variant)
Application.Volatile
test = WorksheetFunction.Sum(v)
End Function