Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sam Sam is offline
external usenet poster
 
Posts: 699
Default do the same thing to multiple hard coded cells

Hello!

How can I repeat a function to multiple cells that are hard-coded with data?
For example, I have the following data hard-coded:

D ..... H
1 50 42
2 38 37

What I would like to do, is add what is in D1 to what is already hard-coded
in H1 (in this case, 42 + 50, but I don't want to go back into every cell in
column H and type in the "+D1"), and add D2 to what is in H2, etc.

Any help is appreciated! Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default do the same thing to multiple hard coded cells

Select the cells in column D and copy them. Click on H1 and:
Edit PasteSpecial Add
--
Gary''s Student - gsnu200772
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sam Sam is offline
external usenet poster
 
Posts: 699
Default do the same thing to multiple hard coded cells

That works great for this particular application, but just for future-use
probability, is there a way to do it without losing the cell reference? To
keep it as "=42 + D1" for example? Thanks!

"Gary''s Student" wrote:

Select the cells in column D and copy them. Click on H1 and:
Edit PasteSpecial Add
--
Gary''s Student - gsnu200772

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default do the same thing to multiple hard coded cells

In a helper column enter =D1+H1

Copy down as far as you have data.

The cell refs will increment.


Gord Dibben MS Excel MVP


On Fri, 7 Mar 2008 07:42:00 -0800, Sam wrote:

That works great for this particular application, but just for future-use
probability, is there a way to do it without losing the cell reference? To
keep it as "=42 + D1" for example? Thanks!

"Gary''s Student" wrote:

Select the cells in column D and copy them. Click on H1 and:
Edit PasteSpecial Add
--
Gary''s Student - gsnu200772


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
Versatile "adaptive" formulae? (instead of "hard"coded IF tests) MCSmarties[_2_] Excel Discussion (Misc queries) 1 October 5th 07 09:28 PM
Changing the Same thing on multiple charts mea Charts and Charting in Excel 1 April 24th 07 12:54 PM
Sum Color coded cells taxmom Excel Worksheet Functions 1 October 10th 06 12:36 AM
Convert Hard-coded cell values to constants Takeadoe Excel Discussion (Misc queries) 2 May 20th 06 12:59 AM
References to open/hidden workbooks become hard-coded in formulas - 2003 L Mehl Excel Discussion (Misc queries) 2 November 27th 04 09:28 PM


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