If Statement Help

bsteeves

Active Member
Joined
Jul 17, 2008
Messages
393
=IF(AND(C3<>"p",E3="no bid",F3="no bid",G3="no bid",Calculator!I4="fsa",Ratings!Y3<>"P"),Calculator!Y4+Inputs!$I$4,"NO BID")

Now for the I4 part of the formula I need it be any combination of FSA. For example if the formula would be true if the cell = "Fsa st aid"

Thanks in advance
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
if the "fsa" will always be the first 3 characters, you could use LEFT(i4,3)="fsa"

if it could be anywhere in the string, you'll need to use FIND or SEARCH coupled with >0
 
Upvote 0
Any ideas on how to go about that?


Try replacing the section that reads Calculator!I4="fsa" with this:
Code:
ISERROR(FIND("fsa",Calculator!I4))=FALSE

Make sure you still have the comma before and after it so the rest of the and statement is correct.

So the full item should read:

Code:
=IF(AND(C3<>"p",E3="no bid",F3="no bid",G3="no bid",ISERROR(FIND("fsa",Calculator!I4))=FALSE,Ratings!Y3<>"P"),Calculator!Y4+Inputs!$I$4,"NO BID")

Let me know if that works. :)
 
Upvote 0

Forum statistics

Threads
1,214,647
Messages
6,120,722
Members
448,987
Latest member
marion_davis

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