Spreadsheets for Engineering Analysis: Building Reliable Calculations
Spreadsheets for Engineering Analysis let you turn engineering relationships into calculations that update when inputs change. You can evaluate several operating conditions without rewriting the calculation each time. A reliable worksheet makes the connection between inputs, formulas, units, and results visible, so you can explain how a reported number was obtained.
Build the calculation from cells
Start with the engineering relationship, then translate it into cell references. For a direct-current electrical load, power is voltage multiplied by current:
Here, P is power in watts, V is voltage in volts, and I is current in amperes. If B2 contains a voltage of 12.0 V and C2 contains a current of 0.750 A, entering =B2*C2 in D2 gives:
The equals sign starts the formula, and the asterisk represents multiplication. Parentheses control grouping: =B2/(C2*D2) divides B2 by the entire product, whereas =B2/C2*D2 divides first and then multiplies.
Put quantities that may change in clearly labelled input cells. Refer to those cells instead of repeating their numerical values inside formulas. If a shared efficiency changes, updating its input cell should update every calculation that depends on it.
Include units in column headings or adjacent labels. A numeric cell containing 250 does not tell the spreadsheet whether you mean pascals or kilopascals. Ordinary cell formulas do not automatically enforce dimensional consistency. Convert inputs to compatible units before combining them.
Control references when copying
Copying formulas is useful only when the references move as intended. A relative reference changes its row and column addresses with the position to which you copy the formula. For example, copying =B2*C2 down one row produces =B3*C3.
An absolute reference fixes both the column and row using dollar signs. If F2 holds an efficiency shared by every operating condition, =D2/$F$2 continues to use F2 when copied down or across.
Mixed references fix just one coordinate. They are useful when a calculation combines a value at the start of its row with a value at the top of its column.
Reference | What stays fixed | After copying one column right and one row down |
|---|---|---|
B2 | Neither coordinate | C3 |
$B$2 | Column B and row 2 | $B$2 |
$B2 | Column B | $B3 |
B$2 | Row 2 | C$2 |
Choose the reference from the quantity's role. Measurements that vary by row usually need moving row references. A shared parameter usually needs a fixed address. Before filling a large range, inspect one copied formula and check which inputs it actually uses.
Check and communicate the result
Use functions to express repeated operations clearly. =SUM(D2:D6) adds the five cells from D2 through D6. Confirm that the range contains every intended result and excludes unrelated values. Use AVERAGE only when an equally weighted arithmetic mean matches the engineering quantity you need.
Check one row independently using the governing equation. Then test a simple change: if current doubles while voltage stays fixed, calculated electrical power should double. Such checks help expose incorrect references and misplaced conversion factors.
A cell can display 9.00 while retaining additional decimal places internally. Format final results to the required precision, and report their units. Extra displayed digits do not establish extra measurement accuracy.
What to remember
- Translate the engineering equation into references to labelled input cells.
- Make units compatible before performing arithmetic.
- Fix the coordinates that should stay fixed when formulas are copied.
- Check a representative calculation and retain intermediate precision.
Example: Build a Pump-Power Worksheet
You are using Spreadsheets for Engineering Analysis to estimate a pump's electrical input power at two steady operating conditions. Assume the overall efficiency is constant at 0.80 and that the pressure rise and flow remain constant during each operating interval.
The worksheet contains these inputs:
Row | Column B: flow rate (L/min) | Column C: pressure rise (kPa) | Column F: duration (min) |
|---|---|---|---|
2 | 18 | 240 | 20 |
3 | 24 | 300 | 10 |
H2 contains the dimensionless efficiency 0.80. Column D will hold hydraulic power in W, and column E will hold electrical input power in W. Use:
Use 1 L=0.001 m3, 1 kPa=1000 Pa, and 1 Wh=3600 J.
a) Write a formula for D2 and calculate the hydraulic power for the first condition.
Convert the first flow rate to cubic metres per second:
Convert the pressure rise:
Multiply the compatible quantities:
A formula that includes both conversions explicitly is =(B2*0.001/60)*(C2*1000). Because the factors ________ and ________ cancel, you can also enter =B2*C2/60 in D2. Both formulas give 72 W.
b) Write a formula for E2 that can be copied down. Copy the formulas in D2 and E2 to row 3, and calculate both electrical input powers.
Each electrical power equals the hydraulic power divided by efficiency. The hydraulic power reference should move with the row, while the shared efficiency reference should remain fixed. Enter =D2/$H$2 in E2.
For row 2:
Copying D2 down produces =B3*C3/60, so:
Copying E2 down produces =D3/$H$2, so:
The electrical input powers are 90 W and 150 W. Each exceeds its corresponding hydraulic power, consistent with an efficiency below one.
c) Write a formula using the calculated electrical powers and durations to find the total electrical energy in Wh. Calculate the result.
For constant power, energy equals power multiplied by elapsed time. The durations in column F are in minutes, so divide by ________ to express them in hours. A formula for total energy in Wh is =(E2*F2+E3*F3)/60.
Calculate each contribution:
Add the contributions:
As a unit check, this is 55(3600)=198000 J. The total electrical energy is 55 Wh, calculated from the power at each condition and its own duration.
A worksheet cell contains the formula =(B2-C2)^2/D2+E2, where B2 holds 12, C2 holds 4, D2 holds 16 and E2 holds 3. Put the operations in the order the spreadsheet carries them out when it evaluates this formula.
1.
Subtract C2 from B2
2.
Divide by D2
3.
Apply the exponent 2
4.
Add E2
An engineer builds a stress table using σ=F/A. Forces are stored in B3:B5, and areas are stored in C2:E2. Each cell in C3:E5 must divide the force at the start of its row by the area at the top of its column.
Cell | Value |
|---|---|
B3 | 1000 N |
B4 | 1600 N |
B5 | 2200 N |
C2 | 40 mm2 |
D2 | 50 mm2 |
E2 | 80 mm2 |
Which formula should be entered in C3 and copied across and down throughout C3:E5? The results will be in N/mm2, equivalent to MPa.