Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 63
Default sumifs multiple columns help

Excel 2007- I cannot get my sumifs formula to work. If I just have the
sumrange one column of data it works perfect, but I need it to sum multiple
columns. Here is my current formula:
=SUMIFS('Original Data'!$C$2:$C$46668,'Original
Data'!$A$2:$A$46668,$A3,'Original Data'!$B$2:$B$46668,B$1)

I need the first part to read 'Original Data'!$C$2:$N$46668 so it goes from
column C to column N instead of just column C. But when I do this I get a
#Value error. It works just fine when I just have column C as the sumrange
but I need C thru N.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default sumifs multiple columns help

Hi,

Try this

=sumproduct(('Original Data'!$A$2:$A$46668=$A3)*('Original
Data'!$B$2:$B$46668=B$1)*('Original Data'!$C$2:$N$46668))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"duketter" wrote in message
...
Excel 2007- I cannot get my sumifs formula to work. If I just have the
sumrange one column of data it works perfect, but I need it to sum
multiple
columns. Here is my current formula:
=SUMIFS('Original Data'!$C$2:$C$46668,'Original
Data'!$A$2:$A$46668,$A3,'Original Data'!$B$2:$B$46668,B$1)

I need the first part to read 'Original Data'!$C$2:$N$46668 so it goes
from
column C to column N instead of just column C. But when I do this I get a
#Value error. It works just fine when I just have column C as the
sumrange
but I need C thru N.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default sumifs multiple columns help

Try

=SUMPRODUCT(('Original Data'!$A$2:$A$46668=$A3)*
('Original Data'!$B$2:$B$46668=B$1)*('Original Data'!$C$2:$N$46668))

--
Jacob (MVP - Excel)


"duketter" wrote:

Excel 2007- I cannot get my sumifs formula to work. If I just have the
sumrange one column of data it works perfect, but I need it to sum multiple
columns. Here is my current formula:
=SUMIFS('Original Data'!$C$2:$C$46668,'Original
Data'!$A$2:$A$46668,$A3,'Original Data'!$B$2:$B$46668,B$1)

I need the first part to read 'Original Data'!$C$2:$N$46668 so it goes from
column C to column N instead of just column C. But when I do this I get a
#Value error. It works just fine when I just have column C as the sumrange
but I need C thru N.

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
SUMIFs across multiple sheets kwyjibo jones Excel Worksheet Functions 8 April 4th 23 02:30 PM
using sumifs with multiple criteria? Celia Excel Discussion (Misc queries) 3 April 8th 09 02:14 AM
Multiple Sumifs Emeryville John Excel Worksheet Functions 1 September 19th 08 10:12 PM
SumifS Multiple Sum Ranges dee Excel Worksheet Functions 2 May 23rd 07 08:42 PM
SumifS Multiple Sum Ranges Harlan Grove[_2_] Excel Worksheet Functions 0 May 23rd 07 08:40 PM


All times are GMT +1. The time now is 12:58 AM.

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

About Us

"It's about Microsoft Excel"