range offset

M

Mark

Hi,
Actually I have problem with offset (about 4 and 5
columns) defined range and count "txt" with value 1.
Why don't work below function?

=SUMPRODUCT((OFFSET(myrange,0,5,0,0)="txt")*(OFFSET
(myrange,0,4,0,0)=1)

I work in excel 2000 and myrange is in another sheet.

Regards
Mark
 
G

Guest

I managed ..

=SUMPRODUCT((OFFSET(myrange,0,5)="txt")*(OFFSET
(myrange,0,4)=1))

Regards
Mark
 
P

Paul

Mark said:
Hi,
Actually I have problem with offset (about 4 and 5
columns) defined range and count "txt" with value 1.
Why don't work below function?

=SUMPRODUCT((OFFSET(myrange,0,5,0,0)="txt")*(OFFSET
(myrange,0,4,0,0)=1)

I work in excel 2000 and myrange is in another sheet.

Regards
Mark

OFFSET(myrange,0,5,0,0) and OFFSET(myrange,0,4,0,0) are references to ranges
with zero height and width. The last 2 parameters should be 1 (or omitted).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top