Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Sumifs in Excel 2007 for only numerical values

Hello,

How can I write a "Sumifs" formula in Excel 2007 which sums only if the
range of a criteria contains numbers?
Example: if sum cells b2:b8 only if cells a2:a8 contain numbers.

Thank you


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Sumifs in Excel 2007 for only numerical values

Hi,

I would use Sumproduct

=SUMPRODUCT((ISNUMBER(A1:A8))*(B1:B8))

Mike

"Tigerxxx" wrote:

Hello,

How can I write a "Sumifs" formula in Excel 2007 which sums only if the
range of a criteria contains numbers?
Example: if sum cells b2:b8 only if cells a2:a8 contain numbers.

Thank you


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sumifs in Excel 2007 for only numerical values

If the numbers in A2:A8 are always positive numbers then you can use this:

=SUMIF(A2:A8,"=0",B2:B8)

If there might be negative numbers in A2:A8 then try this:

=SUMIF(A2:A8,"<1E100",B2:B8)

--
Biff
Microsoft Excel MVP


"Tigerxxx" wrote in message
...
Hello,

How can I write a "Sumifs" formula in Excel 2007 which sums only if the
range of a criteria contains numbers?
Example: if sum cells b2:b8 only if cells a2:a8 contain numbers.

Thank you




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Sumifs in Excel 2007 for only numerical values

Actually I have alphabets in the series too; hence need to check the
condition specifically for "non-numerical" numbers.
Any ideas on how to write a condition for "non-numerical" numbers in a
"sumif" formula?

"T. Valko" wrote:

If the numbers in A2:A8 are always positive numbers then you can use this:

=SUMIF(A2:A8,"=0",B2:B8)

If there might be negative numbers in A2:A8 then try this:

=SUMIF(A2:A8,"<1E100",B2:B8)

--
Biff
Microsoft Excel MVP


"Tigerxxx" wrote in message
...
Hello,

How can I write a "Sumifs" formula in Excel 2007 which sums only if the
range of a criteria contains numbers?
Example: if sum cells b2:b8 only if cells a2:a8 contain numbers.

Thank you





  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sumifs in Excel 2007 for only numerical values

Maybe this:

=SUMPRODUCT(--(ISNUMBER(--A1:A10)),B1:B10)

--
Biff
Microsoft Excel MVP


"Tigerxxx" wrote in message
...
Actually I have alphabets in the series too; hence need to check the
condition specifically for "non-numerical" numbers.
Any ideas on how to write a condition for "non-numerical" numbers in a
"sumif" formula?

"T. Valko" wrote:

If the numbers in A2:A8 are always positive numbers then you can use
this:

=SUMIF(A2:A8,"=0",B2:B8)

If there might be negative numbers in A2:A8 then try this:

=SUMIF(A2:A8,"<1E100",B2:B8)

--
Biff
Microsoft Excel MVP


"Tigerxxx" wrote in message
...
Hello,

How can I write a "Sumifs" formula in Excel 2007 which sums only if the
range of a criteria contains numbers?
Example: if sum cells b2:b8 only if cells a2:a8 contain numbers.

Thank you









  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Sumifs in Excel 2007 for only numerical values

Thank you for the responses.
Actually a syntax for "sumifs" formula would really help as there are other
conditions I am checking too in the "sumifs" formula which I cannot with the
"sumproduct" formula.

"T. Valko" wrote:

Maybe this:

=SUMPRODUCT(--(ISNUMBER(--A1:A10)),B1:B10)

--
Biff
Microsoft Excel MVP


"Tigerxxx" wrote in message
...
Actually I have alphabets in the series too; hence need to check the
condition specifically for "non-numerical" numbers.
Any ideas on how to write a condition for "non-numerical" numbers in a
"sumif" formula?

"T. Valko" wrote:

If the numbers in A2:A8 are always positive numbers then you can use
this:

=SUMIF(A2:A8,"=0",B2:B8)

If there might be negative numbers in A2:A8 then try this:

=SUMIF(A2:A8,"<1E100",B2:B8)

--
Biff
Microsoft Excel MVP


"Tigerxxx" wrote in message
...
Hello,

How can I write a "Sumifs" formula in Excel 2007 which sums only if the
range of a criteria contains numbers?
Example: if sum cells b2:b8 only if cells a2:a8 contain numbers.

Thank you








  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sumifs in Excel 2007 for only numerical values

I have alphabets in the series too; hence need to check the
condition specifically for "non-numerical" numbers.

there are other conditions I am checking too


OK, I think it's time for you to post a small sample of your data and
explain what you're wanting to do. Also, explain what "non-numerical"
numbers are.

SUMIFS is limited to "straight comparisons" only. You can't manipulate an
array for a condition. For example, A1:A10 hold dates that span several
years, B1:B10 hold sales numbers. You want to sum the sales numbers for a
certain month of any year. You can't use SUMIFS for something like that.


--
Biff
Microsoft Excel MVP


"Tigerxxx" wrote in message
...
Thank you for the responses.
Actually a syntax for "sumifs" formula would really help as there are
other
conditions I am checking too in the "sumifs" formula which I cannot with
the
"sumproduct" formula.

"T. Valko" wrote:

Maybe this:

=SUMPRODUCT(--(ISNUMBER(--A1:A10)),B1:B10)

--
Biff
Microsoft Excel MVP


"Tigerxxx" wrote in message
...
Actually I have alphabets in the series too; hence need to check the
condition specifically for "non-numerical" numbers.
Any ideas on how to write a condition for "non-numerical" numbers in a
"sumif" formula?

"T. Valko" wrote:

If the numbers in A2:A8 are always positive numbers then you can use
this:

=SUMIF(A2:A8,"=0",B2:B8)

If there might be negative numbers in A2:A8 then try this:

=SUMIF(A2:A8,"<1E100",B2:B8)

--
Biff
Microsoft Excel MVP


"Tigerxxx" wrote in message
...
Hello,

How can I write a "Sumifs" formula in Excel 2007 which sums only if
the
range of a criteria contains numbers?
Example: if sum cells b2:b8 only if cells a2:a8 contain numbers.

Thank you










Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 -- SUMIFS v SUMPRODUCT MurrayBarn Excel Worksheet Functions 4 June 12th 09 02:53 PM
Sumifs formula in Excel 2007 Tigerxxx Excel Discussion (Misc queries) 3 January 9th 09 09:19 PM
sumifs formula in excel 2007 spudsnruf Excel Discussion (Misc queries) 5 January 8th 08 04:25 PM
Excel 2007 - SUMIFS formula use between tabs Terry Excel Discussion (Misc queries) 2 October 9th 07 03:59 PM
Excel 2007 SUMIFS [email protected] Excel Worksheet Functions 2 April 26th 07 07:12 AM


All times are GMT +1. The time now is 07:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"