View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sandy Mann Sandy Mann is offline
external usenet poster
 
Posts: 2,345
Default sumproduct mod row

Try working out which cell one of the #VALUE! returns is being returned
from - say it was A65 - then try in an empty cell the formula:

=ISNUMBER(A56)

If you do not get TRUE then the entry is text even if it looks like a number

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"denise" wrote in message
...
There aren't any visible #VALUE! errors in the range however when I
evaluate
the formula, I see #VALUE! in most of the cells. The way the spreadsheet
is
set up every other line is text:

row 16 Concession
row 17 1
row 18 Affidavit
row 19 0
row 20 AWAS
row 21 0
etc., with the items repeating every 13th row (rows 15-27 are for Day 1,
rows 28-40 for Day 2...)

Could the text be causing the #VALUE! error?

Thanks,
Denise

"JE McGimpsey" wrote:

It works fine for me. Do you have any #VALUE! errors in O17:O407??

However, if you want to start with the value in row 17, use

(MOD(ROW(17:407),13)=4)

instead.

In article ,
denise wrote:

Hello folks,

I'm hoping someone can help me since I have hit a snag in trying to
modify a
formula.

This formula is working now (in J3) to sum starting with the value in
row 11
and then adding every 7th row:
=SUMPRODUCT((J11:J221)*(MOD(ROW(11:221),7)=4))

I want to adapt this (in O4) to sum starting with the value in row 17
and
then add every 13th row. I've tried
=SUMPRODUCT((O17:O407)*(MOD(ROW(17:407),13)=3)) but I get #VALUE. I'm
guessing the problem is with the =3 at the end of the formula but I
can't
figure out what it should be. Any ideas?

Thanks,
Denise