VBA script

Closed - This job posting has been filled and work has been completed.

Job Description

In the attached file, in cell F17 there is a formula. If you change cells E14, E15, or E17 the value in F17 changes.

I would like to create a vba formula that replaces this long formula with a simple function, called "extract". So the formula should simply read:
=extract(cell reference1, cell reference2, cell reference3).

Thanks.

Open Attachment