Forum Discussion
Tralog58
Feb 05, 2024Copper Contributor
Making a list from specific cells from multiple sheets with a list of sheets.
I have a spread sheet that includes specific information that I need to make list for quick reference. all 70+ sheets are the same for different vehicles by vehicle #. How do I set up a sheet to g...
- Feb 05, 2024
You can use formulas similar to the following. Put the first formula in the same cell on each sheet. This will give the sheet name in a cell on each sheet. If you put that formula in A1 on each sheet, then use the 2nd formula to get a list of the values in A1 on all the sheets, assuming that Sheet1 is the first sheet, and LastSheetName is the last sheet. Just use the actual sheet names of your first and last sheet.
=TEXTAFTER(CELL("filename",A1),"]")
=TEXTSPLIT(TEXTJOIN(";",TRUE,'Sheet1:LastSheetName'!A1),,";")You can add a conditional (IF) to the first formula so that it only gets the sheet name if the other cell information is what you're looking for. For example, =IF(B1="Automatic steering", TEXTAFTER(CELL("filename",A1),"]"),"").
Steve K
Feb 05, 2024Brass Contributor
You can use formulas similar to the following. Put the first formula in the same cell on each sheet. This will give the sheet name in a cell on each sheet. If you put that formula in A1 on each sheet, then use the 2nd formula to get a list of the values in A1 on all the sheets, assuming that Sheet1 is the first sheet, and LastSheetName is the last sheet. Just use the actual sheet names of your first and last sheet.
=TEXTAFTER(CELL("filename",A1),"]")
=TEXTSPLIT(TEXTJOIN(";",TRUE,'Sheet1:LastSheetName'!A1),,";")
You can add a conditional (IF) to the first formula so that it only gets the sheet name if the other cell information is what you're looking for. For example, =IF(B1="Automatic steering", TEXTAFTER(CELL("filename",A1),"]"),"").
- Tralog58Feb 20, 2024Copper ContributorThank You for the advice this works great on my home computer with the Microsoft 365. But at work where it is Excel 2013, it doesn't want to work. Dose the textafter command work on 2013 excel? Thank you
- Feb 20, 2024TEXTAFTER, TEXTSPLIT and TEXTJOIN will not work in Excel 2013.
The formula to use instead of the TEXTAFTER example is possible in older versions of Excel like below:
=RIGHT(@CELL("filename",A1),LEN(@CELL("filename",A1))-FIND("]",@CELL("filename",A1)))
If you something like & ", " to the end of the formula above, then you can use =CONCAT('Sheet1:LastSheetName'!A1) to get your list, but it will be in a single cell.- Tralog58Feb 21, 2024Copper ContributorThank you for the help. I will try this at work tomorrow. Thank you again.
- Tralog58Feb 10, 2024Copper ContributorThank You Steve I well give this a try.