isnumber(search) based on verbiage found in particular cell

keridvp1

New Member
Joined
Aug 28, 2015
Messages
7
I have two formulas that work, but I need to change them to be based on verbiage that is found in a specific cell on the same row. I then want to combine these two formulas so that if the cell is blank then do formula # 1, if the verbiage "Covered" is in the cell then do formula # 2. Here are my two formulas:

Formula # 1: =IF(ISNUMBER(SEARCH("RT",D11)),'2018-2019 Rates'!$G$3,'2018-2019 Rates'!$G$4)

Formula # 2: =IF(ISNUMBER(SEARCH("RT",D12)),'2018-2019 Rates'!$G$3,'2018-2019 Rates'!$G$4)+IF(ISNUMBER(SEARCH("R3",D12)),'2018-2019 Rates'!$G$3,'2018-2019 Rates'!$G$4)

Column AC contains either a blank cell or the word "Covered".
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Does this work?

=IF(ISNUMBER(SEARCH("RT",D12)),'2018-2019 Rates'!$G$3,'2018-2019 Rates'!$G$4)+(AC1="Covered")*IF(ISNUMBER(SEARCH("R3",D12)),'2018-2019 Rates'!$G$3,'2018-2019 Rates'!$G$4)
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,307
Members
452,633
Latest member
DougMo

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