fbm2themex
Programmer
I am trying to count/find the page count. or more like to find how many pages(N's) are within Y(each Y)..
example:
(Col1) (Col2) (what im trying to get in the nxt col)
1 Y 3
2 N
3 N
4 Y 1
5 Y 5
6 N
7 N
8 N
9 N
10 C 1
in excel..the formula is:
=IF(B1="Y",MATCH("Y",B2:$B$10,0),"")
now, im trying to figure out a query in access...not sure how tho...
example:
(Col1) (Col2) (what im trying to get in the nxt col)
1 Y 3
2 N
3 N
4 Y 1
5 Y 5
6 N
7 N
8 N
9 N
10 C 1
in excel..the formula is:
=IF(B1="Y",MATCH("Y",B2:$B$10,0),"")
now, im trying to figure out a query in access...not sure how tho...