ireland13752
Member
Good Morning.
I am working on a complex formula that I may have found a fix for, but am not sure if/how to apply it.
I have data that comes out of another program as a column collection (meaning that it takes several rows of data and combines them into one cell in Excel.) this is causing an issue in that I have to look for specific detail in that cell to see if it qualifies for something else. I built a complex nested If(ISNUMBER(SEARCH statement, however I have surpassed the limitations of the formula. I really do not want to have to build a repeating filter Macro to accomplish this task, but if I cannot find an alternative I will have to.
Here are some examples and the formula.
This detail is all in one cell in a column. I need to be able to look in here and see if only a select list of codes are in here, because not all will apply. The formula is below.
45.71 Opn mul seg lg
46.10 Colostomy NOS
53.51 Incisional hernia 54.21 Laparoscopy
92.29 Radiotherapeut EC
54.25 Peritoneal lavage
99.29 Inject/infuse NEC
Formula:
=IF(ISNUMBER(SEARCH("*17.39*",U4)),"17.39",IF(ISNUMBER(SEARCH("*17.31*",U4)),"17.31",IF(ISNUMBER(SEARCH("*17.32*",U4)),"17.32",),IF(ISNUMBER(SEARCH("*17.33*",U4)),"17.33",IF(ISNUMBER(SEARCH("*17.35*",U4)),"17.35",IF(ISNUMBER(SEARCH("*17.34*",U4)),"17.34",IF(ISNUMBER(SEARCH("*17.36*",U4)),"17.36",IF(ISNUMBER(SEARCH("*45.03*",U4)),"45.03",IF(ISNUMBER(SEARCH("*45.26*",U4)),"45.26",IF(ISNUMBER(SEARCH("*45.41*",U4)),"45.41",IF(ISNUMBER(SEARCH("*45.49*",U4)),"45.49",IF(ISNUMBER(SEARCH("*45.52*",U4)),"45.52",IF(ISNUMBER(SEARCH("*45.71*",U4)),"45.71",IF(ISNUMBER(SEARCH("*45.76*",U4)),"45.76",IF(ISNUMBER(SEARCH("*45.79*",U4)),"45.79",IF(ISNUMBER(SEARCH("*45.81*",U4)),"45.81",IF(ISNUMBER(SEARCH("*45.82*",U4)),"45.82",IF(ISNUMBER(SEARCH("*45.83*",U4)),"45.83",IF(ISNUMBER(SEARCH("*45.92*",U4)),"45.92",IF(ISNUMBER(SEARCH("*45.93*",U4)),"45.93",IF(ISNUMBER(SEARCH("*45.94*",U4)),"45.94",IF(ISNUMBER(SEARCH("*45.95*",U4)),"45.95",IF(ISNUMBER(SEARCH("*46.03*",U4)),"46.03",IF(ISNUMBER(SEARCH("*46.04*",U4)),"46.04",IF(ISNUMBER(SEARCH("*46.10*",U4)),"46.10",IF(ISNUMBER(SEARCH("*46.11*",U4)),"46.11",IF(ISNUMBER(SEARCH("*46.13*",U4)),"46.13",IF(ISNUMBER(SEARCH("*46.14*",U4)),"46.14",IF(ISNUMBER(SEARCH("*46.43*",U4)),"46.43",IF(ISNUMBER(SEARCH("*46.52*",U4)),"46.52",IF(ISNUMBER(SEARCH("*46.75*",U4)),"46.75",IF(ISNUMBER(SEARCH("*46.76*",U4)),"46.76",IF(ISNUMBER(SEARCH("*46.94*",U4)),"46.94",IF(ISNUMBER(SEARCH("*44140*",U4)),"44140",IF(ISNUMBER(SEARCH("*44141*",U4)),"44141",IF(ISNUMBER(SEARCH("*44143*",U4)),"44143",IF(ISNUMBER(SEARCH("*44144*",U4)),"44144",IF(ISNUMBER(SEARCH("*44145*",U4)),"44145",IF(ISNUMBER(SEARCH("*44146*",U4)),"44146",IF(ISNUMBER(SEARCH("*44147*",U4)),"44147",IF(ISNUMBER(SEARCH("*44150*",U4)),,"44150",IF(ISNUMBER(SEARCH("*44151*",U4)),"44151",IF(ISNUMBER(SEARCH("*44160*",U4)),"44160",IF(ISNUMBER(SEARCH("*44204*",U4)),"44204",IF(ISNUMBER(SEARCH("*44205*",U4)),"44205",IF(ISNUMBER(SEARCH("*44206*",U4)),"44206",IF(ISNUMBER(SEARCH("*44207*",U4)),"44207",IF(ISNUMBER(SEARCH("*44208*",U4)),"44208",IF(ISNUMBER(SEARCH("*44210*",U4)),"44210","")))))))))))))))))))))))))))))))))))))))))))))))))
I found this option, but not really sure how the "&" changes things and if there would be limitions on this either....
=IF(ISNUMBER(SEARCH("17.34",U4)),"17.34","") &
IF(ISNUMBER(SEARCH("17.36",U4)),"17.36","") &
IF(ISNUMBER(SEARCH("45.03,U4)),"45.03","") & etc....
I cannot use a VLookup because it is all in one cell,
Thank you for any help you may be able to offer....
Samantha
I am working on a complex formula that I may have found a fix for, but am not sure if/how to apply it.
I have data that comes out of another program as a column collection (meaning that it takes several rows of data and combines them into one cell in Excel.) this is causing an issue in that I have to look for specific detail in that cell to see if it qualifies for something else. I built a complex nested If(ISNUMBER(SEARCH statement, however I have surpassed the limitations of the formula. I really do not want to have to build a repeating filter Macro to accomplish this task, but if I cannot find an alternative I will have to.
Here are some examples and the formula.
This detail is all in one cell in a column. I need to be able to look in here and see if only a select list of codes are in here, because not all will apply. The formula is below.
45.71 Opn mul seg lg
46.10 Colostomy NOS
53.51 Incisional hernia 54.21 Laparoscopy
92.29 Radiotherapeut EC
54.25 Peritoneal lavage
99.29 Inject/infuse NEC
Formula:
=IF(ISNUMBER(SEARCH("*17.39*",U4)),"17.39",IF(ISNUMBER(SEARCH("*17.31*",U4)),"17.31",IF(ISNUMBER(SEARCH("*17.32*",U4)),"17.32",),IF(ISNUMBER(SEARCH("*17.33*",U4)),"17.33",IF(ISNUMBER(SEARCH("*17.35*",U4)),"17.35",IF(ISNUMBER(SEARCH("*17.34*",U4)),"17.34",IF(ISNUMBER(SEARCH("*17.36*",U4)),"17.36",IF(ISNUMBER(SEARCH("*45.03*",U4)),"45.03",IF(ISNUMBER(SEARCH("*45.26*",U4)),"45.26",IF(ISNUMBER(SEARCH("*45.41*",U4)),"45.41",IF(ISNUMBER(SEARCH("*45.49*",U4)),"45.49",IF(ISNUMBER(SEARCH("*45.52*",U4)),"45.52",IF(ISNUMBER(SEARCH("*45.71*",U4)),"45.71",IF(ISNUMBER(SEARCH("*45.76*",U4)),"45.76",IF(ISNUMBER(SEARCH("*45.79*",U4)),"45.79",IF(ISNUMBER(SEARCH("*45.81*",U4)),"45.81",IF(ISNUMBER(SEARCH("*45.82*",U4)),"45.82",IF(ISNUMBER(SEARCH("*45.83*",U4)),"45.83",IF(ISNUMBER(SEARCH("*45.92*",U4)),"45.92",IF(ISNUMBER(SEARCH("*45.93*",U4)),"45.93",IF(ISNUMBER(SEARCH("*45.94*",U4)),"45.94",IF(ISNUMBER(SEARCH("*45.95*",U4)),"45.95",IF(ISNUMBER(SEARCH("*46.03*",U4)),"46.03",IF(ISNUMBER(SEARCH("*46.04*",U4)),"46.04",IF(ISNUMBER(SEARCH("*46.10*",U4)),"46.10",IF(ISNUMBER(SEARCH("*46.11*",U4)),"46.11",IF(ISNUMBER(SEARCH("*46.13*",U4)),"46.13",IF(ISNUMBER(SEARCH("*46.14*",U4)),"46.14",IF(ISNUMBER(SEARCH("*46.43*",U4)),"46.43",IF(ISNUMBER(SEARCH("*46.52*",U4)),"46.52",IF(ISNUMBER(SEARCH("*46.75*",U4)),"46.75",IF(ISNUMBER(SEARCH("*46.76*",U4)),"46.76",IF(ISNUMBER(SEARCH("*46.94*",U4)),"46.94",IF(ISNUMBER(SEARCH("*44140*",U4)),"44140",IF(ISNUMBER(SEARCH("*44141*",U4)),"44141",IF(ISNUMBER(SEARCH("*44143*",U4)),"44143",IF(ISNUMBER(SEARCH("*44144*",U4)),"44144",IF(ISNUMBER(SEARCH("*44145*",U4)),"44145",IF(ISNUMBER(SEARCH("*44146*",U4)),"44146",IF(ISNUMBER(SEARCH("*44147*",U4)),"44147",IF(ISNUMBER(SEARCH("*44150*",U4)),,"44150",IF(ISNUMBER(SEARCH("*44151*",U4)),"44151",IF(ISNUMBER(SEARCH("*44160*",U4)),"44160",IF(ISNUMBER(SEARCH("*44204*",U4)),"44204",IF(ISNUMBER(SEARCH("*44205*",U4)),"44205",IF(ISNUMBER(SEARCH("*44206*",U4)),"44206",IF(ISNUMBER(SEARCH("*44207*",U4)),"44207",IF(ISNUMBER(SEARCH("*44208*",U4)),"44208",IF(ISNUMBER(SEARCH("*44210*",U4)),"44210","")))))))))))))))))))))))))))))))))))))))))))))))))
I found this option, but not really sure how the "&" changes things and if there would be limitions on this either....
=IF(ISNUMBER(SEARCH("17.34",U4)),"17.34","") &
IF(ISNUMBER(SEARCH("17.36",U4)),"17.36","") &
IF(ISNUMBER(SEARCH("45.03,U4)),"45.03","") & etc....
I cannot use a VLookup because it is all in one cell,
Thank you for any help you may be able to offer....
Samantha