ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Returning list values (https://www.excelbanter.com/excel-worksheet-functions/39959-returning-list-values.html)

bruner

Returning list values
 
I have a list of names on sheet 2 of a worksheet that extends from A1 to
A249. I want to return name 1 on sheet 1 in A6, name 2 in A17, name 3 in
A28, etc. What formula can I use to do this?

I figured out how to do it with offset when i'm copying and pasting for each
line (A1, A2, A3, A4, etc.), but not for every 11 rows without it skipping to
the 11th name on the list? Any suggestions?

Ron Coderre

Try this:

On Sheet 1
A6: =INDEX(Sheet2!$A:$A,MAX((ROW(A6)-6)*11,1),0)

Copy that formula down as needed.

Does that help?

--
Regards,
Ron


"bruner" wrote:

I have a list of names on sheet 2 of a worksheet that extends from A1 to
A249. I want to return name 1 on sheet 1 in A6, name 2 in A17, name 3 in
A28, etc. What formula can I use to do this?

I figured out how to do it with offset when i'm copying and pasting for each
line (A1, A2, A3, A4, etc.), but not for every 11 rows without it skipping to
the 11th name on the list? Any suggestions?


bruner

No, that doesn't work basd on my original quetion. It returns the 11th value
in my list. I want to return first value in the list on A6, second entry in
the list on A17, third value in the list on A28, etc.

I can't just copy down, because there is important data in between the 11
rows that I will copy over.


"Ron Coderre" wrote:

Try this:

On Sheet 1
A6: =INDEX(Sheet2!$A:$A,MAX((ROW(A6)-6)*11,1),0)

Copy that formula down as needed.

Does that help?

--
Regards,
Ron


"bruner" wrote:

I have a list of names on sheet 2 of a worksheet that extends from A1 to
A249. I want to return name 1 on sheet 1 in A6, name 2 in A17, name 3 in
A28, etc. What formula can I use to do this?

I figured out how to do it with offset when i'm copying and pasting for each
line (A1, A2, A3, A4, etc.), but not for every 11 rows without it skipping to
the 11th name on the list? Any suggestions?


Ron Coderre

I think I have it this time:

On Sheet2, put this formula in a cell in row 6 in a column that is blank:
=INDEX(Sheet1!$A:$A,(((ROW()-6)/11)+1),1)

Note: that formula should return the 1st item in the list on Sheet1.

Copy that formula into rows 17, 28, etc.

Now, copy from the first formula down through the last formula (including
the blank cells).

Select Cell A6 and
EditPasteSpecial
--select formulas
--select Skip Blanks
Click the [OK] button
Press the [Esc] key to exit Copy/Paste mode.

Does that help?

--
Regards,
Ron


"bruner" wrote:

No, that doesn't work basd on my original quetion. It returns the 11th value
in my list. I want to return first value in the list on A6, second entry in
the list on A17, third value in the list on A28, etc.

I can't just copy down, because there is important data in between the 11
rows that I will copy over.


"Ron Coderre" wrote:

Try this:

On Sheet 1
A6: =INDEX(Sheet2!$A:$A,MAX((ROW(A6)-6)*11,1),0)

Copy that formula down as needed.

Does that help?

--
Regards,
Ron


"bruner" wrote:

I have a list of names on sheet 2 of a worksheet that extends from A1 to
A249. I want to return name 1 on sheet 1 in A6, name 2 in A17, name 3 in
A28, etc. What formula can I use to do this?

I figured out how to do it with offset when i'm copying and pasting for each
line (A1, A2, A3, A4, etc.), but not for every 11 rows without it skipping to
the 11th name on the list? Any suggestions?


bruner

I think i'm tracking with you, but i'm now a little confused. Which formula
goes on sheet 2 and which one goes on sheet1?

"Ron Coderre" wrote:

I think I have it this time:

On Sheet2, put this formula in a cell in row 6 in a column that is blank:
=INDEX(Sheet1!$A:$A,(((ROW()-6)/11)+1),1)

Note: that formula should return the 1st item in the list on Sheet1.

Copy that formula into rows 17, 28, etc.

Now, copy from the first formula down through the last formula (including
the blank cells).

Select Cell A6 and
EditPasteSpecial
--select formulas
--select Skip Blanks
Click the [OK] button
Press the [Esc] key to exit Copy/Paste mode.

Does that help?

--
Regards,
Ron


"bruner" wrote:

No, that doesn't work basd on my original quetion. It returns the 11th value
in my list. I want to return first value in the list on A6, second entry in
the list on A17, third value in the list on A28, etc.

I can't just copy down, because there is important data in between the 11
rows that I will copy over.


"Ron Coderre" wrote:

Try this:

On Sheet 1
A6: =INDEX(Sheet2!$A:$A,MAX((ROW(A6)-6)*11,1),0)

Copy that formula down as needed.

Does that help?

--
Regards,
Ron


"bruner" wrote:

I have a list of names on sheet 2 of a worksheet that extends from A1 to
A249. I want to return name 1 on sheet 1 in A6, name 2 in A17, name 3 in
A28, etc. What formula can I use to do this?

I figured out how to do it with offset when i'm copying and pasting for each
line (A1, A2, A3, A4, etc.), but not for every 11 rows without it skipping to
the 11th name on the list? Any suggestions?


Ron Coderre

Here's the way I read it...

You have a list on Sheet1 that will be read by formulas on Sheet2.

On Sheet2, you need formulas in rows 6, 17, 28, etc (every 11 rows) that
read sequential items from the Sheet1 list. Consequently, the formulas go in
Sheet2.

Does that clear up the confusion?

--
Regards,
Ron


"bruner" wrote:

I think i'm tracking with you, but i'm now a little confused. Which formula
goes on sheet 2 and which one goes on sheet1?

"Ron Coderre" wrote:

I think I have it this time:

On Sheet2, put this formula in a cell in row 6 in a column that is blank:
=INDEX(Sheet1!$A:$A,(((ROW()-6)/11)+1),1)

Note: that formula should return the 1st item in the list on Sheet1.

Copy that formula into rows 17, 28, etc.

Now, copy from the first formula down through the last formula (including
the blank cells).

Select Cell A6 and
EditPasteSpecial
--select formulas
--select Skip Blanks
Click the [OK] button
Press the [Esc] key to exit Copy/Paste mode.

Does that help?

--
Regards,
Ron




"bruner" wrote:

I have a list of names on sheet 2 of a worksheet that extends from A1 to
A249. I want to return name 1 on sheet 1 in A6, name 2 in A17, name 3 in
A28, etc. What formula can I use to do this?

I figured out how to do it with offset when i'm copying and pasting for each
line (A1, A2, A3, A4, etc.), but not for every 11 rows without it skipping to
the 11th name on the list? Any suggestions?



All times are GMT +1. The time now is 01:12 AM.

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