ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Using list of data in another worksheet (https://www.excelbanter.com/excel-worksheet-functions/75974-using-list-data-another-worksheet.html)

vanjoli

Using list of data in another worksheet
 
I am trying to take an imported text list of first and last names from one
worksheet and using =A2&", "&A1 on a second worksheet, I want to list all of
the names with a blank line between each of the names. There are too many
names to enter this formula each time. Whenever I try a series, it skips a
name. Any ideas how to easily do this?

SteveG

Using list of data in another worksheet
 

Use the formula you have for the first name. Starting with the second
name try this,

=OFFSET(A2,ROW(A1)+1,0)&", "&OFFSET(A1,ROW(A1)+1,0)

Copy down as needed.

Does that help?

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=520195


vanjoli

Using list of data in another worksheet
 
Modified, this works for the second name, but as I copy it down, the
reference and the row values increment in the OFFSET function, which poses
the same issue as before. I may have had inaccurate info for the first
posting.

The formula for the first name, (cell B3), on the second worksheet actually
shows:
=Sheet1!C1&", "&Sheet1!B1

So for the second name, (in cell B5), I used:
=OFFSET(Sheet1!C1,ROW(A1)+0,0)&", "&OFFSET(Sheet1!B1,ROW(A1)+0,0)

And to get the third name, (in cell B7), I had to use:
=OFFSET(Sheet1!C1,ROW(A1)+1,0)&", "&OFFSET(Sheet1!B1,ROW(A1)+1,0)


"SteveG" wrote:


Use the formula you have for the first name. Starting with the second
name try this,

=OFFSET(A2,ROW(A1)+1,0)&", "&OFFSET(A1,ROW(A1)+1,0)

Copy down as needed.

Does that help?

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=520195



vanjoli

Using list of data in another worksheet
 
Your information helped me enough to get it figured out. This is what I ended
up using:

=OFFSET(Sheet1!C3,-((ROW())/2+0.5),0)&",
"&OFFSET(Sheet1!B3,-((ROW())/2+0.5),0)

"SteveG" wrote:


Use the formula you have for the first name. Starting with the second
name try this,

=OFFSET(A2,ROW(A1)+1,0)&", "&OFFSET(A1,ROW(A1)+1,0)

Copy down as needed.

Does that help?

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=520195



SteveG

Using list of data in another worksheet
 

Ok. I think I got it. Again, use your standard formula to retrieve the
first name from Sheet1! in B3. In B5 use:

=IF(ISEVEN(ROW()),"",OFFSET(Sheet1!$B$1,COUNTBLANK ($B$3:B4),0)&",
"&OFFSET(Sheet1!$A$1,COUNTBLANK($B$3:B4),0))

You can then drag this down and it will only populate the next name in
every other row so in this case B7, B9, B11 and so on down the line.

Does that work for you?

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=520195



All times are GMT +1. The time now is 02:29 PM.

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