Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 247
Default SUMPRODUCT - Tweak

Hi Domenic,

Thank you very much for your assistance. It worked a treat!

=SUMPRODUCT(--(Data=InputCell_DB),SUBTOTAL(3,OFFSET(Data,ROW(Dat a)-MIN(RO
W(Data)),InputCell-1,1)))


I also tried again, the original posted version that gave me #VALUE! error;
I must have had a typo in the Formula on my worksheet because it now returns
the correct value! No error.
I think I had extra parenthesis in my worksheet version.

=SUMPRODUCT(--(Data=InputCell_DB)*(SUBTOTAL(103,OFFSET(INDEX(Dat a,1,1),ROW
(Data)-MIN(ROW(Data)),InputCell-1,,))))

Thanks again.

Cheers,
Sam

Domenic wrote:
Try...

=SUMPRODUCT(--(Data=InputCell_DB),SUBTOTAL(3,OFFSET(Data,ROW(Dat a)-MIN(RO
W(Data)),InputCell-1,1)))

Hope this helps!


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200709/1

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
Does anyone know how to tweak Custom Auto Filter box? [email protected] New Users to Excel 4 July 5th 07 03:48 PM
Array Help Tweak Luke Excel Worksheet Functions 13 November 22nd 06 10:29 AM
Sumproduct ceemo Excel Worksheet Functions 3 February 28th 06 09:15 PM
Can someone please tweak my Macro? Wibs Excel Discussion (Misc queries) 3 December 15th 05 05:10 PM


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

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"