A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

sumifs multiple columns help



 
 
Thread Tools Display Modes
  #1  
Old May 7th, 2010, 09:15 PM posted to microsoft.public.excel.worksheet.functions
duketter
external usenet poster
 
Posts: 76
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  
Old May 8th, 2010, 08:20 AM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
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  
Old May 8th, 2010, 08:44 AM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
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.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:36 PM.


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