View Single Post
 
Old 10-24-2016, 07:25 AM
Helix2 Helix2 is offline Windows 7 32bit Office 2016
Novice
 
Join Date: Oct 2016
Posts: 3
Helix2 is on a distinguished road
Default COUNTIF(INDIRECT doesn't autoupdate cell references when I add a column somewhere else in my sheet

After lots of googling I have found that the following formula does what I want it to do (I don't understand why COUNTIF has such a hatred of cells that aren't next to each other)

=SUM(COUNTIF(INDIRECT({"BC3","BE3","BK3"}),">"&AA3 ))

The trouble is now every time I add a column to my sheet it doesn't auto update the cell references, and I change this sheet all the time. Is the only way to avoid that to use the following, which is much more time consuming to write?

SUM(COUNTIF(BC6,...">"&AA6),COUNTIF(BE6,">"&AA6),C OUNTIF(BK6,">"&AA6)

I need loads of columns with formula like this and in reality the formula is counting in way more cells than shown here. Alternatively is there a statistical function that may help? AA3 is an average of all the other cells and I want to know how many of the original values were above the average.

Any suggestions would be massively appreciated.

Thank you.
Reply With Quote