Q
QTE
Hi Excel Forum,
I'm having difficulty using Sum, Count, Offset, IF, Match (and may b
Row) functions all together to give me the required result. Well,
think these are the correct functions? My syntax is a bit muddled!
No!...Wait! Don't go to the next Post: I'm sure there is a function
haven't used. Help!!
Scenario:
I have two columns. Column H has the data - all numerical values, usin
General Number Format. Column E will house the Formula /Results.
Data starts from Row 6
Column E - Result of Count - Required Results: 0, 1, 2, 3, 2, 5, 0(Row
6 - 12)
Column H - Data - Numbers Being Counted: 84, 33, 48, 100, 33, 52, 5
(Rows 6 -12)
1) Ordinary count of the values in column H, starting at row 6 whic
must return zero (0) in column E Row 6.
Formula Col E:
=COUNT(OFFSET($H$6:$H6,-1,0)) -----Row 6---Result 0
=COUNT(OFFSET($H$6:$H7,-1,0)) -----Row 7---Result 1
=COUNT(OFFSET($H$6:$H8,-1,0)) -----Row 8---Result 2
=COUNT(OFFSET($H$6:$H9,-1,0)) -----Row 9---Result 3
So far, so good.
2) However, I need to add IF, exact MATCH and SUM to the formula abov
starting in Row 6. When it gets to Row 10 value 33 is repeated, so wha
I need to say from the start is: Check IF any values MATCH. If value i
Column H MATCHes CURRENT Row being checked start count again and SU
COUNT - COUNT from the Row below first exactly MATCHed value which i
Row 8 to above the current value (33) being Matched which is Row 9
This will give a summed Count of 2.
=SUM(IF(MATCH($H6,$H$6:$H9),0 ? + the count + offset above?
Result in Column E Row 11 = 5 (value 52 count = 5)
Result in Column E Row 12 = 0 because value 52 was Repeated and MATCHe
the current Row being checked - Row 12 (Column E with Formula) and s
Summed Count would be Column H Row 12 to Column H Row 12 with Offset o
-1.
Working example greatly appreciated.
Kind regards
QT
I'm having difficulty using Sum, Count, Offset, IF, Match (and may b
Row) functions all together to give me the required result. Well,
think these are the correct functions? My syntax is a bit muddled!
No!...Wait! Don't go to the next Post: I'm sure there is a function
haven't used. Help!!
Scenario:
I have two columns. Column H has the data - all numerical values, usin
General Number Format. Column E will house the Formula /Results.
Data starts from Row 6
Column E - Result of Count - Required Results: 0, 1, 2, 3, 2, 5, 0(Row
6 - 12)
Column H - Data - Numbers Being Counted: 84, 33, 48, 100, 33, 52, 5
(Rows 6 -12)
1) Ordinary count of the values in column H, starting at row 6 whic
must return zero (0) in column E Row 6.
Formula Col E:
=COUNT(OFFSET($H$6:$H6,-1,0)) -----Row 6---Result 0
=COUNT(OFFSET($H$6:$H7,-1,0)) -----Row 7---Result 1
=COUNT(OFFSET($H$6:$H8,-1,0)) -----Row 8---Result 2
=COUNT(OFFSET($H$6:$H9,-1,0)) -----Row 9---Result 3
So far, so good.
2) However, I need to add IF, exact MATCH and SUM to the formula abov
starting in Row 6. When it gets to Row 10 value 33 is repeated, so wha
I need to say from the start is: Check IF any values MATCH. If value i
Column H MATCHes CURRENT Row being checked start count again and SU
COUNT - COUNT from the Row below first exactly MATCHed value which i
Row 8 to above the current value (33) being Matched which is Row 9
This will give a summed Count of 2.
=SUM(IF(MATCH($H6,$H$6:$H9),0 ? + the count + offset above?
Result in Column E Row 11 = 5 (value 52 count = 5)
Result in Column E Row 12 = 0 because value 52 was Repeated and MATCHe
the current Row being checked - Row 12 (Column E with Formula) and s
Summed Count would be Column H Row 12 to Column H Row 12 with Offset o
-1.
Working example greatly appreciated.
Kind regards
QT