Every 20th line

B

Brian

Is there a way to mark every 20th (or 5th or 9th -
whatever) line? For auditing purposes, we want to be sure
that whatever lines we select are random and figured that
by writing some sort of formula to have it mark each 20th
line with an "x", then we wouldn't have to do it manually.

Any thoughts?
 
R

Ron de Bruin

Try this formula in the first row and copy down

=IF(MOD(ROW(A1),5),"","X")

I use 5 in the example
 

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