Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Box666
 
Posts: n/a
Default Can you work this backwards

Previously I used 3 simple formulas (if statements) to calculate a
charge, so if E9 =£3000 then the formula for the charge was

=IF(E9<=1000;E9*1.1;"£100") then
=IF(AND(E91000;E9 <=2000);(E9-1000)*0.9;"£200")
=IF(E92000;(E9-2000)*0.5;)
Total Cost ... of above 3 items plus E9 (£3000)

Now people are asking to spend a total of £3000 including the charge,
so now Total Cost is to be £3000 and then I have to work back to find
E9.

How is the best way to do this please.

Bob

  #2   Report Post  
Posted to microsoft.public.excel.misc
B. R.Ramachandran
 
Posts: n/a
Default Can you work this backwards

Hi,

Use the "Solver" utility in Excel.

Let us suppose that the total cost [which is the sum of E9 and the charges
calculated with your formula(s)] is in the cell J9.
Invoke "Solver" from the "Tools" menu in the Toolbar,
"Set Target Cell" J9;
"Equal To" Check "Value of:" and enter 3000;
"By Changing Cells" E9
Click "Solve"

Note that the 'Solver' add-in is not installed in a standard installation of
Excel. If that is the case, install it as follows:
"Tools" -- "Add-ins" and check the "Solver Add-in" button........

Regards,
B. R. Ramachandran

"Box666" wrote:

Previously I used 3 simple formulas (if statements) to calculate a
charge, so if E9 =£3000 then the formula for the charge was

=IF(E9<=1000;E9*1.1;"£100") then
=IF(AND(E91000;E9 <=2000);(E9-1000)*0.9;"£200")
=IF(E92000;(E9-2000)*0.5;)
Total Cost ... of above 3 items plus E9 (£3000)

Now people are asking to spend a total of £3000 including the charge,
so now Total Cost is to be £3000 and then I have to work back to find
E9.

How is the best way to do this please.

Bob


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
Moving a sheet from one work book to another? WTG Excel Worksheet Functions 1 November 3rd 05 07:12 PM
My links no longer work . . . mike Excel Discussion (Misc queries) 8 October 27th 05 11:59 PM
Work Rota - Do I need a formula? dataheadache Excel Discussion (Misc queries) 11 October 3rd 05 10:53 PM
How to get saved old saved work that was saved over? Maral Excel Discussion (Misc queries) 1 February 20th 05 08:59 PM
Service work order schoolgeek63 Charts and Charting in Excel 1 January 7th 05 08:07 PM


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