Passing 2 Columns to 1 Row

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, i'm having dificulties to make a formula that does what i want, and the formula must do like this:
A B C
1 Ivone 111 Ivone
2 Joana 112 111
3 Manel 113 Joana
4 112
....
I'm doing like this but isn't getting good
=IF(D3="text";IF(C2>1;A1;B1);B4) -> is not doing the sequence of A1 - B2 - A2 - B2 get it?
Maybe i'm complicating a little don't i?
 
Hi

One way:

In C1:

=IF(MOD(ROW()-ROW($C$1),2),OFFSET($B$1,(ROW()-ROW($C$1))/2,0),
OFFSET($A$1,(ROW()-ROW($C$1))/2,0))

Copy down.
 
Thank u it really worked


"Leo Heuser" escreveu:
Hi

One way:

In C1:

=IF(MOD(ROW()-ROW($C$1),2),OFFSET($B$1,(ROW()-ROW($C$1))/2,0),
OFFSET($A$1,(ROW()-ROW($C$1))/2,0))

Copy down.

--
Best Regards
Leo Heuser

Followup to newsgroup only please.
 

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

Back
Top