I'm not sure about the VLOOKUP equivalent, but for COUNTIF I generally
use:
SUM(IIF(fields!field1.value = "X", 1, 0))
> Hi!
>
[quoted text clipped - 12 lines]
>
> Thanks in advance.
java2architect@gmail.com - 29 Nov 2006 20:50 GMT
Thanks for COUNTIF. Seems obvious now. It will work provided counting
is done over the entire range. What if I wanted to count all "X"s until
current row. I'm thinking there is way to do this, but I'm drawing a
blank. Sorta like a "conditional RunningTotal" ?
Also regarding VLOOKUP, If I may run something else by you. Have been
doing up some reading. Thinking I can perhaps implement my own VLOOKUP
using embedded VB code. I think I have access to ReportItems
collection. I can therefore access values in multiple columns by
passing in their names as parameters. Thing is I would need to pass in
entire columns into my function. Is this possible? If so, then I could
iterate over the column values row by row and give it a shot.
Regards.
> I'm not sure about the VLOOKUP equivalent, but for COUNTIF I generally
> use:
>
> SUM(IIF(fields!field1.value = "X", 1, 0))
use a subquery; jackass
Excel isn't a database lose the training wheels
-Aaron
> Hi!
>
[quoted text clipped - 12 lines]
>
> Thanks in advance.
java2architect@gmail.com - 29 Nov 2006 22:46 GMT
Yo Dumbkoff. If I wanted to do everything in SQL I would not bother to
use Report Services.
One's ignorance is best shown by keeping one's mouth shut. Not spouting
insults.
Loser. Go suck a lemon.
> use a subquery; jackass
>
[quoted text clipped - 18 lines]
> >
> > Thanks in advance.
aaron.kempf@gmail.com - 29 Nov 2006 22:50 GMT
what.. you're a java architect
two of the most worthless words EVER
-Aaron
java2archit...@gmail.com wrote:
> Yo Dumbkoff. If I wanted to do everything in SQL I would not bother to
> use Report Services.
[quoted text clipped - 26 lines]
> > >
> > > Thanks in advance.