pick data from a chosen tab in excel

后端 未结 1 429
隐瞒了意图╮
隐瞒了意图╮ 2021-01-26 08:18

I have the following problem. I have a file with many tabs. the name of each tab is a country and in the tab there are various data about the country. I would like to create an

1条回答
  •  伪装坚强ぢ
    2021-01-26 08:40

    With France in A1 and Births in A2, you would need a named range with worksheet scope called Births on the France worksheet. Then you can use the INDIRECT function to piece the address together.

    =indirect("'" & a1 & "'!" & a2)
    

    But you probably do not want to make all of those named ranges for every worksheet. You will have to provide a better description of your data layout on each worksheet for more specific assistance.

    0 讨论(0)
提交回复
热议问题