Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 471
  • Last Modified:

How to do an is numeric within a SUMIF

Hi all

I have the below formula where the ISNUMBER parameter is not working.
=SUMIF($AA$6:$AA$10000, ISNUMBER($Z$6:$Z$100000),$Z$6:$Z$100000)

Question:  How to pull off a SUMIF where instead of testing the AA column for a specific string ("cash", "not paid"), test it to see if the corresponding AA cell is numeric?  (i.e. a check number)

Thanks in advance.
Jim
0
Jim Horn
Asked:
Jim Horn
1 Solution
 
barry houdiniCommented:
You seem to be testing column Z not column A in that formula? - in any case I don't think you can do that with SUMIF, try this formula

=SUMPRODUCT(ISNUMBER($A$6:$A$100000)+0,$Z$6:$Z$100000)

That will sum column Z if column A is a number, is that what you need?

regards, barry
0
 
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorAuthor Commented:
Changed A to AA, worked like a charm.  Thanks.
=SUMPRODUCT(ISNUMBER($AA$6:$AA$100000)+0,$Z$6:$Z$100000)
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now