Articles with the tag:
Articles with the tag:
Try in the cloud

MID/MIDB Function

The MID/MIDB function is one of the text and data functions. Is used to extract the characters from the specified string starting from any position. The MID function is intended for languages that use the single-byte character set (SBCS), while MIDB - for languages that use the double-byte character set (DBCS) like Japanese, Chinese, Korean etc.

The MID/MIDB function syntax is:

MID(string, start-pos, number-chars)

MIDB(string, start-pos, number-chars)


string is a string you need to extract the characters from.

start-pos is a position you need to start extracting from.

number-chars is a number of the characters you need to extract.

The data can be entered manually or included into the cells you make reference to.

To apply the MID/MIDB function,

  1. select the cell where you wish to display the result,
  2. click the Insert function
    icon situated at the top toolbar,
    or right-click within a selected cell and select the Insert Function option from the menu,
    or click the
    icon situated at the formula bar,
  3. select the Text and data function group from the list,
  4. click the MID/MIDB function,
  5. enter the required arguments separating them by comma,
  6. press the Enter button.

The result will be displayed in the selected cell.

MID Function

Return to previous page
Try now for free Try and make your decision No need to install anything
to see all the features in action