I am trying to achieve the following, count the no. of t's and place the no. in the adjacent cell, resetting after each set of t's when a blank cell is encountered....basically to count the no. of t's between two blank cells...i am just learning excel...any help would much appreciated
thanks guys but may be i did not explain properly, i have the t's in the column and i want the no.s in the next coulmn to be put there by the formula applied to the t column....in other words the colums with no.s is the answer i am looking for..
thanks again
thanks guys but may be i did not explain properly, i have the t's in the column and i want the no.s in the next coulmn to be put there by the formula applied to the t column....in other words the colums with no.s is the answer i am looking for..thank
If your first t is in cell A2 do below, if it is not cell A2 the formulas will need adjusting!
In column B next to your first t, copy and paste this formula~ =IF(A3="",COUNTIFS(AA$2:AA$500,AA2,A$2:A$500,"t"),"") Fill down for as many rows that have a t in them
In cell AA2 enter a 1 In cell AA3 copy and paste this formula~ =IF($A3="","",IF(AND($A3="t",A2=""),AA1+1,AA2))
Fill down for as many rows that have a t in them
COUNTIFS will not work in excel prior to excel 2007
If you have excel 2007If your first t is in cell A2 do below, if it is not cell A2 the formulas will need adjusting!In column B next to your first t, copy and paste this formula~=IF(A3="",COUNTIFS(AA$2:AA$500,AA2,A$2:A$500,"t"),"")Fill down for as ma
thanks compound i have the solution....the problem i am having now is that i can't sum the numbers...it works if i type in the no.s but not when it is calculated...the sloution was given to me by jim in poker forum
thanks compound i have the solution....the problem i am having now is that i can't sum the numbers...it works if i type in the no.s but not when it is calculated...the sloution was given to me by jim in poker forum