Excel macro to copy rows to new sheet(s) based on column value

后端 未结 1 1640
暖寄归人
暖寄归人 2020-12-21 21:41

My query is below:

Each month my telecom provider gives me an excel list of all subscribers in the following format:

GSM number, account num, caller          


        
相关标签:
1条回答
  • 2020-12-21 22:33

    As @joseph4tw says, you could do this with a pivot table similar to below (Excel 2010)...

    • To show all item labels, choose: Field Settings -> Layout & Print -> Repeat Item Labels

    • To create the sheet tabs just select Pivot Table Options -> Show Report Filter Pages (as below)

    enter image description here

    enter image description here

    Update Having created the sheet tabs, you can use group editing to format as required...

    • select all the tabs by shift-clicking the last tab,
    • select the whole sheet and paste special values to remove all pivot tables
    • delete the first two rows and autosize columns as shown

    enter image description here

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