Hello there,
Thanks much for the advice. Will that work for my instance, where the
whole cell contents will contain more than just BK, SL, OF, and N? The cells
actually contain text including those letters, but the whole contents are
similar to ABK01, ABK02 up through potentially ABK99 daily, PBK01, PBK02
potentially up to PBK99 daily, and the same for the Sideload, OFS and Nights,
being ASL01 through ASL99, AOF01 through AOF99, ANS01 through ANS99, and
other text combos for 44 sales centers up to 99 routes daily. Each route is
named using a combination of the abbreviation for the location, the
abbreviation for the route type, and a two digit route number from 01 to 99.
That's why I was thinking I had to do a search just for the common text,
since there are potentially 396 combinations for any given sales center, and
44 sales centers, adding up to 17,424 possible combinations, but the common
denominator is that they will all contain the text BK, SL, OF, or N in the
names.
"VBA Noob" wrote:
>
> This works but not very neat
>
> =IF(A1="BK","Bulk","")&IF(A1="SL","Sideload","")&IF(A1="N","Night","")&IF(A1="N","Night","")&IF(AND(A1<>"BK",A1<>"SL",A1<>"N",A1<>""),"OFS","")
>
>
> --
> VBA Noob
> ------------------------------------------------------------------------
> VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
> View this thread: http://www.excelforum.com/showthread...hreadid=560866
>
>