all, I need help
I have 3 columns of data
store id, store name and item no
if I create a Pivot by store name and count of item no
I get 250 store names and counts
this works
the problem is I am trying to perform a distinct count of SKUs across 5 stores
I can do this in a pivot using distinct count and selecting the 5 stores in the Pivot
the issue I have is that the list I am working from has 5000 rows with 5 stores each
Can I either do this via a Pivot
I have tried arrays but it is incredibly slow
here is an example of the data
Store Id Store Name item no
238 St Albans 100034
397 Watford 100034
238 St Albans 100103
397 Watford 100103
238 St Albans 100269
238 St Albans 100324
397 Watford 100324
238 St Albans 100803
397 Watford 100803
I'm basically doing a pivot
where I am saying
store 238 has 5 items
store 397 has 4 items
what I want is a formula that
tells me the distinct occurrences across both stores
so I would define "st albans" and "watford" and the distinct count would be 5
equally I have to lookup from the text "st albans"
Can you help please
R
I have 3 columns of data
store id, store name and item no
if I create a Pivot by store name and count of item no
I get 250 store names and counts
this works
the problem is I am trying to perform a distinct count of SKUs across 5 stores
I can do this in a pivot using distinct count and selecting the 5 stores in the Pivot
the issue I have is that the list I am working from has 5000 rows with 5 stores each
Can I either do this via a Pivot
I have tried arrays but it is incredibly slow
here is an example of the data
Store Id Store Name item no
238 St Albans 100034
397 Watford 100034
238 St Albans 100103
397 Watford 100103
238 St Albans 100269
238 St Albans 100324
397 Watford 100324
238 St Albans 100803
397 Watford 100803
I'm basically doing a pivot
where I am saying
store 238 has 5 items
store 397 has 4 items
what I want is a formula that
tells me the distinct occurrences across both stores
so I would define "st albans" and "watford" and the distinct count would be 5
equally I have to lookup from the text "st albans"
Can you help please
R