This command requires at least two rows of source data

前端 未结 3 1629
长发绾君心
长发绾君心 2021-01-19 15:03

I am getting this error:

This command requires at least two rows of source data. You cannot use the command on a selection in only one row. Try the following         


        
3条回答
  •  佛祖请我去吃肉
    2021-01-19 15:43

    The obvious answer seems to be that sometimes you have one row of data as the source for your pivot table and sometimes you don't - even when you think you still do. I have not been able to create a pivot table(or change the source of a pivot table) to one row of data:

    PivotTableErrorExplanation

    but if you are able to somehow figure out a way to do this then you have found your answer. There is no reason you can't have one row of data as your source just from a practical/theoretical perspective, but it looks like excel tries to prevent that from happening(maybe because the code assumes two rows). So if you do find a way, then it is probably a bug. Good Luck.

提交回复
热议问题