by hannahmads » Wed, 11 Aug 2004 20:06:48
Ok, in column A i have a list of names, in column B and C i have thei
corresponding aliases, some have 1 (ie just in column B), some have
(b and c) and some have none. So, whilst column A is always filled,
and C isn't always, just for some of the rows.
In worksheet 'all sign ups' i have thousands of sign ups, with detail
such as when they signed up, and details about them, including a colum
('all sign ups'!C:C) that has a field they chose from a drop down menu
which is a choice names and aliases. Each entry in sign ups has ON
name, that is represented in on of the rows in one of the columns A,
or C.
In columns (all sign ups!J:J) i have the year they signed up (1, 2,
etc).
I want to do a count of the number of people that signed up from eac
name, (in my column A) including the number that signed up to th
aliases.
So in my worksheet, i will have a column next to the name that count
all sign ups, a column for sign ups in year 1, a column for sign ups i
year 2 etc.
So this is why i want to count, the total number of signups includin
the aliases, given the year is...
But, because i can't do A:A in sum product, i have to do A1:A3000, a
the signups is constantly being added to. As a result, the sum produc
is calculating over a lot of blanks, and counts the blanks as signup
in the total sign ups column for those names that dont' have 2 aliases
I have currently got around this by specifying that the year (all sig
ups j1:j3000) must be 1 or 2, though obviously the years will increase
and i don't want to have to keep adding a year each time.
=SUMPRODUCT(--(('All sign ups'!$C$1:$C$3000=$A8)+('All sig
ups'!$C$1:$C$3000=$B8)+('All sign ups'!$C$1:$C$3000=$C8)),--(('All sig
ups'!$J$1:$J$3000=1)+('All sign ups'!$J$1:$J$3000=2)))
have the
this formula
with odd
in short, the latter