Forum Discussion
Table consolidation
- Apr 21, 2024
Thanks a lot for explaining it so clearly!
I attached a spreadsheet to show how to use INDIRECT to get tables based on table name or range address string.
You can try INDIRECT.
https://support.microsoft.com/en-us/office/indirect-function-474b3a3a-8a26-4f44-b491-92b6306fa261
Better paste some of your sample data here.
- remmuS407Apr 21, 2024Copper Contributor
rachel So, there are user selection lists in B9 and D9. From those selections, table cells G11:G16 would be populated using data from the following tables: K11:K16, N11:N16, Q11:Q16, K22:K27, N22:N27, Q22:Q27. B2 would determine if values from rows 11:16 are selected, or if values from rows 22:27 are selected. And D9 would determine if values from either columns K, N, or Q are selected.
- rachelApr 21, 2024Steel Contributor
Thanks a lot for explaining it so clearly!
I attached a spreadsheet to show how to use INDIRECT to get tables based on table name or range address string.
- remmuS407Apr 23, 2024Copper ContributorThank you! That did the trick! Saved me from the mess of the IF AND statements I was previously using as a bandaid