My sheet is supposed to translate network patch ports to network switch ports (TRUE = top row, FALSE = bottom row) but seems to fail after port 96 and then again at port 100.
The formula that I used is; =OR(AND(MID(B2,6,3)>"0",MID(B2,6,3)<"25"),AND(MID(B2,6,3)>"48",MID(B2,6,3)<"73"),AND(MID(B2,6,3)>"96",MID(B2,6,3)<"121"),AND(MID(B2,6,3)>"144",MID(B2,6,3)<"169"),AND(MID(B2,6,3)>"192",MID(B2,6,3)<"217")).
The data is arranged as 00/A/01 - 00/A/240.
It all works fine until it gets to 97 which should be TRUE but reports FALSE and then at 100 it reverts to TRUE and stays TRUE for the rest of the numbers.
Any help or alternatives would be appreciated.
The formula that I used is; =OR(AND(MID(B2,6,3)>"0",MID(B2,6,3)<"25"),AND(MID(B2,6,3)>"48",MID(B2,6,3)<"73"),AND(MID(B2,6,3)>"96",MID(B2,6,3)<"121"),AND(MID(B2,6,3)>"144",MID(B2,6,3)<"169"),AND(MID(B2,6,3)>"192",MID(B2,6,3)<"217")).
The data is arranged as 00/A/01 - 00/A/240.
It all works fine until it gets to 97 which should be TRUE but reports FALSE and then at 100 it reverts to TRUE and stays TRUE for the rest of the numbers.
Any help or alternatives would be appreciated.