How To Choose Every Third Row Of A Table

  • Thread starter Thread starter papakos22
  • Start date Start date
P

papakos22

HI!!!!!!!!!
I WOULD LIKE TO ASK IF THERE IS A COMAND OR MACRO THAT
ALLOWS ME TO CHOOSE EVERY THIRD ROW OF A TABLE WITH THOUSANDS ROWS
 
Choose??? tell us what you need to do with every third row, as the answers
could well be different.

To add every 3rd value regardless of what row the data starts in

=SUMPRODUCT(--(MOD(ROW(A14:A37),3)=(MOD(ROW()+2,3))),A14:A37)
 
Sum every 3rd row is

=SUMPRODUCT(--(MOD(ROW(A14:A37),3)=1),(A14:A37))

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

Ken Wright said:
Choose??? tell us what you need to do with every third row, as the answers
could well be different.

To add every 3rd value regardless of what row the data starts in

=SUMPRODUCT(--(MOD(ROW(A14:A37),3)=(MOD(ROW()+2,3))),A14:A37)

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

-------------------------------------------------------------------------- --
It's easier to beg forgiveness than ask permission :-)
-------------------------------------------------------------------------- --
 

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

Back
Top