Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 360
Default adding a formul to the next cell only with the next cell number

Okay to make sure there are no trailing spaces and garbage I did this on one
cell.
clean(trim(a2))

What I want to do is add this formula to the whole column. I try double
clicking the cell to add this formula to all the subsequent cells and it
changes them all to a2, instead of making it clean(trim(a3))
clean(trim(a4))
clean(trim(a5))etc.

How do I make it like this instead of like this?
clean(trim(a2))
clean(trim(a2))
clean(trim(a2))
etc.

thanks,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default adding a formul to the next cell only with the next cell number

I assume you have used an = sign.

=CLEAN(TRIM(A2))

Otherwise you are just filling text values.

If calculation mode is manual you will get the same values returned although the
cell refs should increment.


Gord Dibben MS Excel MVP

On Mon, 30 Jul 2007 12:26:00 -0700, Janis
wrote:

Okay to make sure there are no trailing spaces and garbage I did this on one
cell.
clean(trim(a2))

What I want to do is add this formula to the whole column. I try double
clicking the cell to add this formula to all the subsequent cells and it
changes them all to a2, instead of making it clean(trim(a3))
clean(trim(a4))
clean(trim(a5))etc.

How do I make it like this instead of like this?
clean(trim(a2))
clean(trim(a2))
clean(trim(a2))
etc.

thanks,


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
Can you change the relative reference of a cell in an Excel formul Rod Bowyer Excel Discussion (Misc queries) 4 July 14th 07 01:22 AM
Adding the same number to each cell in a column BrendaC New Users to Excel 7 February 21st 07 05:42 AM
adding number in next cell ED New Users to Excel 4 January 11th 06 09:44 PM
Is there a function to determine whether a cell contains a formul. Christo Kriel Excel Worksheet Functions 1 November 20th 04 06:54 PM
can you use a variable or cell reference in a getpivotdata formul. stevec Excel Worksheet Functions 1 November 8th 04 09:20 PM


All times are GMT +1. The time now is 06:52 AM.

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

About Us

"It's about Microsoft Excel"