Combining 2 lists

R

richdaviesdotcom

Hi,

In column A I have First Name, In Column B I have Surname. There are
over 2000 rows.

I need column C to have Firstname A1 in C1, Surname B1 in C2, so that
I end up with a single list of names, First Name above each Surname.
(This is to paste into something else)

I really don't want to manually key in the cell references. I'm sure
this should be easier than I'm finding it.

Any ideas?
 
R

Roger Govier

Hi Rich

in C1
=INDEX($A$1:$B$100,INT((ROW()+1)/2),MOD(ROW()+1,2)+1)
copy down as far as required.
 
R

richdaviesdotcom

Hi Rich

in C1
=INDEX($A$1:$B$100,INT((ROW()+1)/2),MOD(ROW()+1,2)+1)
copy down as far as required.

--
Regards
Roger Govier











- Show quoted text -


Thanks Roger,

Thats nearly working, for some reason it's giving me blanks for the
First Name, but the Surname is OK.
 
T

Teethless mama

In C1: =OFFSET($A$1,INT((ROW()-1)/2),MOD(ROW()-1,2))

copy down as far as needed
 
R

Roger Govier

Hi Rich
Are you sure you copied it as posted?
It works absolutely fine for me.

=INDEX($A$1:$B$100,INT((ROW()+1)/2),MOD(ROW()+1,2)+1)
 

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