=ISNUMBER(SEARCH("10055306", $A2))
That won't work - look a little more closely at the question.Lets assume you have your data in columna A starting from A2, how about using this formula in your conditional formatting:
Excel Formula:=ISNUMBER(SEARCH("10055306", $A2))
10055274-10055303,10055305-10055307
10055306
10055305-10055307
According to their requirements, it doesn't sound like they can expand it to multiple columns like that:Ohh, i see the coma should be seen as a column separator.
Try this formula then:
Cell Formulas Range Formula C2:C3 C2 =SUM(ISNUMBER(SEARCH("10055306", $A2:$B2&""))*1)
I have Excel 365, but that returns a #VALUE error for me.You are right,
Maybe this will work:?
Book11.xlsx
A B C 1 2 10055274-10055303,10055305-10055307 1 Sheet4
Cell Formulas Range Formula C2 C2 =SUM(MAP(TEXTSPLIT($A2, ","), LAMBDA(x, LET(v, VALUE(TEXTSPLIT(x, "-")), v_1, INDEX(v, 1, 1), v_2, INDEX(v, 1, 2), mV, 10055306, (mV>=v_1)*(mV<=v_2) )) ))
I have Excel 365, but that returns a #VALUE error for me.