Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
number of times consective data occurs in a range of cells
I have a thirty day worksheet with numbers entered each day form .1 to .99.
Is there any way to calulate how many times .25 was entered two days in a row. example .25 .25 .10 .87 .25 .98 .25 .25 , in this case it would be two times. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
number of times consective data occurs in a range of cells
Try this:
=SUMPRODUCT(--(A1:A99=0.25),--(A2:A100=0.25)) "Thanks a lot Ralph. it worked." wrote: I have a thirty day worksheet with numbers entered each day form .1 to .99. Is there any way to calulate how many times .25 was entered two days in a row. example .25 .25 .10 .87 .25 .98 .25 .25 , in this case it would be two times. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
number of times consective data occurs in a range of cells
Try this array formula**:
=SUM(--(FREQUENCY(IF(rng=0.25,COLUMN(rng)),IF(rng<0.25,C OLUMN(rng)))=2)) This will only count when there are *2* consecutive instances. If you have: ..25, .25, .25,.87, .25, .98, .25, .25 The result will be 1. If you have: ..25, .25, .25,.87, .25, .25, .25, .25 The result will be 0. ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER) Biff "Thanks a lot Ralph. it worked." wrote in message ... I have a thirty day worksheet with numbers entered each day form .1 to .99. Is there any way to calulate how many times .25 was entered two days in a row. example .25 .25 .10 .87 .25 .98 .25 .25 , in this case it would be two times. |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
number of times consective data occurs in a range of cells
I don't know if they want to count when there are more than 2 consecutive
instances but just FTHOI try your formula on this data: ..25, .25, .25, .25, .33, .66 The formula returns the correct result but it's probably not what you'd expect! Biff "Teethless mama" wrote in message ... Try this: =SUMPRODUCT(--(A1:A99=0.25),--(A2:A100=0.25)) "Thanks a lot Ralph. it worked." wrote: I have a thirty day worksheet with numbers entered each day form .1 to .99. Is there any way to calulate how many times .25 was entered two days in a row. example .25 .25 .10 .87 .25 .98 .25 .25 , in this case it would be two times. |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
number of times consective data occurs in a range of cells
this formula shows how many times .25 occurs. I want to know how many times
it occurs two days in a row. "Teethless mama" wrote: Try this: =SUMPRODUCT(--(A1:A99=0.25),--(A2:A100=0.25)) "Thanks a lot Ralph. it worked." wrote: I have a thirty day worksheet with numbers entered each day form .1 to .99. Is there any way to calulate how many times .25 was entered two days in a row. example .25 .25 .10 .87 .25 .98 .25 .25 , in this case it would be two times. |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
number of times consective data occurs in a range of cells
How do i enter this formula? When I put it in a cell it does not act like a
formula. what is "rng" and "column(rng)? "T. Valko" wrote: Try this array formula**: =SUM(--(FREQUENCY(IF(rng=0.25,COLUMN(rng)),IF(rng<0.25,C OLUMN(rng)))=2)) This will only count when there are *2* consecutive instances. If you have: ..25, .25, .25,.87, .25, .98, .25, .25 The result will be 1. If you have: ..25, .25, .25,.87, .25, .25, .25, .25 The result will be 0. ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER) Biff "Thanks a lot Ralph. it worked." wrote in message ... I have a thirty day worksheet with numbers entered each day form .1 to .99. Is there any way to calulate how many times .25 was entered two days in a row. example .25 .25 .10 .87 .25 .98 .25 .25 , in this case it would be two times. |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
number of times consective data occurs in a range of cells
I would like .25 .25 .99 .66 .25 .55 .25 .25 to show equals 2. thats how many
times .25 happens in a row "T. Valko" wrote: I don't know if they want to count when there are more than 2 consecutive instances but just FTHOI try your formula on this data: ..25, .25, .25, .25, .33, .66 The formula returns the correct result but it's probably not what you'd expect! Biff "Teethless mama" wrote in message ... Try this: =SUMPRODUCT(--(A1:A99=0.25),--(A2:A100=0.25)) "Thanks a lot Ralph. it worked." wrote: I have a thirty day worksheet with numbers entered each day form .1 to .99. Is there any way to calulate how many times .25 was entered two days in a row. example .25 .25 .10 .87 .25 .98 .25 .25 , in this case it would be two times. |
#8
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
number of times consective data occurs in a range of cells
rng is your actual range of cells. Like A1:J1 or whatever. I assumed your
range was in a row since that's how you posted it. If your actual range is in a column replace every instance of COLUMN in the formula with ROW. Enter the formula as an array. That is, type the formula then use the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER. Biff "Thanks a lot Ralph. it worked." wrote in message ... How do i enter this formula? When I put it in a cell it does not act like a formula. what is "rng" and "column(rng)? "T. Valko" wrote: Try this array formula**: =SUM(--(FREQUENCY(IF(rng=0.25,COLUMN(rng)),IF(rng<0.25,C OLUMN(rng)))=2)) This will only count when there are *2* consecutive instances. If you have: ..25, .25, .25,.87, .25, .98, .25, .25 The result will be 1. If you have: ..25, .25, .25,.87, .25, .25, .25, .25 The result will be 0. ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER) Biff "Thanks a lot Ralph. it worked." wrote in message ... I have a thirty day worksheet with numbers entered each day form .1 to .99. Is there any way to calulate how many times .25 was entered two days in a row. example .25 .25 .10 .87 .25 .98 .25 .25 , in this case it would be two times. |
#9
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
number of times consective data occurs in a range of cells
My formula does exactly what you want. Have you try it out?
"Thanks a lot Ralph. it worked." wrote: this formula shows how many times .25 occurs. I want to know how many times it occurs two days in a row. "Teethless mama" wrote: Try this: =SUMPRODUCT(--(A1:A99=0.25),--(A2:A100=0.25)) "Thanks a lot Ralph. it worked." wrote: I have a thirty day worksheet with numbers entered each day form .1 to .99. Is there any way to calulate how many times .25 was entered two days in a row. example .25 .25 .10 .87 .25 .98 .25 .25 , in this case it would be two times. |
#10
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
number of times consective data occurs in a range of cells
My formula does exactly what you want.
No it doesn't. Try it on this data: ..25, .25, .25, .25, .33, .66 Depending on what the OP wants the result should be either 2 or 0. Your formula returns 3. Biff "Teethless mama" wrote in message ... My formula does exactly what you want. Have you try it out? "Thanks a lot Ralph. it worked." wrote: this formula shows how many times .25 occurs. I want to know how many times it occurs two days in a row. "Teethless mama" wrote: Try this: =SUMPRODUCT(--(A1:A99=0.25),--(A2:A100=0.25)) "Thanks a lot Ralph. it worked." wrote: I have a thirty day worksheet with numbers entered each day form .1 to .99. Is there any way to calulate how many times .25 was entered two days in a row. example .25 .25 .10 .87 .25 .98 .25 .25 , in this case it would be two times. |
#11
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
number of times consective data occurs in a range of cells
How do I write the formula to work accross columns like a1:m1
"Teethless mama" wrote: Try this: =SUMPRODUCT(--(A1:A99=0.25),--(A2:A100=0.25)) "Thanks a lot Ralph. it worked." wrote: I have a thirty day worksheet with numbers entered each day form .1 to .99. Is there any way to calulate how many times .25 was entered two days in a row. example .25 .25 .10 .87 .25 .98 .25 .25 , in this case it would be two times. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
I want to see how many times each number occurs in an array. | Excel Discussion (Misc queries) | |||
Counting the number of times more than 1 variable occurs | Excel Discussion (Misc queries) | |||
How to count the number of times something occurs within a certain month | Excel Worksheet Functions | |||
How to count the number of times something occurs within a certain month | Excel Worksheet Functions | |||
How do I count the times a number occurs in a given criteria? | Excel Discussion (Misc queries) |