connecting pivots

On the attached worksheet you will find a sheet entitled Supplier Overview

You will see two separate pivot tables. At the moment I have to change both Suppliers separately.

Can some one tell me away of changing the supplier for both pivots from one drop down/ slicer etc?

Also can any one help me with a formula to go in cell L:10

The formula needs to count the number of customers in column A. Obviously this number will change when the chosen supplier is changed on the main pivot/slicer.
Sales-Master--YTD-.xlsx
robmarr700Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rgonzo1971Commented:
Hi,

Pls try

= COUNTA(A1000)-1

Regards
0
robmarr700Author Commented:
That's returning a value of -1?

It should be 50
0
Rgonzo1971Commented:
Sorry

= COUNTA(A7:A1000)-1
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

robmarr700Author Commented:
That's great,

Are you able to help with my other query?

Rob
0
Rgonzo1971Commented:
In the sheet Module add this code

Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
If Not Intersect(Target, Range("B4")) Is Nothing Then
    Range("F4").Value = Target.Value2(1, 2)
ElseIf Not Intersect(Target, Range("F4")) Is Nothing Then
    Range("B4").Value = Target.Value2(1, 2)
End If
Application.EnableEvents = True
End Sub

Open in new window

Regards
0
robmarr700Author Commented:
Sorry I'm very much a novice with coding you will have to elaborate?

Alternatively if you could place the code in for me into the attached (uptodate sheet)

And explain the steps?

Rob
Sales-Master--YTD-.xlsx
0
Rgonzo1971Commented:
Hi,

On the Supplier Overview sheet Tab right click and choose show code

Regards
Sales-Master--YTD-V1.xlsm
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
robmarr700Author Commented:
Spot on, works perfectly.

Rob
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.