#1   Report Post  
Ant
 
Posts: n/a
Default COUNTIF help

I have a worksheet that records feedback from a training session. The
feedback can be ether strongly agree,, disagree or strongly disagree. I
have used a countif function to count how many of each type of response is
received and then based a chart on the results. This works fine however
using Auto filter I now need to filter the full list to so that I can
compare feedback between trainers or location or training units etc. When I
filter the list, my COUNTIF still counts hidden rows. My question is.... is
there a function like COUNTIF that will only count non filtered items or any
other suggestions on how to solve the problem.

Thanks


  #2   Report Post  
Ron Coderre
 
Posts: n/a
Default

Have you thought about using a Pivot Table to summarize your results. It
would give you filtering options and much more.

--
Regards,
Ron


"Ant" wrote:

I have a worksheet that records feedback from a training session. The
feedback can be ether strongly agree,, disagree or strongly disagree. I
have used a countif function to count how many of each type of response is
received and then based a chart on the results. This works fine however
using Auto filter I now need to filter the full list to so that I can
compare feedback between trainers or location or training units etc. When I
filter the list, my COUNTIF still counts hidden rows. My question is.... is
there a function like COUNTIF that will only count non filtered items or any
other suggestions on how to solve the problem.

Thanks



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUMPRODUCT(SUBTOTAL(3,OFFSET(L2:L100,ROW(L2:L100)-ROW(L2),0,1)),(L2:L100="A
gree"))


--
HTH

Bob Phillips

"Ant" wrote in message
...
I have a worksheet that records feedback from a training session. The
feedback can be ether strongly agree,, disagree or strongly disagree. I
have used a countif function to count how many of each type of response is
received and then based a chart on the results. This works fine however
using Auto filter I now need to filter the full list to so that I can
compare feedback between trainers or location or training units etc. When

I
filter the list, my COUNTIF still counts hidden rows. My question is....

is
there a function like COUNTIF that will only count non filtered items or

any
other suggestions on how to solve the problem.

Thanks




  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

=SUMPRODUCT(SUBTOTAL(3,OFFSET(L2:L100,ROW(L2:L100)-ROW(L2),0,1)),(L2:L100="Agree")+0)

Bob Phillips wrote:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(L2:L100,ROW(L2:L100)-ROW(L2),0,1)),(L2:L100="A
gree"))



--

[1] The SumProduct function should implicitly coerce the truth values to
their Excel numeric equivalents.
[2] The lookup functions should have an optional argument for the return
value, defaulting to #N/A in its absence.
  #5   Report Post  
Ant
 
Posts: n/a
Default

Thanks for that! It works, I don't fully understand it but it is working
and that's the main thing.

I will now see if I can work it out!

Cheers

"Aladin Akyurek" wrote in message
...
=SUMPRODUCT(SUBTOTAL(3,OFFSET(L2:L100,ROW(L2:L100)-ROW(L2),0,1)),(L2:L100="Agree")+0)

Bob Phillips wrote:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(L2:L100,ROW(L2:L100)-ROW(L2),0,1)),(L2:L100="A
gree"))



--

[1] The SumProduct function should implicitly coerce the truth values to
their Excel numeric equivalents.
[2] The lookup functions should have an optional argument for the return
value, defaulting to #N/A in its absence.





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
COUNTIF COMBINATION?? Heather Excel Worksheet Functions 1 April 26th 05 02:44 AM
Combining IF and COUNTIF based on two columns maxtrixx Excel Discussion (Misc queries) 5 March 31st 05 06:21 PM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM
countif, again Liz G Excel Worksheet Functions 2 November 1st 04 11:20 PM


All times are GMT +1. The time now is 04:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"