LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sam via OfficeKB.com
 
Posts: n/a
Default Return Summed Count of Multiple Consecutive Numeric Values

Hi Domenic,

Thank you very much - solution worked a treat - Brilliant!

Cheers,
Sam

Domenic wrote:
Let G18:H18 contain 50 and 54


G19, copied across:
=IF(E19=G$18,1,0)


G20, copied down and across:
=IF(E20=G$18,G19+1,0)


Let J18:L18 contain 2, 3, and 4
Let I19:I20 contain 50 and 54


J19, copied down and across:
=SUMPRODUCT(--(OFFSET($G$19:$G$34,0,MATCH($I19,$G$18:$H$18,0)-1)=J$18),--
(OFFSET($G$19:$G$34,1,MATCH($I19,$G$18:$H$18,0)-1)=0))


Hope this helps!


Hi All,

[quoted text clipped - 57 lines]
Cheers,
Sam


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


 
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
Total Summed Count of Numeric Repeat (Paired /Double Instance) Criteria Sam via OfficeKB.com Excel Worksheet Functions 2 March 20th 06 02:29 AM
how to count unique values in excel based on multiple criteria IDBUGM Excel Worksheet Functions 3 March 15th 06 04:00 PM
return multiple corresponding values using INDEX BubbleGum Excel Worksheet Functions 2 January 5th 06 05:43 AM
Return Consecutive Values Sam via OfficeKB.com Excel Worksheet Functions 14 June 9th 05 01:21 AM
How to look up and return multiple values Wendy Excel Worksheet Functions 3 November 3rd 04 04:32 PM


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