Display information from one worksheet to a Table of Contents...

M15tyw00d

Active Member
Joined
Nov 19, 2010
Messages
264
I have multiple worksheets within a workbook.
I have a table of contents of sorts on a worksheet within the workbook with the name of each worksheet linked to that worksheet. I have four sets of columns. Sets are Column A and B, Column D and E, Column G and H and Column J and K. How can I do that? Also the table of contents continues to grow not in sets of columns but down the column as more totes are added. Would it auto add those cells? or would I need to change the range in the code?

N TotesLocationN DrumsLocationH ToteLocationC ToteLocation
NT #100404PND #0H290042928-12
NT #42928-12ND #1H46210601329216

<tbody>
</tbody>

In the Location column I would like it to look to the worksheet linked, find the last row with text look in, Back at KWA first (if text then display KWA), Ship to KKA second (if text then display KKA), CRR # third (if text then display KWA-Dirty), and Ship Location 4th (if text then display text in the cell), and display it on the table of contents page in the Location cell. Also if CRR is the one that gets displayed; can it look in the column 30 day test and if there is an X could it display KWA-Dirty/30DT?

This is an example of the linked page to the Tote

ProductPO #INV #B/T #Ship LocationShip DateReturn DateCRR #Entered30 day TestShip to KKADatePO #Back at KWADatePO #
0523411A5673258Company 11/13/20162/4/2016551518XX2/10/2016 6584321X2/25/20164561238
0523422A2316859Company 23/2/20163/11/2016551527XXX3/23/20165813942
0523433A2359413Company 34/4/2016

<tbody>
</tbody>
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,215,359
Messages
6,124,488
Members
449,165
Latest member
ChipDude83

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