Dynamic Viscosity Unit Converter in Excel
0.001
Add-in Formula
=PO.UnitConverter(1, "cP", "Pa.s")
Excel Lambda
=LAMBDA(x,
LET(
ratio, 0.001,
x * ratio
)
)(1)
Category Lambda
=LAMBDA(x, from, to,
LET(
f, SWITCH(from,
"Pa.s", 1,
"P", 0.1,
"cP", 0.001),
t, SWITCH(to,
"Pa.s", 1,
"P", 0.1,
"cP", 0.001),
x * f / t
)
)(1, "cP", "Pa.s")
How to save as a reusable Excel function
LAMBDA is a built-in Excel feature (Microsoft 365) that lets you create custom functions without VBA. The formulas above work as-is when pasted into a cell.
To save a LAMBDA as a reusable named function:
- Go to Formulas → Name Manager → New
- Enter a name, e.g.
ConvertDynamicViscosity - In Refers to, paste the LAMBDA formula without the trailing invocation
(...) - Click OK
Now use =ConvertDynamicViscosity(1, "cP", "Pa.s")
anywhere in your workbook — no add-in required.
Conversion Factors (base: Pa.s)
| Unit | Name | Factor |
|---|---|---|
| Pa.s | pascal second | 1 |
| P | poise | 0.1 |
| cP | centipoise | 0.001 |