문제

I have a table in Excel with sales of sellers on weekdays.

What I wanted to do was make a line chart, but only with the selected seller type this:

enter image description here

How do I put the chart only display the data of the seller selected?

File: https://dl.dropboxusercontent.com/u/22618054/grafico_dinamico.xlsx

PS: the cell D8 is a dropdown select list.

도움이 되었습니까?

해결책

Create a chart based on a line of data that you fill in later, not directly off the table.

Assuming table starts in A1
Set up the data line as:

=Seller
=offset($A$1,match(Seller,$A:$A,0)-1,1)
=offset($A$1,match(Seller,$A:$A,0)-1,2)
...

we subtract 1 from the match, as match gives us a number starting with 1, and offset uses a number starting at 0. If your table starts at another cell, subtract that row number to get the correct position for the data line to read (e.g. if table is at $Q$77, then the match formula would be match(Seller,$Q:$Q,0)-77.

다른 팁

Create a "Pivot Chart" and drag Sellers into the "filter" field

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top