Modeling & Excel

Hardcode

BeginnerAlso called hard-coded value, hardcoding, hardcoded value, hard-coded number

Plain meaning

A number typed straight into a spreadsheet cell instead of being calculated by a formula or linked to a labelled input cell.

Like I’m three

If you write the answer to a sum without showing how you got it, nobody can check it. And if one number changes, your answer will not fix itself.

In detail

A hardcode is a fixed value entered directly into a cell, or buried inside a formula such as =B5*1.08, rather than pulled from a clearly labelled input cell. Hardcodes are fine for raw historical data and for assumptions kept in a dedicated inputs section, which by convention are shown in blue. The danger lies in hidden constants inside calculation cells, or numbers pasted over formulas to force a result. When an assumption changes, the buried number does not update, so errors flow quietly into valuations, budgets and board decks. Reviewers in banks and audit teams hunt for them with Excel's Go To Special (Constants) and formula auditing tools. Common confusion: not every typed number is a mistake. The rule is that each assumption is entered once, in one visible place, with its source noted.

Example

Say a model grows revenue with =B5*1.08, with the 8% growth typed inside the formula. If B5 holds FY26 revenue of ₹500 crore, FY27 shows ₹540 crore. If the growth assumption is cut to 6%, every cell with the buried 1.08 must be found and edited by hand; with a linked input cell, changing one cell instantly gives ₹530 crore.

Save it, revise it

Open this word in the interactive dictionary to save it, quiz yourself and see every term it links to.

Open in the interactive dictionary

From the Finspire Dictionary, compiled by Finspire, the finance club of IPM at IIM Ranchi. Last updated . How entries are written and checked