Extract Between Two Moving Boundaries

A distributor stores codes containing three nonempty fields separated by exactly two hyphens. No field contains a hyphen or a space. The first and second fields vary in length. A2 currently contains AC-7215-RT. B2 contains =FIND("-",A2), and C2 contains =FIND("-",A2,B2+1). Which formula extracts only the second field for every valid record?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Text Functions (LEFT, RIGHT, MID, FIND, TRIM, SUBSTITUTE) Questions: