#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Macro or Formula?

I have a spreadsheet loaded with rates. If I need to change all the rates by
a specific amount, what should I use.. I tried a formula and found that I
couldn't get away from circular...

Example: Rate this week is 1.25 - Need to be raised .05 for the week...
result is 1.30. The following week the rate needs to be lowered by .05...
result is 1.25.

I have approximately 40 rates on one sheet and this kind of change can
happen across the board. (all 40 raised and/or lowered the same amount) -
does this need to be a macro - if so, how would I tell the macro to make the
specific amount change?

any expert advise would be appreciated!!!!!
thanks
--
R Wright
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,549
Default Macro or Formula?


You could change all 40 formulas so they include the value from a specific cell (A1).
Then put the incremental rate change in that cell...
"=Rate(60,-135.35,5000) *2+A1"
That will allow you to change all of the values just by changing A1
-or-
If the cells with the rates do not have formulas then...
Enter the rate change amount in a blank cell.
Copy the cell.
Select the 40 cells.
Go to Edit | Paste Special | Add - click OK.
Clear the cell with the rate change.
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




"RWright"
wrote in message
I have a spreadsheet loaded with rates. If I need to change all the rates by
a specific amount, what should I use.. I tried a formula and found that I
couldn't get away from circular...

Example: Rate this week is 1.25 - Need to be raised .05 for the week...
result is 1.30. The following week the rate needs to be lowered by .05...
result is 1.25.

I have approximately 40 rates on one sheet and this kind of change can
happen across the board. (all 40 raised and/or lowered the same amount) -
does this need to be a macro - if so, how would I tell the macro to make the
specific amount change?

any expert advise would be appreciated!!!!!
thanks
--
R Wright
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Macro or Formula?

Thank you!!!
--
R Wright


"Jim Cone" wrote:


You could change all 40 formulas so they include the value from a specific cell (A1).
Then put the incremental rate change in that cell...
"=Rate(60,-135.35,5000) *2+A1"
That will allow you to change all of the values just by changing A1
-or-
If the cells with the rates do not have formulas then...
Enter the rate change amount in a blank cell.
Copy the cell.
Select the 40 cells.
Go to Edit | Paste Special | Add - click OK.
Clear the cell with the rate change.
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




"RWright"
wrote in message
I have a spreadsheet loaded with rates. If I need to change all the rates by
a specific amount, what should I use.. I tried a formula and found that I
couldn't get away from circular...

Example: Rate this week is 1.25 - Need to be raised .05 for the week...
result is 1.30. The following week the rate needs to be lowered by .05...
result is 1.25.

I have approximately 40 rates on one sheet and this kind of change can
happen across the board. (all 40 raised and/or lowered the same amount) -
does this need to be a macro - if so, how would I tell the macro to make the
specific amount change?

any expert advise would be appreciated!!!!!
thanks
--
R Wright

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
Formula - Macro orquidea Excel Discussion (Misc queries) 7 December 7th 07 02:19 AM
Formula or Macro Help trishl Excel Discussion (Misc queries) 0 March 24th 06 04:53 PM
formula to a macro help PLEASE Hemming Excel Discussion (Misc queries) 2 March 9th 06 03:16 PM
Do I need a formula or Macro? Sharen Excel Worksheet Functions 2 July 10th 05 05:27 PM
Macro - formula for end of last row Gary Brown Excel Worksheet Functions 1 June 1st 05 12:02 AM


All times are GMT +1. The time now is 05:17 AM.

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"