PC Review


Reply
Thread Tools Rate Thread

copying down the formula just for data

 
 
childofthe1980s
Guest
Posts: n/a
 
      23rd Jun 2009

Hello:

I'm going to program a macro in Excel 2003 that will copy the results an If,
Then statement straight down the column. The statement is based on data in
the column to the left.

Anyway, I just want to copy the results down the column for data that is in
the column to the left. I don't want every cell in the If, Then column to be
filled. Otherwise, call 65k and so forth down the spreadsheet gets filled in.

Is there a formula or keystroke that I can use and that the macro will
utilize, without having to do VBA programming?

Thanks!

childofthe1980s
 
Reply With Quote
 
 
 
 
childofthe1980s
Guest
Posts: n/a
 
      23rd Jun 2009

That's exactly what I needed, Mike! Thank you! I apologize, for the
confusion!

childofthe1980s

"Mike H" wrote:

> Hi,
>
> Your question is confusing, you start with
>
> > I'm going to program a macro in Excel 2003

>
> and end with
>
> > Is there a formula or keystroke that I can use and that the macro will
> > utilize, without having to do VBA programming?

>
>
> So lets try without a macro and you can ask a follow up question if necessary.
>
> If you select the cell with the formula you will notice a box on the bottom
> right of the cell. Double click this box and the formula will fill down as
> far as there are data in the adjacent column.
>
> Mike
>
> "childofthe1980s" wrote:
>
> > Hello:
> >
> > I'm going to program a macro in Excel 2003 that will copy the results an If,
> > Then statement straight down the column. The statement is based on data in
> > the column to the left.
> >
> > Anyway, I just want to copy the results down the column for data that is in
> > the column to the left. I don't want every cell in the If, Then column to be
> > filled. Otherwise, call 65k and so forth down the spreadsheet gets filled in.
> >
> > Is there a formula or keystroke that I can use and that the macro will
> > utilize, without having to do VBA programming?
> >
> > Thanks!
> >
> > childofthe1980s

 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      23rd Jun 2009

To find the last filled row in a column

the below returns last filled row in ColA.
lngLastRow = ActiveSheet.Cells(Rows.Count, "A").End(xlUp).Row

If this post helps click Yes
---------------
Jacob Skaria


"childofthe1980s" wrote:

> Hello:
>
> I'm going to program a macro in Excel 2003 that will copy the results an If,
> Then statement straight down the column. The statement is based on data in
> the column to the left.
>
> Anyway, I just want to copy the results down the column for data that is in
> the column to the left. I don't want every cell in the If, Then column to be
> filled. Otherwise, call 65k and so forth down the spreadsheet gets filled in.
>
> Is there a formula or keystroke that I can use and that the macro will
> utilize, without having to do VBA programming?
>
> Thanks!
>
> childofthe1980s

 
Reply With Quote
 
childofthe1980s
Guest
Posts: n/a
 
      23rd Jun 2009

Well, although I appreciate the help, Mike H.'s suggestion was actualy what I
needed. It's nice and neat, and I don't have to do any programming.

Again, though, thanks for chiming in!!!

childofthe1980s

"Jacob Skaria" wrote:

> To find the last filled row in a column
>
> the below returns last filled row in ColA.
> lngLastRow = ActiveSheet.Cells(Rows.Count, "A").End(xlUp).Row
>
> If this post helps click Yes
> ---------------
> Jacob Skaria
>
>
> "childofthe1980s" wrote:
>
> > Hello:
> >
> > I'm going to program a macro in Excel 2003 that will copy the results an If,
> > Then statement straight down the column. The statement is based on data in
> > the column to the left.
> >
> > Anyway, I just want to copy the results down the column for data that is in
> > the column to the left. I don't want every cell in the If, Then column to be
> > filled. Otherwise, call 65k and so forth down the spreadsheet gets filled in.
> >
> > Is there a formula or keystroke that I can use and that the macro will
> > utilize, without having to do VBA programming?
> >
> > Thanks!
> >
> > childofthe1980s

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
copying down a formula only where there is data childofthe1980s Microsoft Excel Programming 3 15th Jul 2009 01:33 PM
RE: copying down the formula just for data Mike H Microsoft Excel Programming 0 23rd Jun 2009 05:57 PM
Copying Data/Formula Kristi Microsoft Excel Worksheet Functions 1 27th Nov 2007 08:58 PM
formula copying data and lay out Kootje Microsoft Excel Misc 6 30th Jun 2006 04:43 PM
copying data by way of a formula =?Utf-8?B?U2FuZHk=?= Microsoft Excel Worksheet Functions 2 7th Apr 2004 04:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:55 AM.