M
Morpheseus
I can't figure out the formula for this problem.
Column A contains a "1" or is blank. (the 1 means the guy worked that day)
Column B contains numbers 1 - 26 (These are my work gang numbers)
The other columns are names and Id numbers and various other stuff.
What I want to do is have a formula that will count the number of persons
working if I do a sort by gang. For example, I use the autofilter and
say... sort by gang 22. I might have fifty persons in gang 22, but only the
one that work that day get a "1" in Column A. I have another sheet with all
kinds of formulas counting my total workers... etc.... and total numbers
assigned to gangs etc... (countif... formulas)
But I need to have a formula that will count the number if column A contains
a "1". Alternatively, I could make the formulas on the reporting sheet
list each gang seperately....
if gang="1" and column A contains 1 then count
if gang= "2" and column A contains 1 then count
if gang= "3" and column A contains 1 then count
if gang= "4" and column A contains 1 then count
and total for each gang.
Does this make any sense?
I have looked everywhere and read all I can. I've been to Oz and can't find
what I need.
Can someone suggest a formula that work?
Thanks in advance.
Nick.
Column A contains a "1" or is blank. (the 1 means the guy worked that day)
Column B contains numbers 1 - 26 (These are my work gang numbers)
The other columns are names and Id numbers and various other stuff.
What I want to do is have a formula that will count the number of persons
working if I do a sort by gang. For example, I use the autofilter and
say... sort by gang 22. I might have fifty persons in gang 22, but only the
one that work that day get a "1" in Column A. I have another sheet with all
kinds of formulas counting my total workers... etc.... and total numbers
assigned to gangs etc... (countif... formulas)
But I need to have a formula that will count the number if column A contains
a "1". Alternatively, I could make the formulas on the reporting sheet
list each gang seperately....
if gang="1" and column A contains 1 then count
if gang= "2" and column A contains 1 then count
if gang= "3" and column A contains 1 then count
if gang= "4" and column A contains 1 then count
and total for each gang.
Does this make any sense?
I have looked everywhere and read all I can. I've been to Oz and can't find
what I need.
Can someone suggest a formula that work?
Thanks in advance.
Nick.