Returning Values is phrase appears in call

tbauma

New Member
Joined
Sep 20, 2017
Messages
2
I’m not sure if it’s possible but I’m looking to do the following.

I’m looking for a formula that will return a number based on a phrase that is in a large text cell and then another number is none of the phrases exist. The only issue is that the phrases share the same words. Below are the phrases and values I’m looking to return.

Provisional Quantity – 1.2
Provisional Quantity as directed – 1.5
Provisional Quantity if ordered – 2

Below are examples of the text that will be in single cells

Clearing and grubbing (MRS04 May 17)
Clearing and grubbing (Provisional Quantity if ordered) (Removal of existing large trees 0.3m
diameter) (MRS04 May 17)
Stripping of topsoil (Provisional Quantity as directed) (For a depth of 200mm) (MRS04 May 17)
Ground surface treatment under embankment, standard (Provisional Quantity) (MRS04 May 17)
Ground surface treatment, in situ treatment of acid sulphate soils with lime (Provisional Quantity if ordered) (For a depth of 100mm) (MRS04 May 17)
Excavation and disposal of Unsuitable Material with individual excavation <= 10 m3 (Provisional Quantity as directed) (MRS04 May 17)

<tbody>
</tbody>

Cells that will be searched will be in column C and the formula will be in column G
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,214,948
Messages
6,122,420
Members
449,083
Latest member
Ava19

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top