excel goal seek

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Excel Goal Seek

Excel Goal Seek

resolvedResolved · Medium Priority · Version 2013

Ian has attended:
Excel Advanced course

Excel Goal Seek

I have a spreadsheet which is used to review the number of courses run over the previous year and average bums on seats for those courses. I then want to automate the number of courses run for the coming year using by adjusting average attendance to a known figure. Goal seek would seem a logical solution but I have 20 subjects at 16 venues to calculate. is there a way to use goal seek as a formula in the cell or to automate it for each subject and venue respectively?

RE: Excel Goal Seek

Hi Ian

Thanks for your forum question.
Goal Seek might be not be the best tool. It might be better to use Solver or forecasting functions. Can you say a bit more about your aim so I can suggest the best solution.

Thanks

Doug
STL

RE: Excel Goal Seek

Thanks Doug,

Basically by analysing the previous years attendance I know that for example over the last year;

I ran 18 courses of subject A at venue 1 (Cell A1)
on those 18 courses I had a total of 512 delegates (Cell A2)
Giving me an average attendance of 28 delegates per course (Cell A3)

Looking forward I need to know how many courses to run over the coming year, assuming an equivalent total number of deegates to give me an average attendance not exceeding 25 per course.

in essence I could do a simple formula showing me average attendance per course based on the assumption that total delegates for the year will remain constant and manually change the number of courses until I hit a winning figure. however I need to do this for each of 20 subjects at each of 16 venues. I am looking for a simple automated method of doing this giving me a starting point before I manually intervene and moderate the results.

Kind Regards
Ian

RE: Excel Goal Seek

Hi again Ian

Thanks for clarifying.
Rather than repeating Goal Seek many times for each subject you can use Solver to achieve the same result.

If you are new to Solver first install the Add-In by selecting File, Option, Add-ins.
Click the Go button and tick Solver Add-in.
(You only have to do this once to use Solver)

Solver will now be on the Excel Data tab.

Suppose your data is like this:


---A-------B--------C------D-------E-------F
Subject Courses Delegates Average Target Average
Subject A 26 600 23 25
Subject B 19 380 19 25
Subject C 14 310 22 25
Subject D 30 700 23 25
Subject E 12 300 25 25


Set the Solver parameters as follows:

Set Objective: D2
To: Maximum
Changing cells: B2:B6 (Courses)

Add Constraint:
D2:D6 = E2:E6 (Average = Target)

Click Solve to see the results

Subject Courses Delegates Average Target Average
Subject A 24 600 25 25
Subject B 15 380 25 25
Subject C 12 310 25 25
Subject D 28 700 25 25
Subject E 12 300 25 25

The number of courses are automatically calculated in one go.

Hope this makes sense. It might not at first if you are new to Solver. It is similar to Goal Seek with added constraints and multiple changing cells.

Hope this gives you another approach.

An alternative is to write a macro that repeats the Goal Seek. I can post the code if you are interested in this rather than using Solver.


Regards
Doug
STL

RE: Excel Goal Seek

Much thanks,

Ill give solver a try. im out the office for a couple of days, so will look at it next week.

Kind Regards
Ian

RE: Excel Goal Seek

The base data became too complicated and I had to look at each venue and course individually, applying a judgement call to each individual occurance and so I did the process manually in the end but Thank you for your support I have at least installed the solver add in.


 

Excel tip:

Conditional formatting for cells that return text , not picked up by Go to command

If you have tried to format all cells containing text even those that display text as a result of a formula you may have had difficulty. As Go to command with constant selected does not pick up formulas that result in text.

Then try this. Select the range the formula cells appear in on your sheet. Format, select Conditional Formatting menu. In the dialog box under Condition 1, select "Formula Is" from drop down. Next to it in the Formula Box, enter the formula =Istext(A1. Click Format button , choose desired formatting settings and click OK. To go ahead and apply the conditional formatting click OK to accept

View all Excel hints and tips


Server loaded in 0.06 secs.