Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default update formula in column when another cell formula is changed

Hi !

How can I change cell formulas automatically when I change another cell.

For example say:
For June: A1 through A250 cell formula is =+B7+AJ7+AR7+BA7+BI7+BQ7
every month it will have a new cell added to the formula
For July, these cell formulas will be =+B7+AJ7+AR7+BA7+BI7+BQ7+BY7

I want to automatically update A2 through A250 formulas by only changing the
A1 formula.

I know that I could drag the new formula down from A1 but I have 10 sheets
that need to be changed and I would like to find a way to automate this to
prevent human error...(mine!).

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default update formula in column when another cell formula is changed

Sounds like VBA would be best
I assume the cells values are non-zero otherwise you could have the entire
list of cells at any time

One possible (ugly) formula is
=B7*(month(today()) 0) +AJ7*(month(today()) 1) +AR7*(month(today()) 2)
and so on
The you use the same formula year-round
or
=B7*(Z90) +AJ7*(Z91) +AR7*(Z92) and so on AND z9 having =MONTH(TODAY())

Shame the data is laid out in a more friendly way so we could use SUMPRODUCT
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Susanelm" wrote in message
...
Hi !

How can I change cell formulas automatically when I change another cell.

For example say:
For June: A1 through A250 cell formula is =+B7+AJ7+AR7+BA7+BI7+BQ7
every month it will have a new cell added to the formula
For July, these cell formulas will be =+B7+AJ7+AR7+BA7+BI7+BQ7+BY7

I want to automatically update A2 through A250 formulas by only changing
the
A1 formula.

I know that I could drag the new formula down from A1 but I have 10 sheets
that need to be changed and I would like to find a way to automate this to
prevent human error...(mine!).

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
Update Excel cell in formula not refreshing answer cell Johnny Excel Discussion (Misc queries) 2 June 21st 07 05:49 AM
copy formula down a column and have cell references change within formula brad New Users to Excel 5 May 13th 07 04:38 PM
What formula will get a cell to update when the month changes lesterslamb Excel Worksheet Functions 2 May 25th 06 11:15 PM
Update cell reference within a formula Jean Excel Discussion (Misc queries) 1 February 4th 06 11:57 PM
How do I set a formula that indicates a if a cell value changed? Zachie Excel Worksheet Functions 3 March 9th 05 10:03 AM


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