Try
=SUMIF(A1:A100,"<>#N/A")
VBA Noob
Try
=SUMIF(A1:A100,"<>#N/A")
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
That works great thanks. Is there a way of multiplying two sells excluding the #n/a? Something like a MultiplyIF function, if such a thing exists!!
Can you post an example
VBA Noob
A B
#N/A 4
12 9
4 8
#N/A 6
Want to multiply these columns together but to exclude the #N/A, or if it is there, to return result as 0. Any ideas?
for a single cell
=IF(ISERROR(A1*B1),0,A1*B1)
for a range, entered as an array, so with shift ctrl enter instead of enter at the end
=SUM(IF(ISERROR(A1:A9*B1:B9),0,A1:A9*B1:B9))
Regards
Dav
Great. Thanks both for your help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks