auto count-if with subtotal's autofiltered layout

N

npuleio

Hello everyone!

I have a sheet that has two columns: one represents cities and the
other represents devices+code device. Firstly I don't know by prior
how many rows they are; so first, I order cities column, then I put
subtotals grouped by city that counts how many cities they are and I
choose to show subtotals every time city changes then I apply
AutoFilter ON. In this way I can see like a sheet grouped with many
subtotals that tells me how many cities they are.
But really I want to have subtotals that tells me how many printers
there are by each city and how many servers there are always by each
city using something like countif() but still showing the layout in
the same sheet with autofilter on so when I choose a certain city, it
hides other cities and subtotals and keeps showing me the subtotals
for that city.
And I wouldn't like to have pivots table...

How I can do that?

Thanks you to all in advance for this little help.

Ciao,
Luigi
 
N

npuleio

B

Bob Phillips

Just add another layer of subtotals.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
N

npuleio

Just add another layer of subtotals.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

Hello Bob,

another layer of subtotals?... I think I'm a bit lost.... how I can
add another layer of subtotals?...

Thanks in advance.
Ciao, Luigi
 
N

npuleio

Dave Peterson ha scritto:
Data|Subtotals
Make sure you uncheck "replace current subtotals"

Ah that's it... but those subtotals are like definite so I can't put
personalized formula like countif... or it is possible in some way?...

thanks again in advance.
Ciao, luigi
 
D

Dave Peterson

=subtotal() supports lots of options. Look at excel's help for all those
options.

Maybe there's something built into excel that counts/sums/averages what you
want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top