I want fill a column continuously with values from 2 columns
Col A Col B
1 4
3 6
7 8
9 11
10 14
Result
1
4
3
6
7
8
9
11
10
14
I want fill a column continuously with values from 2 columns
Col A Col B
1 4
3 6
7 8
9 11
10 14
Result
1
4
3
6
7
8
9
11
10
14
Last edited by shejintr; 03-17-2012 at 08:52 PM.
Try...Please Login or Register to view this content.
A non-macro solution. With values in columns A:B,put this formula in G1 and copy down:
=INDEX(A:B, CEILING(ROW()/2,1), MOD((ROW()+1),2)+1)
Last edited by JBeaucaire; 03-18-2012 at 09:46 AM.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Thanks . It works
If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.
Could someone actually do this ASAP to C column of the file attached using INDEX function, because I get an error message saying bad formula every single time I try. It would really help me to understand the logic of this.
Thanks in advance!
Last edited by Intrekid; 02-11-2013 at 02:00 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks