문제

I have a column of about 1000 IP addresses that I need to print 5 times in a single column.

For example

10.10.10.1
10.10.10.2
10.10.10.3
10.10.10.4

should become

10.10.10.1
10.10.10.1
10.10.10.1
10.10.10.1
10.10.10.1
10.10.10.2
10.10.10.2
10.10.10.2
10.10.10.2
10.10.10.2

etc, etc

Can this be done in Excel? What functions should I research?

도움이 되었습니까?

해결책

If your example is in range A1:A4, you can use this in column B as from cell B1:

=INDEX(A:A,INT((ROW()-1)/5)+1)

This will repeat each one 5 times.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top