Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Location: Singapore
Posts: 20
Send a message via Skype™ to GijsKijlstra
Default SUMPRODUCT with text cells, returns #VALUE

INTRODUCTION: based criteria in columns A through H, matching column M, numbers in column Q need to be multiplied with numbers in column i, and the result added

=SUMPRODUCT(($A$3:$H$93=$M107)*(Q$3:Q$93)*($I$3:$I $93))

ISSUE: column Q contains besides numbers, also text. (without text in column Q, the formula works like a charm. However with the text in columns Q, it returns #VALUE)

I HAVE TRIED =SUMPRODUCT(($A$3:$H$93=$M107)*ISNUMBER(Q$3:Q$93)* ($I$3:$I$93)) but to no avail: it returns a number that looks like counting the number of cells that match the criteria iso adding them.

Can anyone help me, please!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default SUMPRODUCT with text cells, returns #VALUE

Hi Gijs,

Am Fri, 7 Jul 2017 05:01:35 +0100 schrieb GijsKijlstra:

INTRODUCTION: based criteria in columns A through H, matching column M,
numbers in column Q need to be multiplied with numbers in column i, and
the result added

=SUMPRODUCT(($A$3:$H$93=$M107)*(Q$3:Q$93)*($I$3:$I $93))

ISSUE: column Q contains besides numbers, also text. (without text in
column Q, the formula works like a charm. However with the text in
columns Q, it returns #VALUE)


try it with SUM. SUM ignores text and errors:
=SUM(IF($A$3:$H$93=$M$107;$Q$3:$Q$93*$I$3:$I$93))
and enter the formula with CTRL+Shift+Enter


Regards
Claus B.
--
Windows10
Office 2016
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default SUMPRODUCT with text cells, returns #VALUE

Hi Gijs,

Am Fri, 7 Jul 2017 08:04:51 +0200 schrieb Claus Busch:

try it with SUM. SUM ignores text and errors:
=SUM(IF($A$3:$H$93=$M$107;$Q$3:$Q$93*$I$3:$I$93))
and enter the formula with CTRL+Shift+Enter


sorry, the formula is incomplete:
=SUM(IF(($A$3:$H$93=$M$107)*ISNUMBER($Q$3:$Q$93),$ I$3:$I$93*$Q$3:$Q$93))


Regards
Claus B.
--
Windows10
Office 2016
  #4   Report Post  
Junior Member
 
Location: Singapore
Posts: 20
Send a message via Skype™ to GijsKijlstra
Default

It works like a charm! Herzlichen dank

Gijs
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default SUMPRODUCT with text cells, returns #VALUE

Hi Gijs,

Am Fri, 7 Jul 2017 08:33:37 +0100 schrieb GijsKijlstra:

It works like a charm! Herzlichen dank


you are welcome.

Without array:
=SUMPRODUCT((($A$3:$A$93=$M$107)+ISNUMBER($Q$3:$Q$ 93)),$I$3:$I$93,$Q$3:$Q$93)


Regards
Claus B.
--
Windows10
Office 2016
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 returns !Value# Dana Excel Worksheet Functions 5 November 17th 08 07:04 PM
Min Sumproduct formula returns a zero. checkQ Excel Discussion (Misc queries) 2 May 10th 08 08:06 PM
Sumproduct with text and numbers in cells Lee New Users to Excel 10 April 21st 08 04:18 PM
SumProduct Returns Zero ronnomad Excel Worksheet Functions 4 August 10th 06 02:45 PM
sumproduct returns zero vacation Excel Worksheet Functions 7 January 31st 06 07:56 PM


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