Middle (MID)

Syntax: MID(Text; Start; n)

The MID function returns a substring of the text string, starting from the start position and containing a given number of characters (n). For example:

=MID("OpenOffice.org"; 2; 6)

returns penOff.

images

Figure 11-5. Sample results of the MID function

See also LEFT and RIGHT.

Get Beginning OpenOffice Calc: From Setting Up Simple Spreadsheets to Business Forecasting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.