ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Is there a way to place every 5th line in a cell? (https://www.excelbanter.com/excel-discussion-misc-queries/131854-there-way-place-every-5th-line-cell.html)

Terri

Is there a way to place every 5th line in a cell?
 
Is there a formula that you can use to look in say column H, and return what
is in every 5th row?
--
Terri
Amos Pewter

Gary''s Student

Is there a way to place every 5th line in a cell?
 
In an unused column enter:

=INDIRECT("H"&ROW()*5)
and copy down

you will get H5, H10, H15,....
--
Gary's Student
gsnu200707


"Terri" wrote:

Is there a formula that you can use to look in say column H, and return what
is in every 5th row?
--
Terri
Amos Pewter


RagDyeR

Is there a way to place every 5th line in a cell?
 
To display row 1, 6, 11, ... etc.,
Try this *anywhere* on the Sheet:
=INDEX(H:H,5*ROWS($1:1)-4)

To display Row 5, 10, 15, ...etc.
Try this *anywhere* on the Sheet:
=INDEX(H:H,5*ROWS($1:1))

And copy down as needed.
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"Terri" wrote in message
...
Is there a formula that you can use to look in say column H, and return what
is in every 5th row?
--
Terri
Amos Pewter




All times are GMT +1. The time now is 08:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com