Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Trying to figure the formula

Is there a way to alter a COUNTIF formula to only take into account the visible cells when autofiltering. Unfortunately i'm still running excel 2000 at work

I.e

I have a spreadsheet where Column A is Week (Week 1, Week 2, etc) Column B is for Names and Column C contains "Yes", "No" and "N/A".

Currently i use =100%-(COUNTIF(C2:C10, "No")/COUNTA(C2:C10)) to calculate a percentage total of Yes and N/A's

What i need to do is autofilter by week, and give a percentage total of the filtered values.

For example if i autofilter Week 1 from this example the Percentage Total should read 66% or Week 3 would read 33%

Any and all help would be appreciated if you need any more info let me know

EDIT: I've updated some more fields in the spreadsheet so now it looks something like this;



However i wonder if there is an easier way for me to get to this final product

Last edited by llHermesll : March 21st 12 at 03:16 PM
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default Trying to figure the formula

On Wednesday, March 21, 2012 8:40:20 AM UTC-5, llHermesll wrote:
Is there a way to alter a COUNTIF formula to only take into account the
visible cells when autofiltering.

I.e
[image: http://img.photobucket.com/albums/v4...ius/excel.jpg]
I have a spreadsheet where Column A is Week (Week 1, Week 2, etc) Column
B is for Names and Column C contains "Yes", "No" and "N/A".

Currently i use =100%-(COUNTIF(C2:C10, "No")/COUNTA(C2:C10)) to
calculate a percentage total of Yes and N/A's

What i need to do is autofilter by week, and give a percentage total of
the filtered values.

For example if i autofilter Week 1 from this example the Percentage
Total should read 66% or Week 3 would read 33%

Any and all help would be appreciated if you need any more info let me
know




--
llHermesll


Have a look in the help index for SUBTOTAL
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
can't figure out the formula Tbar Excel Discussion (Misc queries) 3 April 2nd 09 06:31 PM
FORMULA TO FIGURE AGE tjsmags Excel Worksheet Functions 6 July 18th 07 06:41 AM
Trying to figure out IF formula Juan Excel Programming 4 August 24th 06 11:00 PM
Can anyone figure a formula for this?? Please? Bianca Excel Worksheet Functions 2 July 11th 06 06:11 PM
I can't figure out this formula Steve Excel Discussion (Misc queries) 1 July 15th 05 03:59 PM


All times are GMT +1. The time now is 08:07 AM.

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

About Us

"It's about Microsoft Excel"