Determine Row Count Based on Cell Contents "Annualized"

blaker

New Member
Joined
Jul 1, 2013
Messages
32
Office Version
  1. 365
Platform
  1. Windows
is there a way to write a formula that counts the number of rows, where the counts starts at offset(2,-1) from cell containing formula, and ends where the word "Annualized" Appears?
any help is much appreciated...
Thanks!!

hopefully this will help..
1626807336927.png
 

Attachments

  • 1626807206903.png
    1626807206903.png
    185.5 KB · Views: 2

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
if your formula is in K2, servings to count in column J, and keyword "Annualized" in L try this:
Excel Formula:
=COUNT(OFFSET(J4,2,0,MATCH("Annualized",OFFSET(L4,2,0,999999,1),0)-1,1))
 
Upvote 0
I may not of given you enough info, I have attached a screen shot that may explain better, I need a formula that will count the number of rows in each group, the number of rows will vary and and sometimes a row will be deleted and the count need to update with new row count... hopefully the entire screen shot will help...
Thanks so much for the help!!
1626901012978.png
 
Upvote 0
Which column do you want counted? S?
My formula is atill what you need just the references must be adjusted. I thougt your formula is in column R, now I see you want it in T.
Use this for the formula in T6:
Excel Formula:
=COUNT(OFFSET(S6,2,0,MATCH("Annualized",OFFSET(S6,2,0,999999,1),0)-1,1))
 
Upvote 0
I want a count of the rows between for the first group where the red cell is 2 this is counting how many rows starting down 2 and to the left 1 that are numbers in green, the end is always the cell with annualized, does this help, not column count row count...
 
Upvote 0
You want ... ?!
I am pretty sure that's what the formula does.
Do you get a different result using the formula?
 
Upvote 0
Looking at your screenshot I suspect that the green $numbers are not numbers but text.
COUNT only counts numbers.
Replace it with COUNTA.
 
Upvote 0
Acctually when i pasted it down it only gives me 1 where the counts are 2 , 6 , 5 etc... sorry very close though
1626903716634.png
 
Upvote 0

Forum statistics

Threads
1,215,344
Messages
6,124,407
Members
449,157
Latest member
mytux

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top