1. Enter the worked concentration-response data

Create headers for concentration, observed response, predicted response, residual, and squared residual. Enter the eight positive concentrations and responses below without rounding or replacing the source values. Keep zero-dose controls in the workbook, but outside this positive-concentration model range because zero cannot appear on a logarithmic axis.

This is an exact synthetic increasing 4PL series. It is deliberately clean so you can verify the worksheet and Solver setup. Real data require replicate, residual, uncertainty, and suitability review.

Worked Excel data set
RowConcentration (ng/mL)Observed response
21123.8
32.5214.0
45365.7
510628.5
620987.5
7401,346.5
8801,609.3
91601,761.0

2. Build the 4PL prediction and error columns

Place starting values in named cells: Lower = 100, Upper = 1,800, EC50 = 15, and Slope = 1.0. In C2 calculate the predicted response using the increasing-curve convention below and fill it through C9. In D2 enter =B2-C2 for the residual; in E2 enter =D2^2; fill both down and calculate total SSE with =SUM(E2:E9).

Named cells make the formula readable, but ordinary absolute cell references work as well. If your package uses the opposite curve direction, a signed Hill slope, or log concentration inside the equation, translate the equation explicitly rather than expecting the same parameter signs.

Formula=Lower+(Upper-Lower)/(1+(EC50/A2)^Slope)
Cell or columnWorked content
A2:A9Positive concentration
B2:B9Observed response
C2:C94PL predicted response
D2:D9= observed − predicted
E2:E9= residual^2
Total SSE=SUM(E2:E9)
Parameter cellsLower, Upper, EC50, Slope

3. Configure and run Excel Solver

Enable the Solver add-in in desktop Excel, then open Data → Solver. Set the total-SSE cell as the objective, choose Min, and select the four parameter cells as the changing variable cells. Choose GRG Nonlinear because this worksheet is a smooth nonlinear problem.

Add EC50 > 0 and Slope > 0 for this stated increasing convention. Add bounds on either asymptote only when the analytical method justifies them; arbitrary tight bounds can create a plausible-looking but constrained result. Save the Solver model or record every option needed to reproduce it.

  1. Set Objective to the total-SSE formula cell.
  2. Choose Min.
  3. Set By Changing Variable Cells to Lower, Upper, EC50, and Slope.
  4. Add EC50 > 0 and Slope > 0 for this increasing equation.
  5. Choose GRG Nonlinear, run Solve, and retain the Solver status and settings.
  6. Repeat from materially different starting values; materially different solutions indicate an unstable fit.

4. Check the fitted result and plot

With the stated data, formula, and adequate convergence, Solver should return approximately Lower = 75, Upper = 1,900, EC50 = 20.0 ng/mL, and Slope = 1.20. The predicted response at 20.0 ng/mL is 987.5, halfway between the fitted asymptotes.

Create an XY scatter plot of observed response against concentration and add the predicted series. Format the x-axis logarithmically, but do not infer fit quality from the smooth line alone. For this exact synthetic fixture SSE should be near zero apart from displayed-input rounding; ordinary experimental data will retain nonzero residuals.

FormulaAt EC50: 75 + (1,900 − 75) ÷ [1 + (20 ÷ 20)^1.20] = 987.5

5. Diagnose a fit before reporting it

Inspect the observed-versus-fitted plot, residuals against concentration and predicted response, parameter values and bounds, midpoint location within the tested range, asymptote support, replicate behavior, and convergence message. R² alone cannot establish that all four parameters are supported.

Common failures include a missed row in the SSE range, relative references that move while filling, a retained Solver model from another sheet, poor starting values, a zero or text concentration, an unconverged solution, or parameters pinned to arbitrary constraints. Make each failure visible instead of accepting the last displayed curve.

  • Concentrations cover both sides of the fitted midpoint.
  • Responses provide evidence for the lower and upper asymptotes.
  • Residuals do not show a repeated curve or concentration pattern.
  • The same solution is reached from reasonable alternate starting values.
  • No required parameter is at an unexplained bound.
  • Excluded observations remain visible with reasons.
  • The displayed digits are rounded only after calculations and criteria.

6. Control the workbook for regulated use

A workbook used for a regulated decision needs controls proportionate to its intended use and risk: an approved version, source reconciliation, protected formulas, visible parameter and Solver settings, authorized access, expected-result and failure tests, retained exclusions, change assessment, review, output reconciliation, and a defined record-retention process.

Risk comes from the implemented workflow, not the Excel product name. A governed and validated workbook can be appropriate. The practical difficulty is that source data, formulas, Solver state, exclusions, and report output often live in separate editable locations, so every dependency must be identified, tested, and retained.

Workbook elementReview evidence
Source dataFile identity, import or paste range, and reconciliation
CalculationExact formula, named cells, copied ranges, precision, and tests
SolverObjective, variable cells, constraints, method, options, and status
DecisionsDiagnostics, exclusions and reasons, criteria, and reviewer
ReportUnrounded result, formatting rule, output identity, and source link

Limits and when a controlled workflow is the better fit

When plate mapping, approved model settings, criteria, exclusions, review, and reports must remain connected across runs and users, a purpose-built workflow can reduce the number of independently controlled artifacts. Reproduce known data sets, boundary cases, and failures before migrating; a modern interface is not validation evidence.

Provenarium supports relative-potency analysis with parallel-line log-log, common-shape 4PL, or common-shape 5PL and standard-curve analysis with linear, 4PL, or 5PL calibration. It is not a generic replacement for every Excel curve fit, so compare the intended equation, parameter convention, weighting, and reportable result before migrating a workbook.

Frequently asked questions

Can Excel fit a 4PL curve?

Yes. Calculate predicted responses from four parameter cells and use Solver to minimize the residual sum of squares. Preserve the equation, starting values, constraints, Solver method, convergence status, and diagnostics.

Which Solver method should I use for 4PL?

GRG Nonlinear is appropriate for the smooth nonlinear worksheet described here. Other equations or step functions may require a different method; record the exact choice and verify it with known data.

Is Excel inappropriate for regulated work?

Not automatically. Evaluate the intended use, risk, workbook controls, validation, records, procedures, and the complete implemented workflow.

Will two 4PL tools return identical results?

Not necessarily. Compare equations, settings, precision, weighting, constraints, starting values, and optimizer behavior using documented expected-result data sets.

Primary references