Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default sumproduct and sumif

can I use sumproduct, concatenate text and sum column? Here's what I wrote,
but returns diverr....
=CONCATENATE(SUMPRODUCT(--(data!B:B=E5&"-"&D5)*data!H:H))
is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default sumproduct and sumif

Not sure why you need concatenate - the sumproduct function, if it
works, will return a single number.

Unless you are using XL2007, you cannot use full-column references
with sumproduct.

Can you explain in words what you are trying to achieve?

Pete

On Aug 13, 2:29*pm, Boris75 wrote:
can I use sumproduct, concatenate text and sum column? *Here's what I wrote,
but returns diverr....
=CONCATENATE(SUMPRODUCT(--(data!B:B=E5&"-"&D5)*data!H:H))
is this possible?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default sumproduct and sumif

try this
'=SUMPRODUCT(--(data!B2:B22=E5-D5),data!H2:H22)

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Boris75" wrote in message
...
can I use sumproduct, concatenate text and sum column? Here's what I
wrote,
but returns diverr....
=CONCATENATE(SUMPRODUCT(--(data!B:B=E5&"-"&D5)*data!H:H))
is this possible?


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default sumproduct and sumif

Maybe you should describe what you are trying to do, it is hard to derive
from your formula

Also unless you are using 2007 you cannot use B:B or H:H you need to specify
the range



This might work if I interpreted your post correctly


=SUMPRODUCT(--(B1:B100=INDIRECT("E5")&" - "&INDIRECT("D5")),H1:H100)

replace the cell references with what you actually got



--


Regards,


Peo Sjoblom

"Boris75" wrote in message
...
can I use sumproduct, concatenate text and sum column? Here's what I
wrote,
but returns diverr....
=CONCATENATE(SUMPRODUCT(--(data!B:B=E5&"-"&D5)*data!H:H))
is this possible?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default sumproduct and sumif

=SUMIF(B:B,E5&"-"&D5,H:H)


"Boris75" wrote:

can I use sumproduct, concatenate text and sum column? Here's what I wrote,
but returns diverr....
=CONCATENATE(SUMPRODUCT(--(data!B:B=E5&"-"&D5)*data!H:H))
is this possible?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default sumproduct and sumif

This did work...thank you for your quick response.

"Teethless mama" wrote:

=SUMIF(B:B,E5&"-"&D5,H:H)


"Boris75" wrote:

can I use sumproduct, concatenate text and sum column? Here's what I wrote,
but returns diverr....
=CONCATENATE(SUMPRODUCT(--(data!B:B=E5&"-"&D5)*data!H:H))
is this possible?

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default sumproduct and sumif

You're Welcome!

"Boris75" wrote:

This did work...thank you for your quick response.

"Teethless mama" wrote:

=SUMIF(B:B,E5&"-"&D5,H:H)


"Boris75" wrote:

can I use sumproduct, concatenate text and sum column? Here's what I wrote,
but returns diverr....
=CONCATENATE(SUMPRODUCT(--(data!B:B=E5&"-"&D5)*data!H:H))
is this possible?

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
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
HELP !!! SUMIF or SUMPRODUCT Soultek Excel Discussion (Misc queries) 3 March 21st 07 03:30 PM
SUMIF,SUMPRODUCT litngldy New Users to Excel 2 September 12th 06 08:48 AM
Sumif or Sumproduct Steve Excel Worksheet Functions 1 February 4th 06 08:43 PM
sumif or sumproduct Jim Excel Worksheet Functions 2 January 6th 06 01:02 PM


All times are GMT +1. The time now is 09:16 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"