![]() |
|
|
|
#1
|
|||
|
|||
|
I would like to use countif across multiple month tabs for an entire column. I can use the following format for sum and it works: =sum(jan:dec!b:b)
I can use countif for one tab and a whole column: =countif(Jan!b:b,"item") When I use countif across multiple tabs I get a #value! error message: =countif(jan:dec!b:b,"item") Is there a way to use countif the way I am trying to use it? |
|
#2
|
|||
|
|||
|
No.
COUNTIF cannot handle 3D references. There may be a (quite involved) workaround (though not for whole columns) but it would require more info. |
|
#3
|
|||
|
|||
|
Thanks for the quick reply. Too bad countif has that limitation. Back to the drawing board.
|
|
#4
|
|||
|
|||
|
See how this works for you...
=SUMPRODUCT(COUNTIF(INDIRECT("'"&MySheets&"'!B:B") ,"Item")) List all your tab names and create a named range called MySheets |
|
#5
|
|||
|
|||
|
Quote:
ec! and ended up with Jan!:jan:dec (which gave me all columns from dec through jan on tab Jan). I tried Jan!,Feb!, through Dec! and got an error message. Is there a trick to listing all twelve tabs (Jan through Dec) in a named range? I would definitely appreciate any help you can give me with this naming convention.Thanks for your help. |
|
#6
|
||||
|
||||
|
Why not :
group the tabs (click the first tab then the last while holding the Shift key) enter the COUNTIF function in an occupied cell on the first sheet ( it will copy automatically to all sheets in the group) Now on you master sheet use the SUM function with a 3D reference to obtain the final result You can ungroup whenever needed
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
|
#7
|
|||
|
|||
|
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
COUNTIF(INDIRECT doesn't autoupdate cell references when I add a column somewhere else in my sheet
|
Helix2 | Excel | 7 | 10-25-2016 03:20 AM |
Multiple browser windows or tabs
|
Buckeyegator | Outlook | 1 | 11-28-2011 08:53 PM |
| Multiple browser windows or tabs | Buckeyegator | Office | 0 | 11-27-2011 05:06 PM |
| Multiple IExplorer Tabs open with link | robertkjr3d | Outlook | 2 | 07-26-2010 11:30 AM |
| Create Multiple Tabs from Template | TeePee | Excel | 0 | 04-30-2009 11:54 AM |