Forum

Chris Griffiths
@chrisg
Active Member
Joined: Oct 21, 2023
Topics: 2 / Replies: 13
Reply
RE: Pivot table totals showing as %

Thanks for the additional comments, Velouria, I'll see what I can do with those.

7 months ago
Reply
RE: Pivot table totals showing as %

Hi Riny and Velouria, thanks for your replies. I didn't realise you can hide columns in pivot-tables, that's a good enough solution for my needs. ...

7 months ago
Topic
Reply
RE: Why is my COUNTIF formula taking 8 hours to run?

Thanks Riny. I should have had a play with the pivot-table options myself re. columns. As always, looks simple once you know how. I tried the GETPI...

1 year ago
Reply
RE: Why is my COUNTIF formula taking 8 hours to run?

Thanks Velouria. I'll take a look at the GETPIVOTDATA formula, learn how to use that function. But just for possible future benefit, is there a sol...

1 year ago
Reply
RE: Why is my COUNTIF formula taking 8 hours to run?

I ran additional COUNTIFS calculations for each of the 361 offence types, to calculate the sub-totals for 'Plea Guilty' (column L in the Example 1 scr...

1 year ago
Reply
RE: Why is my COUNTIF formula taking 8 hours to run?

Okay, so I've implemented both methods. Velouria's formula =IF(G2=G1,J1,COUNTIF(G:G,G2)) took about 20 seconds to calculate (it actually took longe...

1 year ago
Reply
RE: Why is my COUNTIF formula taking 8 hours to run?

So many great ideas, pleased I found this forum and asked the question. Thanks to all of you.

1 year ago
Reply
RE: Why is my COUNTIF formula taking 8 hours to run?

Hi Riny. I wondered if it was possible to use VLOOKUP on a pivot table, after Velouria suggested the GETPIVOTDATA function - that sounds like an ideal...

1 year ago
Reply
RE: Why is my COUNTIF formula taking 8 hours to run?

Thanks, Hans. So you you copied my COUNTIF formula in column J down to all rows, then ran the calculation for all of the 810k rows which took just ...

1 year ago
Reply
RE: Why is my COUNTIF formula taking 8 hours to run?

My bad, turns out GETPIVOTDATA is available in my 2010 version of Excel. I'll take a closer look at that, could be very useful, thanks Velouria.

1 year ago
Reply
RE: Why is my COUNTIF formula taking 8 hours to run?

Hi Philip - as you can probably tell, I'm somewhat new to all this. But I think I've managed to upload the large s/sheet to Google Drive, here's the l...

1 year ago
Reply
RE: Why is my COUNTIF formula taking 8 hours to run?

Hi Hans, thanks for looking at this. Since my initial posting of this issue, I've discovered that the s/sheet I've been working on is not confident...

1 year ago
Reply
RE: Why is my COUNTIF formula taking 8 hours to run?

Hi Mynda, thanks for replying. Yes I created a pivot-table as you suggested, and noticed it creates the sub-total counts for each of the 362 catego...

2 years ago