Hi
Would like to extract the 5th string onwards but need to exclude the 6th string onwards only if the 6th word has DMZ, DB, WEB, APP, HOT, COLD. For example
C2_F6_AM_SHS_GROUPGST_DB Result: GROUPGST
C2_F6_AM_SHS_ECLAIM Result: ECLAIM
C2_F6_AM_SHS_EQUIBASE Result: EQUIBASE
C2_F6_AM_SHS_TREX_APP Result: TREX
C2_F6_AM_CAD_STARS_DMZ Result: STARS
C3_F2_AD_SHS_ORMS_HOT Result: ORMS
C3_F4_AD_SHS_ORMS_COLD Result: ORMS
C3_F4_AD_SHS_FINSS_AMLA_ETL Result: FINSS_AMLA_ETL
C1_F2_AD_WBP_TIPLUS_HOT_B4EOD Result: TIPLUS
C0_F2_AU_CB_AMBGAIX85_DB_FS Result: AMBGAIX85
I used this formula =MID(J46,SEARCH("_",J46,SEARCH("_",J46))+11,256), but unable to trim the 6th string if found the list of words in the same formula.
Can anyone please advise. Thank you.
Bookmarks