"Goal Seek" expanded to Table

Salem 80

New Member
Joined
Jan 9, 2018
Messages
21
Dear Sir,
I am currently using the "goal seek" function under the Data - What-if analysis tap, to Back calculate a value in a table. My question is whether it is possible to extend this function to an entire table instead of using the same function on each cell in that table repeatedly?

Originally I have in table "A" several input values, table B displays the output or results calculated from the input data in table "A" , both table "A" and "B" have the same number of rows and columns, i.e. each one cell in table "B" corresponds to only one unique cell in table "B", but the formulas used in table "B" cells are not 100% identical, several imbedded constants differ between each cell.
The equations used in each cell in table "B" are rather complicated and time consuming to create.
A new case has appeared where the end results previously calculated in table "B" are now given as an input data, and the values previously given in table "A" are requested as a required end value.

Instead of reversing the equations given in table "B" to calculate values in "A" , I used the "goal seek" function under the Data - What-if analysis tap as mentioned above, but applying this to each cell is time consuming.

Is there a more efficient method to use for this purpose?

Thank you in advance.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
It would be helpful if you provided sample data showing your equations and what you are trying to do.
 
Upvote 0
Thank you for your reply.
Attached is a reduced sheet as requested. In addition to the two tables A & B mentioned in the first post, the sheet includes two sets of fixed constants, these are included to provide a real case, as they are included in the calculations in table B.
The goal is to enter a value in Table B and obtain a result in table A, i.e. the opposite of the current situation, basically solving the equation for "A" instead of "B".

I have actually performed this task yesterday mathematically for one of he cells, but still would like to know if I can use the "goal seek" function under the Data - What-if analysis tap in a more efficient way, or even better learn if there are other ways for looking at the whole situation from a different angle.

Best Regards

It seems I am having a problem attaching the excel file, I will try to send it via mail
 
Upvote 0
A better option is to use XL2BB. You can find information on how to install it on the board.
 
Upvote 0
Thanks for the guidance.
On the first trail I got a message saying that the generated content exceeds the limit that can be posted on the forum , so as advised selected a smaller range, but that is ok, since the excluded ranges are basically a semi repetition of the copied range.

Mr Excel - 1.xlsx
BCDEFGHIJ
2Table A, Originally the Initial starting dataTable B , Originally "The results"
3550.00510.00555.00835.11793.88844.07
4774.00658.00415.001039.72923.55682.12
5998.00806.00275.001305.901111.77549.45
6
7Constants, Set No.1Constants, Set No.2
828.00028.00029.0001.200.300.45
96.0008.0009.0005.605.605.60
1045.00046.00018.00091.0091.0091.00
114.504.504.50
1216.4116.4116.41
1313.0013.2011.90
1415.2515.2317.00
150.500.500.50
16101.00101.00104.00
Tables
Cell Formulas
RangeFormula
H3:J5H3=(((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10)+(Tables!H$11)+((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10+Tables!H$11)*0.003)+(Tables!B8)+(((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10)+Tables!H$11+((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10+Tables!H$11)*0.003)+Tables!B8)*0.0015))+(Tables!H$12)+(((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10)+(Tables!H$11)+((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10+Tables!H$11)*0.003)+(Tables!B8)+(((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10)+Tables!H$11+((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10+Tables!H$11)*0.003)+Tables!B8)*0.0015))+Tables!H$12)*0.003+Tables!H$13)+(((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10)+(Tables!H$11)+((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10+Tables!H$11)*0.003)+(Tables!B8)+(((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10)+Tables!H$11+((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10+Tables!H$11)*0.003)+Tables!B8)*0.0015))+(Tables!H$12)+(((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10)+(Tables!H$11)+((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10+Tables!H$11)*0.003)+(Tables!B8)+(((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10)+Tables!H$11+((Tables!B3+Tables!H$8+Tables!H$9+Tables!H$10+Tables!H$11)*0.003)+Tables!B8)*0.0015))+Tables!H$12)*0.003+Tables!H$13)*0.005+Tables!H$14+Tables!H$15+Tables!H$16
 
Upvote 0
Can you be more specific? Which value in Table B do you want to enter and then which value in Table A do you want to solve for?
 
Upvote 0
Good evening,
For the tables shown in my previous reply that represent the current existing situation, for example, if we enter a value of 550 in cell B3 in table "A" we will get the value of 835.11 in cell H3 in table "B" this value is generated from the formula in cell H3. The formula used in the cells in table "B" also use constants from the tables Set No.1 and Set No.2 , these are called constants because in reality they are not changing, in contrast to the values in table "A" that do change.

The same goes for each cell in table "A", another example, the value of 510 in cell C3 in table "A" will give a value of 793.88 in cell I3 in table "B".

hope this helps explain in a more clear way.
 
Upvote 0
Ok, so you want to specify a value in H3 and have Goal Seek calculate the value in B3, etc. What is the problem?
 
Upvote 0
Correct, but table "B" and "A" in realty are much larger than three columns by three rows, and I am looking for a faster way to calculate all the values for the cells in the large table "B" as an alternative to calculating each cell individually using Goal Seek each time cell by cell.
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,111
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top