Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Easy way to plus 10 to each cell in A1:A50?

Is there an easy way to do an operation to a row, colum or a selection?

For example, want to plus 10 to each cell in A1:A50.

Thank you.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Easy way to plus 10 to each cell in A1:A50?

I prefer a non programming way because this is such a simple common
operation. But any suggestion, programming or not, are welcome.

Thank you.

muster wrote:
Is there an easy way to do an operation to a row, colum or a selection?

For example, want to plus 10 to each cell in A1:A50.

Thank you.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default Easy way to plus 10 to each cell in A1:A50?

Dim Cell As Range

For Each Cell In Range("A1:A50")
Cell.Value = Cell.Value + 10
Next Cell

non-VB you would need to use an empty column (or insert a column), e.g. col
"B".
In "B1" put the formula "=A1+10" then drag "B1" down to row 50. When done
you could delete col "A" if necessary.

"muster" wrote:

I prefer a non programming way because this is such a simple common
operation. But any suggestion, programming or not, are welcome.

Thank you.

muster wrote:
Is there an easy way to do an operation to a row, colum or a selection?

For example, want to plus 10 to each cell in A1:A50.

Thank you.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Easy way to plus 10 to each cell in A1:A50?

In a blank cell type the number 10

Now copy the cell

Highlight the range that needs to be added to

Right click inside the highlighted range and Paste Special

In the operation part, highlight the Add radio button and click OK

Click anywhere to remove the highlighting and press Escape to remove the
marching ants from around the copied cell
--
Saruman

---------------------------------------------------------------------------
All Outgoing Mail Scanned By Norton Antivirus 2003
---------------------------------------------------------------------------
"muster" wrote in message
ups.com...
Is there an easy way to do an operation to a row, colum or a selection?

For example, want to plus 10 to each cell in A1:A50.

Thank you.



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
easy one - multipule formulas in one cell rjkeeler11 New Users to Excel 5 May 6th 09 10:23 PM
An easy way to delete spaces in a cell... LEG New Users to Excel 3 November 12th 07 05:27 PM
easy one - select a cell Kevin Excel Programming 3 October 3rd 05 02:29 PM
Easy question - If ...then Change cell value Mike R. Excel Programming 3 July 30th 05 04:50 AM
new user with easy question? not easy for me speakeztruth New Users to Excel 5 June 3rd 05 09:40 PM


All times are GMT +1. The time now is 10:39 PM.

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"