• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Extract from 3 columns [SOLVED]

Hi,


My data set looks like this:


A B C

1 Joe New York

34 Mike Rio

453 James London


I need to mount a column like this in D:


D

1

JOE

NEW YORK

""

34

Mike

Rio

""

453

James

London


ps: "" is blank


Thanks in advance.
 
Okay, in D1 put an apostrophe i.e. ' and copy that apostrophe down all the way to the bottom of the data. (e.g. if your data goes to $C$10000 then copy that apostrophe down to $D$10000)


In E1 put this:

=OFFSET($A$1,MOD(ROW(),-4)+3,INT((ROW()-1)/4),1,1)&""

Copy that formula down, then copy and paste values to turn it from a formula into values.
 
Hi Luis ,


Can you try this ?


=IF(MOD(ROW(),4)=0,"",OFFSET($A$1,((ROW()-1)/4),MOD(ROW()-1,4)))


Enter this in D1 , and copy down.


Narayan
 
Yep, that IF(MOD(ROW(),4)=0,"" bit makes your formula an easier approach, Narayan. Why didn't I think of that?
 
Back
Top