LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How to apply a function to an entire column

I'm a new user to Excel so please be gentle with me. I'm using Excel version
2003.

A spreadsheet of raw data will be created each day via an export from
another tool and sent to me to clean it up and format it appropriately.

One thing I need to do is to calculate the elapsed time between the
date/time in two different columns (Bn minus An) and place that result into
Cn. If either Bn or An is blank, I'm placing a vaule of 0 00:00 into Cn.
Having read many of the postings here today, I already have this working
properly on the first data row in my "test" spreadsheet, row 2.

My "test" spreadsheet only has 50 data rows in it and since I'm working with
it interactively, I can easily replicate the formula in C2 to only the
populated rows of my spreadsheet by copying the formula in C2 and pasting it
to C3.....C51.

Since I need to apply the same formatting to the raw data spreadsheet I'll
receive each day, I'm going to put it all into an Excel macro. How do I apply
the formula in C2 to only the populated data rows in the spreadsheet, via the
macro, not knowing how many data rows are in the spreadsheet? That number
will vary day-to-day and will range in count from 500 to several thousand.

Sorry for being so lengthy. Your help is greatly appreciated! Barbara
 
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 to apply the same formula to an entire column Lisab New Users to Excel 5 August 9th 07 04:34 PM
How do I apply formula to entire column Stephan Excel Discussion (Misc queries) 2 October 1st 06 06:04 PM
How do I apply my function to the entire column? jsthngn Excel Discussion (Misc queries) 1 January 23rd 06 03:21 PM
How do I apply a function to an entire column? didja New Users to Excel 1 November 23rd 05 05:04 AM
how to apply one function to an entire column of numbers guatdoc Excel Worksheet Functions 1 November 9th 05 04:26 AM


All times are GMT +1. The time now is 11:53 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"