CF with this formula

glerwell

Well-known Member
Joined
Jun 25, 2006
Messages
1,082
Hi

I have this forumula:

Code:
=IFERROR(IF(R13="",R14&" "&MATCH(FALSE,INDEX(R14=R14:R47,0),0)-1,R13&" "&MATCH(FALSE,INDEX(R13=R13:R47,0),0)-1),"")

This returns a current sequence, the only sequences it will return would be WON #, LOST #, BB-WON # and BB-LOST #.

# is the current number sequence, ie. Won 3 or BB-LOST 2.

What I want is for the CF to be activated if "LOST" is returned in anyway.

So if the formula returned "LOST 4" or "BB-LOST 2" then the CF would kick-in, and change the font red.

I am guessing that I would have to use a formula to achieve this CF.

Any help would be grateful!

Thanks
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
If I understood that correctly,

=FIND("LOST",IF(R13="",R14&" "&MATCH(FALSE,INDEX(R14=R14:R47,0),0)-1,R13&" "&MATCH(FALSE,INDEX(R13=R13:R47,0),0)-1))

Finding LOST in the result should return a number which conditional format willl interpret as TRUE, anything else will return an error which will interpret FALSE.


edit: thought you wanted the lookup in the CF, my mistake.

You could get away with

=SEARCH("LOST",$AC$44)

using ISERR to return FALSE from the search, then NOT to reverse the logic is not needed, as I mentioned above, numeric results are interpreted as TRUE, errors as FALSE.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,334
Members
452,907
Latest member
Roland Deschain

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