New Excel Forum

This forum has been moved to TeachExcel.com

Ask all future questions in the New Excel Forum.

ExcelKey

formula that will copy column from 1 column 2 another -Blanks

Formulas, Functions, Formatting, Charts, Data Analysis, etc.

formula that will copy column from 1 column 2 another -Blanks

Postby Beattle Juice » Sat Jan 30, 2016 7:55 pm

would anybody have a formula that will copy say column B8:B1004 to C8:C1004 with out blanks there is a formula in the cell only want the seen value left in C column

is dynamic the right word for this B8:B1004 may change do to formula in its cell which will cause others to change and this is needed
  • 0

Just asking the right question the right way is the biggest problem to getting the right answer...with that said LOOKs like I got some problems. LOL
Beattle Juice
Rookie
 
Posts: 13
Joined: Jan 18, 2016
Location: Alaska
Reputation: 0
Excel Version: 13 & 2007

Re: formula that will copy column from 1 column 2 another -Blanks

Postby Ift Yewd Toadme » Sun Jan 31, 2016 2:48 am

try A=IFERROR(INDEX(B$8:B$1004,SMALL(IF(B$8:B$1004<>"",ROW(B$8:B$1004)-ROW(B$8)+1),ROWS(C$8:C8))),""
  • 0

Ift Yewd Toadme
Rookie
 
Posts: 3
Joined: Jan 29, 2016
Reputation: 0
Excel Version: 2007

Re: formula that will copy column from 1 column 2 another -Blanks

Postby Kevin UK » Sun Jan 31, 2016 3:07 am

@ Ift Yewd Toadme

You forgot to mention that your formula is a array formula, so it needs to be committed CTRL + SHIFT + ENTER and you need a closing bracket on the end, probably a typo. :)

@ Beattle Juice

For a non array version:
Code: Select all
=IFERROR(INDEX(B$8:B$15,AGGREGATE(15,6,ROW(B$8:B$15)-ROW(B$7)/(B$8:B$15<>""),ROWS(B$8:B8))),"")
  • 1

Regards

Kevin
Kevin UK
Excel Master
 
Posts: 568
Joined: Jun 24, 2012
Reputation: 86
Excel Version: 2016

Re: formula that will copy column from 1 column 2 another -Blanks

Postby Beattle Juice » Sun Jan 31, 2016 6:00 am

yes thanks so much both i am getting closer to finishing this thing now ..if i can figure out a few more pieces i think i will be done with this thing
  • 0

Just asking the right question the right way is the biggest problem to getting the right answer...with that said LOOKs like I got some problems. LOL
Beattle Juice
Rookie
 
Posts: 13
Joined: Jan 18, 2016
Location: Alaska
Reputation: 0
Excel Version: 13 & 2007

Re: formula that will copy column from 1 column 2 another -Blanks

Postby Ift Yewd Toadme » Sun Jan 31, 2016 11:47 pm

@ Kevin UK yeah think it was a copy paste error thank you
i cant seam to get this one to work am i doing something wrong


=IFERROR(INDEX(B$8:B$15,AGGREGATE(15,6,ROW(B$8:B$15)-ROW(B$7)/(B$8:B$15<>""),ROWS(B$8:B8))),"")
it copies list but dont take out blanks for me
  • 0

Ift Yewd Toadme
Rookie
 
Posts: 3
Joined: Jan 29, 2016
Reputation: 0
Excel Version: 2007

Re: formula that will copy column from 1 column 2 another -Blanks

Postby Kevin UK » Mon Feb 01, 2016 12:55 am

Hi Ift Yewd Toadme

The OP has Excel 2013, the aggregate function is only available in Excel 2010 and later versions. You have 2007 in your profile.
  • 0

Regards

Kevin
Kevin UK
Excel Master
 
Posts: 568
Joined: Jun 24, 2012
Reputation: 86
Excel Version: 2016


Return to General Excel Questions

Who is online

Users browsing this forum: No registered users and 113 guests