Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-12-2015, 12:17 PM
Perceptus Perceptus is offline Issue with SumProduct Windows 7 64bit Issue with SumProduct Office 2007
Novice
Issue with SumProduct
 
Join Date: Mar 2015
Posts: 1
Perceptus is on a distinguished road
Default Issue with SumProduct

I am Using the SumProduct function to sum the visible contents of a datatable that gets data from access. this function



=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX($H$12:$H$50098,1,1),ROW($ H$12:$H$50098)-ROW(INDEX($H$12:$H$50098,1,1)),0))=1),--($I$12:$I$50098="1310"), $H$12:$H$50098)

works

but

=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX($H$12:$H$50098,1,1),ROW($ H$12:$H$50098)-ROW(INDEX($H$12:$H$50098,1,1)),0))=1),--($I$12:$I$50098=A6), $H$12:$H$50098)

does not. Even though A6 = 1310.

Can anyone explain why this may occur?
Reply With Quote
  #2  
Old 03-13-2015, 06:23 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Issue with SumProduct Windows 7 64bit Issue with SumProduct Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

"1310" is a text string, while 1310 is a number. Get rid of the double quotes in the 1st formula, that should do
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue with SumProduct Countifs and Sumproduct Algo Excel 6 11-13-2012 07:44 AM
sumproduct?? jer Excel 9 10-14-2012 10:00 AM
Issue with SumProduct Sumproduct formula Portucale Excel 2 09-12-2012 10:51 AM
Match Index with sumproduct/vlookup angie.chang Excel 1 06-18-2012 08:47 AM
Issue with SumProduct Sumproduct angie.chang Excel 3 06-14-2012 10:00 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:11 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft