Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-21-2024, 11:57 PM
MountainMum MountainMum is offline Can you have the same heading appear in two separate Table of Contents? Windows 10 Can you have the same heading appear in two separate Table of Contents? Office 2021
Novice
Can you have the same heading appear in two separate Table of Contents?
 
Join Date: Dec 2023
Posts: 3
MountainMum is on a distinguished road
Default Can you have the same heading appear in two separate Table of Contents?

Hello, this is a bit of a strange one.



We are trying to figure out how we can categorize certain activities under Headings in a table of contents. For example some activities may be categorized under Infrastructure and some may be categorized under Parks.

However, in some instances the same activity will be both an Infrastructure activity and a Parks activity. We want a table of contents that looks something like this:

Infrastructure
Activity 1
Activity 5
Activity 6
Activity 8

Parks
Activity 2
Activity 4
Activity 5
Activity 8

In this example, Activities 5 and 8 need to appear under both headings. I know how to add more than one table of contents to a document using Bookmarks, but you would need to be able to use the same Bookmark in multiple places.

I wondered if you could use Table of Contents Entry fields, but I can't see how I could make that work.

Does anyone have any suggestions?
Reply With Quote
  #2  
Old 03-22-2024, 02:43 AM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Can you have the same heading appear in two separate Table of Contents? Windows 11 Can you have the same heading appear in two separate Table of Contents? Office 2021
Moderator
 
Join Date: Aug 2011
Posts: 3,907
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

If your table of contents is based on heading paragraphs, just add the same heading twice: once under "Infrastructure" and once under "Parks."

Or you can add a Table of Contents entry field (TC field). Use the dialog box (Alt+Shift+X) to insert it. You'd have to re-insert the table of contents, ur update its field instruction.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #3  
Old 03-22-2024, 06:50 AM
Charles Kenyon Charles Kenyon is offline Can you have the same heading appear in two separate Table of Contents? Windows 11 Can you have the same heading appear in two separate Table of Contents? Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

References:
Reply With Quote
  #4  
Old 03-23-2024, 12:10 PM
TessaMurillo TessaMurillo is offline Can you have the same heading appear in two separate Table of Contents? Windows Vista Can you have the same heading appear in two separate Table of Contents? Office 2010
Advanced Beginner
 
Join Date: Mar 2024
Posts: 33
TessaMurillo has a little shameless behaviour in the past
Default

Create two tables of contents: Insert two separate tables of contents into your Word document. One for the Infrastructure category and another for the Parks category.
For headings that should appear in both tables of contents, bookmark them. Once you have bookmarked all the necessary headings, insert input fields into the table of contents. Highlight where you want the heading to be, go to the Insert tab, select Quick Section in the Text group, and then Field. In the dialog box, select Bookmark as the field type and select the desired bookmark from the list.
Reply With Quote
  #5  
Old 03-23-2024, 12:32 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Can you have the same heading appear in two separate Table of Contents? Windows 11 Can you have the same heading appear in two separate Table of Contents? Office 2021
Moderator
 
Join Date: Aug 2011
Posts: 3,907
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

Another possibility might be to make an index instead.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #6  
Old 03-24-2024, 06:25 PM
MountainMum MountainMum is offline Can you have the same heading appear in two separate Table of Contents? Windows 10 Can you have the same heading appear in two separate Table of Contents? Office 2021
Novice
Can you have the same heading appear in two separate Table of Contents?
 
Join Date: Dec 2023
Posts: 3
MountainMum is on a distinguished road
Default

Thanks for all your ideas.

Stefan, I like your Index idea, but I need to have hyperlinks from the index to the places in the document. Is there a way to do that without manually creating the hyperlinks?

Something I left out of the original post, is that the categories Infrastructure and Parks don't actually appear as headings anywhere in the document. Also, as it is already a large document, it will make it too unwieldy to have an activity repeated in the document if it comes under more than one category.

Here is what I am looking for based on the real document, and using Stefan's Index suggestion (but needing hyperlinks):

https://drive.google.com/file/d/1Wpy...usp=drive_link

Still hunting for the answer!
Reply With Quote
  #7  
Old 03-24-2024, 09:55 PM
Guessed's Avatar
Guessed Guessed is offline Can you have the same heading appear in two separate Table of Contents? Windows 10 Can you have the same heading appear in two separate Table of Contents? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

An Index requires secondary work to make hyperlinks so that is a problematic method.

The earlier suggestions of two separate TOCs is going to work easily enough if you can figure out a method. Let's say you need three styles for the headings and to make it obvious lets call them "Head Both", "Head Infrastructure", "Head Parks"

Then for the TOC fields you can set up text and fields like this
Infrastructure
{TOC \t "Head Both,1,Head Infrastructure,1" \h}

Parks
{TOC \t "Head Both,1,Head Parks,1" \h}
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #8  
Old 03-25-2024, 12:45 AM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Can you have the same heading appear in two separate Table of Contents? Windows 11 Can you have the same heading appear in two separate Table of Contents? Office 2021
Moderator
 
Join Date: Aug 2011
Posts: 3,907
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

Quote:
Originally Posted by MountainMum View Post
Thanks for all your ideas.

Stefan, I like your Index idea, but I need to have hyperlinks from the index to the places in the document. Is there a way to do that without manually creating the hyperlinks?

Something I left out of the original post, is that the categories Infrastructure and Parks don't actually appear as headings anywhere in the document. Also, as it is already a large document, it will make it too unwieldy to have an activity repeated in the document if it comes under more than one category.

Here is what I am looking for based on the real document, and using Stefan's Index suggestion (but needing hyperlinks):

https://drive.google.com/file/d/1Wpy...usp=drive_link

Still hunting for the answer!
Thanks for the follow-up. Unfortunately, Word doesn't support hyperlinked indexes. This is something that just hasn't been implemented.

A table of contents using TC fields will be the easiest way to set this up, after all, I believe.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #9  
Old 03-25-2024, 08:22 PM
MountainMum MountainMum is offline Can you have the same heading appear in two separate Table of Contents? Windows 10 Can you have the same heading appear in two separate Table of Contents? Office 2021
Novice
Can you have the same heading appear in two separate Table of Contents?
 
Join Date: Dec 2023
Posts: 3
MountainMum is on a distinguished road
Default

It turned out that I had four (4) categories I needed to sort the information under: Infrastructure, Parks, Water, and Compliance. Some activities needed to go under every category, and some activities only went under one or two.

I ended up creating heading styles that all looked the same but had different names depending on the categories they needed to go under. So, there was a heading style for Infrastructure, one for Parks, one for Infrastructure & Parks together, one for Water, one for Compliance, and one for All.

I then created separate tables of contents pulling in the different heading styles. For example, for the Infrastructure category, I pulled in Infrastructure, Infrastructure & Parks, and All, whereas for the Parks category, I pulled in Parks, Infrastructure & Parks, and All.

The end result ended up like this: Capture.JPG - Google Drive (noting that we haven't created the Compliance activities yet).

Thank you to everyone who gave suggestions. All your ideas got my brain working and helped me get on the right track.
Reply With Quote
Reply

Tags
multiple conditions, table of contents



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you have the same heading appear in two separate Table of Contents? Word Table of Contents - when I title a heading "table", table of contents shows "table2" jncuk Word 8 04-15-2020 07:01 PM
Can you have the same heading appear in two separate Table of Contents? Table of Contents has one heading with wrong format ryannah05 Word 3 01-23-2018 03:45 PM
Can you have the same heading appear in two separate Table of Contents? Creating a table of contents with each section separate page numbers taylorsm Word 3 02-08-2017 07:01 PM
How to remove HEading 4 from the Table Of Contents elelont3 Word 2 01-17-2015 06:42 AM
How to have this Heading – Table of contents style? Jamal NUMAN Word 0 01-13-2011 06:02 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:49 AM.


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