Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-13-2025, 09:18 AM
SnakeDoctor's Avatar
SnakeDoctor SnakeDoctor is offline Need to count number of entered chapters (Rows) for each Title Windows 11 Need to count number of entered chapters (Rows) for each Title Office 2021
Advanced Beginner
Need to count number of entered chapters (Rows) for each Title
 
Join Date: Jul 2023
Location: Ft. Worth, TX
Posts: 38
SnakeDoctor is on a distinguished road
Default Need to count number of entered chapters (Rows) for each Title

Greetings!

We have numerous Manuals we need to review chapter-by-chapter and track the progress of the review of each Manual.

I am separating each Manual by entering only the titles in Column A, each title in its own row, and then entering each Chapter name in a separate row in Column B. Effectively separating each book title (Column A) using the book chapters (Column B).

What I need is to count the number rows entered between each Title, so I have a value to calculate the percentage of completed chapter reviews from.



Can anyone help me out with this?

I have attached a copy of the Workbook, I was trying calculations in Columns L & M to hide the totals when I hide the columns. And I will add the percentage complete in Column D of each Title Row.
Attached Files
File Type: xlsx AEC Bookplan (777-200) TEST.xlsx (20.5 KB, 9 views)
Reply With Quote
  #2  
Old 02-13-2025, 01:49 PM
batman1 batman1 is offline Need to count number of entered chapters (Rows) for each Title Windows 11 Need to count number of entered chapters (Rows) for each Title Office 2013
Advanced Beginner
 
Join Date: Jan 2025
Posts: 56
batman1 is on a distinguished road
Default

I don't know English and I don't know if I understand correctly. Do you want L7 = 13?

If so, the formula for L7, change ";" to "," if necessary
Code:
=IF(B7="";"";COUNTA(C8:INDEX(C8:C$1000;MATCH("*";B8:B$1000;0)-1;0)))
Reply With Quote
  #3  
Old 02-14-2025, 08:51 AM
SnakeDoctor's Avatar
SnakeDoctor SnakeDoctor is offline Need to count number of entered chapters (Rows) for each Title Windows 11 Need to count number of entered chapters (Rows) for each Title Office 2021
Advanced Beginner
Need to count number of entered chapters (Rows) for each Title
 
Join Date: Jul 2023
Location: Ft. Worth, TX
Posts: 38
SnakeDoctor is on a distinguished road
Default It works!!!!

After several years looking for the answer to this question, I finally found a way to do this!

To create a percentage you need, of course, the values that define the percentage. In my example, data is separated into individual blocks - by manual title. And the number of chapters in each manual will change as the manual expands, leaving a problem of how to separate chapter rows of one title from the next - so the percentage of completed chapter reviews for each title is accurate.

The solution I found was to create 'Named Blocks' for each Manual Title, by highlighting the Title row and (whatever number) the next 10 blank rows, then going up to the 'Name Box' and giving that block a unique name.

I then locked the cells of each entire title row (I password every Workbook I create to prevent users from accidentally deleting/changing formulas, etc.). I went a few columns outside of the main page, labeled and entered the two percentage-base values:
1. Number of Chapters [rows under title] using: =ROWS(BLOCK_NAME)-1 (-1 to remove the Title row itself from the count.)
2. Number Completed [cells with chosen 'completed' indicator] using: =COUNTIFS(BLOCK_NAME, "Approved*)
Now the 'Percentage Complete' data is ready to source. I chose two cells in the Title row (in the main page area) to label and enter the percentage value:
3. Percent Completed using: =[Step2 Cell]/[Step1 Cell]*100
And voila!

I also used Conditional Formatting for several functions, check it all out in the new example I've added!
Attached Files
File Type: xlsx AEC Bookplan (777-200) TEST_ver2.xlsx (17.8 KB, 3 views)
Reply With Quote
  #4  
Old 02-14-2025, 12:24 PM
batman1 batman1 is offline Need to count number of entered chapters (Rows) for each Title Windows 11 Need to count number of entered chapters (Rows) for each Title Office 2013
Advanced Beginner
 
Join Date: Jan 2025
Posts: 56
batman1 is on a distinguished road
Default

Quote:
Originally Posted by SnakeDoctor View Post
After several years looking for the answer to this question, I finally found a way to do this!!

I don't understand.
You wrote: "What I need is to count the number of rows entered between each Title, so I have a value to calculate the percentage of completed chapter reviews from."

And in the file you entered the data so that each title has exactly 10 rows.
Does each title always have 10 towers? If so, why manually create 10 NAMEs and manually enter formulas 10 times in M7, M18, M29, ...?
You simply always have 10 rows for each title.

Besides, if you have 50 titles, do you also manually create NAMEs 50 times and enter formulas 50 times in columns M and O (50*2 = 100 times)?

If the number of rows between titles in column B changes for each title, then:
1. If you want to count the number of empty and non-empty rows between titles, then:

Formula in M7 (file in #6)

Code:
=IF(B7="";"";MATCH("*";B8:B$1005;0)-1)
and copy down to the last title line

2. If you want to count the number of non-empty lines between titles, the formula is given in post #2.

In this case, the formula for M7

Code:
=IF(B7="";"";COUNTA(C8:INDEX(C8:C$1000;MATCH("*";B8:B$1000;0)-1;0)))

I think you want point 2.
----------------
Formula for O7 (note: "Approved" is in column E - file in #6)

Code:
=IF(B7="";"";COUNTIFS(E8:INDEX(E8:E$1000;MATCH("*";B8:B$1000;0)-1;0); "Approved*"))
-------------------
Note:
1. If the formula causes an error, try changing ";" to ","
2. There must be at least 1 non-empty cell after the last title in column B. In the file with #6, cell B130 <> "". If there are only empty cells from B122 down, you need to enter B122 = "hic hic hic" or whatever
Reply With Quote
  #5  
Old 02-17-2025, 06:12 AM
SnakeDoctor's Avatar
SnakeDoctor SnakeDoctor is offline Need to count number of entered chapters (Rows) for each Title Windows 11 Need to count number of entered chapters (Rows) for each Title Office 2021
Advanced Beginner
Need to count number of entered chapters (Rows) for each Title
 
Join Date: Jul 2023
Location: Ft. Worth, TX
Posts: 38
SnakeDoctor is on a distinguished road
Thumbs up Manual and Chapter numbers will vary...

Hey, Batman1! Thanks for helping out with this, I really appreciate it

This example is strictly the template (and example) for this workbook. I created 10 blank rows under each Title row simply for data uniformity during testing and then blanked each row to create a sanitized example to post here.

The number of titles in Column B will (only) increase depending on the number of manuals created as the project moves forward.

The number, composition, and details of chapters for each manual created (Columns C~H) should (only) increase depending on the number of manual chapters created as the project moves forward.

e.g., There can be Manuals with anywhere from many to just a few Chapters.

Again, I had been looking for a solution to this for a while, and there are now several workbooks the company wanted created using the same 'titled blocks of data' method.

I will try this with your formulas now!

Thanks, again! I'll let you know how it goes!
Reply With Quote
  #6  
Old 02-13-2025, 02:29 PM
ArviLaanemets ArviLaanemets is offline Need to count number of entered chapters (Rows) for each Title Windows 8 Need to count number of entered chapters (Rows) for each Title Office 2016
Expert
 
Join Date: May 2017
Posts: 932
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

Maybe consider design in added example

Data entry table is designed to make data entry and reading info from there using formulas as easy as possible. For viewing the entered data, you can design as many different report sheets as you need, which display the data read from data entry sheet exactly in format you want. As example I added a possible report sheet too.
Attached Files
File Type: xlsx Example.xlsx (22.0 KB, 4 views)
Reply With Quote
  #7  
Old 02-13-2025, 02:52 PM
batman1 batman1 is offline Need to count number of entered chapters (Rows) for each Title Windows 11 Need to count number of entered chapters (Rows) for each Title Office 2013
Advanced Beginner
 
Join Date: Jan 2025
Posts: 56
batman1 is on a distinguished road
Default

Sorry, but I don't understand what you want to do. I thought you wanted the formula in L7 in the first file. Now you've attached a completely different file. Besides, I don't understand what your problem is.
Reply With Quote
  #8  
Old 02-14-2025, 12:47 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Need to count number of entered chapters (Rows) for each Title Windows 11 Need to count number of entered chapters (Rows) for each Title Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,915
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Please enter some desensitized data and manually mocked-op results in your workbook, so we can stop guessing at what you need. Thx
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #9  
Old 03-06-2025, 01:24 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Need to count number of entered chapters (Rows) for each Title Windows 11 Need to count number of entered chapters (Rows) for each Title Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,915
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Have you done any progress on your request? Is this solved or do you need more help?
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
count formula to count based on multiple criteria and return unique rows Sphinxakop Excel 0 02-01-2023 12:18 PM
Need to count number of entered chapters (Rows) for each Title Getting the Count formula to count all rows Jennifer Murphy Word Tables 11 08-23-2016 09:37 PM
How to number chapters and sub-chapters in a few clicks? Icelandic_Boy Word 1 05-24-2016 11:33 AM
Need to count number of entered chapters (Rows) for each Title Add chapters, section and subsection number on footer guicalabria Word 15 06-30-2015 05:23 AM
Need to count number of entered chapters (Rows) for each Title How to create a table with a number of line depending a number entered by user Cellendhyll Word Tables 3 07-10-2014 05:49 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:56 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft