Replacing one text with three in IF(ISERROR(FIND.......Max

S

Steve

I have this formula.

=IF(ISERROR(FIND("Relief",MasterTab!O21)),"",MAX(A$1:A1)+1)

can it be modified to find three different things instead of "relief". I'd
like it to find: (FLM) (FL) and (M) ?

Much thanks,

Steve
 
A

Ashish Mathur

Hi,

I have not tried this - please check if it works

=IF(ISERROR(FIND({"FLM","FL","M"},MasterTab!O21)),"",MAX(A$1:A1)+1)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 
J

Jacob Skaria

Hi Steve

Try

=IF(COUNT(FIND({"FLM","FL","M"},MasterTab!O21)),MAX(A$1:A1)+1,"")
 
S

Steve

I can't get it to work, but maybe it was my fault, in pasting a slightly
different formula.
This is the one that works well
=IF(ISERROR(FIND("(FLM)",MasterTab!21)),"",MAX(A$1:A1)+1)
for FLM, but still need it for FLM FL & M
Question re: array. Are those brackets denoting an array ? Do I enter those,
and then SHIFT-CTRL [E], or are they automatically entered ?

Thanks again,

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top