Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
 
Posts: n/a
Default Fill the entire column with a function

Hi,

Maybe it is too simple - But I have no Idea :-(

I have a sheet - which all columns are retrieves data using SQL Query
(From Sql Server), but the first column is calculation based on the
other columns - How can I have the first cell in each row populated
with this formula? (Currently - after refreshing data - I am dragging
the formula for the new rows added. I am sure there is a better way)

Can anyone help please?

  #2   Report Post  
David McRitchie
 
Posts: n/a
Default

See http://www.mvps.org/dmcritchie/excel/fillhand.htm#filld
for a macro equivalent of Ctrl+D
It will look to the cell to the left to see how far to copy down.

Ctrl+D will look to right if the left is not available, so the macro is
not quite the same.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

wrote in message oups.com...
Hi,

Maybe it is too simple - But I have no Idea :-(

I have a sheet - which all columns are retrieves data using SQL Query
(From Sql Server), but the first column is calculation based on the
other columns - How can I have the first cell in each row populated
with this formula? (Currently - after refreshing data - I am dragging
the formula for the new rows added. I am sure there is a better way)

Can anyone help please?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a formula for an entire column Shelly9633 New Users to Excel 2 August 1st 05 11:24 PM
Copy one cell to entire column Tom Excel Discussion (Misc queries) 3 April 28th 05 03:26 PM
Copy one cell to entire column Tom Excel Discussion (Misc queries) 6 April 27th 05 11:39 PM
how can i fill blank cells in column with abc while the right col. khurram saddique Excel Discussion (Misc queries) 2 February 12th 05 03:25 PM
In MS Excel, how do I fill in a column with the same cell from se. krempin Excel Worksheet Functions 2 February 9th 05 08:43 PM


All times are GMT +1. The time now is 04:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"