Formula help

tispivey

New Member
Joined
Mar 10, 2022
Messages
30
Office Version
  1. 365
Platform
  1. Windows
Hello all,

I have a couple issues I need help with. I am attempting to populate data into Column D and G in the attached spreadsheet.

The formulas I have, pulls the code from A, compares it to H, and returns what is in I into C. When I attempt to pull the rows that have multiple codes, and populate into D, it gives me an error because there are spaces at the end of the code in A. If I manually remove them, it works, but when I attempt to add TRIM, it doesn't do anything, so I get an error.

The same thing is happening when I attempt to do the same for column G for the ones with three codes. There are a couple in row B that have 4 different codes that I am going to work on that once I get this under control.

Any help you all can provide would be greatly appreciated.

I am hoping this sheet has enough data for you guys, because there are almost 300 lines, and the addon wouldn't let me add them all.

The picture I attached is what I see, as when I uploaded it, it doesnt look like you got the same format.

Test1234.xlsx
ABCDEFGHIJK
1TC REASONCOMPL CDEREASON DESCPTREASON DESCPT 2FIX CDFIX CD 2FIX CD 3REASON KEYCharge Back CodeCharge Back Description
2WN 151WIFI NOT WKGRE-AUTH WIFI  TBBUS TBL CALL165-48 V FAILURE
3WN 151WIFI NOT WKGRE-AUTH WIFI  1T1 TV906A/B SWITCH
4CVIN 419CNV/DCT PROBLEMREPL TIVO MINI  EOECHO904A/O INSTALLED
5CVIN 419CNV/DCT PROBLEMREPL TIVO MINI  SVSAVE PROGRAM905A/O RECONNECTED
6DP 453DVR PROJECTRPL INT PASSIVE  SDSATELLITE DISH312ADD HSE AMP
7DP 453DVR PROJECTRPL INT PASSIVE  PVPPV NOT WORKING434ADD/REM TRAP
8MA 354450439MDM NOT ACQUIRECHNG ROUTER LOCUNAUTH HOOK UP$ MSMODEM SLW SPEED404ADJUST TV SET
9EN 435EMTA NO BLK SNCRPL EXT CORD  OMONE MOMENT PLS405ADJUST VCR
10MA 370MDM NOT ACQUIREREPLACE EMTA SL  NPNO PICTURE311ANIMAL CHEW
11MA 370MDM NOT ACQUIREREPLACE EMTA SL  HCHSD NEW CONNECT503AUDIT ERROR
12MA 370MDM NOT ACQUIREREPLACE EMTA SL  TOTIVO114CABLE SUCK OUT
13MA 370MDM NOT ACQUIREREPLACE EMTA SL  THHSD TROUBLE CALL12CANCEL @ PRECLL
14MA 370MDM NOT ACQUIREREPLACE EMTA SL  PCPHONE NEW CONNECT5CANCEL AT DOOR
15OM 429ONE MOMENT PLSTIVO SVC ACCT  QIMUST-DO TC HSD DTA34CANCEL AT DOOR$
16MA 432MDM NOT ACQUIRERPL EXT PASSIVE  7T7 TVS11CANCEL BY OFFCE
17AO 050ADDITIONALREF TO INSTALL  DCDAMAGED CABLE7CANCEL BY OFFIC
18TO 428TIVOREPR TIVO BDBND  VOVOD NOT WORKING8CANCEL@PRECALL
19MA 051439MDM NOT ACQUIREREF TO MAINT  DTDTA PROBLEM10CANCELLD BY SUB
20IM 151INTR MOD NO ACQRE-AUTH WIFI  EIEMTA INT BL SNC6CANCELLD BY SUB
21IM 151INTR MOD NO ACQRE-AUTH WIFI  BPBUS PHONE354CHNG ROUTER LOC
22MA 439MDM NOT ACQUIRERPL GROUND BLCK  3T3 TVS166CMTS
23MA 431451MDM NOT ACQUIREREPAIR EXT DRPNO PROBLEM FND GHGHOSTING134COMM POWER
24MA 151MDM NOT ACQUIRERE-AUTH WIFI  H5HM CAMERA102COMML PWR FAIL
25MA 438MDM NOT ACQUIREDISCO IN ERROR  SISELF INSTALLATION350CONF WLESS CST$
26MA 438MDM NOT ACQUIREDISCO IN ERROR  8T8 TVS117CRACKED SHIELD
27MA 151MDM NOT ACQUIRERE-AUTH WIFI  DDDWN OR LOW DROP38CUST EDUCATION$
28MA 430MDM NOT ACQUIREREPLACE EXT DRP  VPVCR PROBLEM36CUST INSTAL EQ$
29MA 430MDM NOT ACQUIREREPLACE EXT DRP  RCREMOTE PROBLEM407CUST INSTALD EQ
30MA 051MDM NOT ACQUIREREF TO MAINT  IPINTERMITTENT PRB218CUST PHONE PROB
31MA 051MDM NOT ACQUIREREF TO MAINT  SGSIGNAL LEAK - HOME400CUSTOMER EDUCAT
32MA D30 MDM NOT ACQUIRE   WNWIFI NOT WKG146CUT/DAMAGED FIB
33SC 051SNGL CHANL OUTREF TO MAINT  LWLOW CHAN PROB120CUT/DMGD FIBER
34DP 050DVR PROJECTREF TO INSTALL  CMCUSTOMER IMPACT MAINTD30D3 SWAP
35DP 050DVR PROJECTREF TO INSTALL  AUFIELD AUDIT406DEFECTVE A/B SW
36MA 051453MDM NOT ACQUIREREF TO MAINTNO ADULT CVCNV/DCT PROBLEM306DIRECT P/U DROP
37IM 434432INTR MOD NO ACQADD/REM TRAPOK ON TEST SET CICLI402DIRECTP/USUB EQ
38AO 437ADDITIONALRPL EXT F CONN  BIBUS INTERNET910DISCO AT TAP
39OM 417ONE MOMENT PLSREPL TIVO Q  BSBUS SITE SURVEY500DISCO IN ERROR
40AO 437ADDITIONALRPL EXT F CONN  CECUSTOMER EDUC438DISCO IN ERROR
41OM 417ONE MOMENT PLSREPL TIVO Q  BDBURY DROP911DISCONNECT A/O
42IM 051434082INTR MOD NO ACQREF TO MAINTREPL HM CAMERA 9T9 TVS902DROP RECONNECT
43MA 432434431MDM NOT ACQUIRERPL EXT PASSIVE  MCMUST-DO TC VIDEO304DROP PASSIVE
44MA 051438432MDM NOT ACQUIREREF TO MAINT  DADISASTER903DROP RELOCATE
45NP NO PICTURE   TPTAP DISCONNECT301DROP/GNDBLK-TV
46MA 039MDM NOT ACQUIRETEL/HC NOT HOME  PRPHONE RECONNECT300DROP/TAP-GNDBLK
47MA MDM NOT ACQUIRE   MRMDVR PROBLEM108FEEDER ACTIVES
48IM 434437INTR MOD NO ACQADD/REM TRAPCANCEL BY OFFIC MAMDM NOT ACQUIRE110FEEDER CABLE
49MS 437MODEM SLW SPEEDRPL EXT F CONN  LSLST/DIST SPEECH109FEEDER PASSIVES
50MA MDM NOT ACQUIRE   ININSTALLFOLLOWUP111FEEDERCONNECTOR
Sheet1
Cell Formulas
RangeFormula
E2:E50E2=IFERROR(IF(VALUE(B2)=$J$1," ",VLOOKUP(VALUE(LEFT(B2,3)),J:K,2,0)),"")
F2:F50F2=IFERROR(IF(VALUE(B2)=$J$1," ",VLOOKUP(VALUE(MID(B2,6,3)),J:K,2,0)),"")
G2:G50G2=IFERROR(IF(VALUE(B2)=$J$1," ",VLOOKUP(VALUE(RIGHT(B2,3)),J:K,2,0)),"")
C2:C50C2=VLOOKUP(LEFT(A2,2),H:I,2,0)
 

Attachments

  • 1234.PNG
    1234.PNG
    55.2 KB · Views: 21

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
i have used TRIM and it works, the errors appear to be where the code does not exist at all

Sorry am i missing something

I have highlighted codes in A that even with a trim do not appear in column H

Book14-ETAF.xlsx
ABCDEFGHIJKL
1TC REASONCOMPL CDEREASON DESCPTREASON DESCPT 2FIX CDFIX CD 2FIX CD 3REASON KEYCharge Back CodeCharge Back Description
2WN 151WIFI NOT WKG   TBBUS TBL CALL165-48 V FAILURE1
3WN 151WIFI NOT WKG   1T1 TV906A/B SWITCH1
4CVIN 419#N/A   EOECHO904A/O INSTALLED1
5CVIN 419#N/A   SVSAVE PROGRAM905A/O RECONNECTED1
6DP 453#N/A   SDSATELLITE DISH312ADD HSE AMP1
7DP 453#N/A   PVPPV NOT WORKING434ADD/REM TRAP1
8MA 354450439MDM NOT ACQUIRECHNG ROUTER LOC  MSMODEM SLW SPEED404ADJUST TV SET1
9EN 435#N/A   OMONE MOMENT PLS405ADJUST VCR1
10MA 370MDM NOT ACQUIRE   NPNO PICTURE311ANIMAL CHEW1
11MA 370MDM NOT ACQUIRE   HCHSD NEW CONNECT503AUDIT ERROR1
12MA 370MDM NOT ACQUIRE   TOTIVO114CABLE SUCK OUT1
13MA 370MDM NOT ACQUIRE   THHSD TROUBLE CALL12CANCEL @ PRECLL1
14MA 370MDM NOT ACQUIRE   PCPHONE NEW CONNECT5CANCEL AT DOOR1
15OM 429ONE MOMENT PLS   QIMUST-DO TC HSD DTA34CANCEL AT DOOR$1
16MA 432MDM NOT ACQUIRE   7T7 TVS11CANCEL BY OFFCE1
17AO 50#N/A   DCDAMAGED CABLE7CANCEL BY OFFIC1
18TO 428TIVO   VOVOD NOT WORKING8CANCEL@PRECALL1
19MA 51439MDM NOT ACQUIRE   DTDTA PROBLEM10CANCELLD BY SUB1
20IM 151#N/A   EIEMTA INT BL SNC6CANCELLD BY SUB1
21IM 151#N/A   BPBUS PHONE354CHNG ROUTER LOC1
22MA 439MDM NOT ACQUIRE   3T3 TVS166CMTS1
23MA 431451MDM NOT ACQUIRE   GHGHOSTING134COMM POWER1
24MA 151MDM NOT ACQUIRE   H5HM CAMERA102COMML PWR FAIL1
25MA 438MDM NOT ACQUIREDISCO IN ERROR DISCO IN ERRORSISELF INSTALLATION350CONF WLESS CST$1
26MA 438MDM NOT ACQUIREDISCO IN ERROR DISCO IN ERROR8T8 TVS117CRACKED SHIELD1
27MA 151MDM NOT ACQUIRE   DDDWN OR LOW DROP38CUST EDUCATION$1
28MA 430MDM NOT ACQUIRE   VPVCR PROBLEM36CUST INSTAL EQ$1
29MA 430MDM NOT ACQUIRE   RCREMOTE PROBLEM407CUST INSTALD EQ1
30MA 51MDM NOT ACQUIRE   IPINTERMITTENT PRB218CUST PHONE PROB1
31MA 51MDM NOT ACQUIRE   SGSIGNAL LEAK - HOME400CUSTOMER EDUCAT1
32MA D30 MDM NOT ACQUIRE   WNWIFI NOT WKG146CUT/DAMAGED FIB1
33SC 51#N/A   LWLOW CHAN PROB120CUT/DMGD FIBER1
34DP 50#N/A   CMCUSTOMER IMPACT MAINTD30D3 SWAP1
35DP 50#N/A   AUFIELD AUDIT406DEFECTVE A/B SW1
36MA 51453MDM NOT ACQUIRE   CVCNV/DCT PROBLEM306DIRECT P/U DROP1
37IM 434432#N/AADD/REM TRAP  CICLI402DIRECTP/USUB EQ1
38AO 437#N/A   BIBUS INTERNET910DISCO AT TAP1
39OM 417ONE MOMENT PLS   BSBUS SITE SURVEY500DISCO IN ERROR1
40AO 437#N/A   CECUSTOMER EDUC438DISCO IN ERROR1
41OM 417ONE MOMENT PLS   BDBURY DROP911DISCONNECT A/O1
42IM 51434082#N/A   9T9 TVS902DROP RECONNECT1
43MA 432434431MDM NOT ACQUIRE   MCMUST-DO TC VIDEO304DROP PASSIVE1
44MA 51438432MDM NOT ACQUIRE   DADISASTER903DROP RELOCATE1
45NP NO PICTURE   TPTAP DISCONNECT301DROP/GNDBLK-TV1
46MA 39MDM NOT ACQUIRE   PRPHONE RECONNECT300DROP/TAP-GNDBLK1
47MA MDM NOT ACQUIRE   MRMDVR PROBLEM108FEEDER ACTIVES1
48IM 434437#N/AADD/REM TRAPCANCEL BY OFFIC MAMDM NOT ACQUIRE110FEEDER CABLE1
49MS 437MODEM SLW SPEED   LSLST/DIST SPEECH109FEEDER PASSIVES1
50MA MDM NOT ACQUIRE   ININSTALLFOLLOWUP111FEEDERCONNECTOR1
Sheet1
Cell Formulas
RangeFormula
E2:E50E2=IFERROR(IF(VALUE(B2)=$J$1," ",VLOOKUP(VALUE(LEFT(B2,3)),J:K,2,0)),"")
F2:F50F2=IFERROR(IF(VALUE(B2)=$J$1," ",VLOOKUP(VALUE(MID(B2,6,3)),J:K,2,0)),"")
G2:G50G2=IFERROR(IF(VALUE(B2)=$J$1," ",VLOOKUP(VALUE(RIGHT(B2,3)),J:K,2,0)),"")
C2:C50C2=VLOOKUP(TRIM(A2),H:I,2,0)
L2:L50L2=COUNTIF(H:H,H2)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A:AExpression=COUNTIF(H:H,TRIM(A1))=0textNO
 
Upvote 0
The format isn't the same here as it is in excel. If I could post the whole spreadsheet, I could explain it more.
 
Upvote 0
if the sample is not representative of the issues and different on the real sheet ??
or are you saying XL2BB is the issue

if so , then use dropbox/onedrive and post a link to the file
 
Upvote 0
The xlb2bb didn't replicate the issue. I will make a copy of it and post it in a bit.
 
Upvote 0
ok, i'm in UK and very late now - 01:12 - so i wont reply until later tomorrow now UK timezone
 
Upvote 0
Let me know if you are able to download it from here.

 
Upvote 0
i have downloaded ,
not sure now i understand the issue - like xl2bb , i get the same results with the actual shared file

The formulas I have, pulls the code from A, compares it to H, and returns what is in I into C. When I attempt to pull the rows that have multiple codes, and populate into D, it gives me an error because there are spaces at the end of the code in A. If I manually remove them, it works, but when I attempt to add TRIM, it doesn't do anything, so I get an error.
if i do a trim , it works, where it does not work is where the code in A does not match any code in H
same for G & J

I have highlighted (using conditional formatting) the codes in A and B that do not match

i have attached the file here in XL2B & on dropbox share

if you could pick some examples where the code does not match and explain what you expect to happen
I suspect it maybe you say CODES , plural , and that maybe more than i 2 character code is enter

Highlighted in column A

CVIN
MAWN
AOTO
etc

should these be 2 codes
CV
IN
MA
WN
AO
TO

and is that the issue - NOT the spaces

Dropbox share



Part of the file in XL2BB

Test1234.xlsx
ABCDEFGHIJK
1TC REASONCOMPL CDEREASON DESCPTREASON DESCPT 2FIX CDFIX CD 2FIX CD 3REASON KEYCharge Back CodeCharge Back Description
2WN 151RE-AUTH WIFIRE-AUTH WIFI RE-AUTH WIFITBBUS TBL CALL165-48 V FAILURE
3WN 151RE-AUTH WIFIRE-AUTH WIFI  1T1 TV906A/B SWITCH
4CVIN 419REPL TIVO MINIREPL TIVO MINI  EOECHO904A/O INSTALLED
5CVIN 419REPL TIVO MINIREPL TIVO MINI  SVSAVE PROGRAM905A/O RECONNECTED
6DP 453RPL INT PASSIVERPL INT PASSIVE  SDSATELLITE DISH312ADD HSE AMP
7DP 453RPL INT PASSIVERPL INT PASSIVE  PVPPV NOT WORKING434ADD/REM TRAP
8MA 354450439#N/ACHNG ROUTER LOCUNAUTH HOOK UP$ MSMODEM SLW SPEED404ADJUST TV SET
9EN 435RPL EXT CORDRPL EXT CORD  OMONE MOMENT PLS405ADJUST VCR
10MA 370REPLACE EMTA SLREPLACE EMTA SL  NPNO PICTURE311ANIMAL CHEW
11MA 370REPLACE EMTA SLREPLACE EMTA SL  HCHSD NEW CONNECT503AUDIT ERROR
12MA 370REPLACE EMTA SLREPLACE EMTA SL  TOTIVO114CABLE SUCK OUT
13MA 370REPLACE EMTA SLREPLACE EMTA SL  THHSD TROUBLE CALL12CANCEL @ PRECLL
14MA 370REPLACE EMTA SLREPLACE EMTA SL  PCPHONE NEW CONNECT5CANCEL AT DOOR
15OM 429TIVO SVC ACCTTIVO SVC ACCT  QIMUST-DO TC HSD DTA34CANCEL AT DOOR$
16MA 432RPL EXT PASSIVERPL EXT PASSIVE  7T7 TVS11CANCEL BY OFFCE
17AO 050REF TO INSTALLREF TO INSTALL  DCDAMAGED CABLE7CANCEL BY OFFIC
18TO 428REPR TIVO BDBNDREPR TIVO BDBND  VOVOD NOT WORKING8CANCEL@PRECALL
19MA 051439#N/AREF TO MAINT  DTDTA PROBLEM10CANCELLD BY SUB
20IM 151RE-AUTH WIFIRE-AUTH WIFI  EIEMTA INT BL SNC6CANCELLD BY SUB
21IM 151RE-AUTH WIFIRE-AUTH WIFI  BPBUS PHONE354CHNG ROUTER LOC
22MA 439RPL GROUND BLCKRPL GROUND BLCK  3T3 TVS166CMTS
23MA 431451#N/AREPAIR EXT DRPNO PROBLEM FND GHGHOSTING134COMM POWER
24MA 151RE-AUTH WIFIRE-AUTH WIFI  H5HM CAMERA102COMML PWR FAIL
25MA 438DISCO IN ERRORDISCO IN ERROR  SISELF INSTALLATION350CONF WLESS CST$
26MA 438DISCO IN ERRORDISCO IN ERROR  8T8 TVS117CRACKED SHIELD
27MA 151RE-AUTH WIFIRE-AUTH WIFI  DDDWN OR LOW DROP38CUST EDUCATION$
28MA 430REPLACE EXT DRPREPLACE EXT DRP  VPVCR PROBLEM36CUST INSTAL EQ$
29MA 430REPLACE EXT DRPREPLACE EXT DRP  RCREMOTE PROBLEM407CUST INSTALD EQ
30MA 051REF TO MAINTREF TO MAINT  IPINTERMITTENT PRB218CUST PHONE PROB
31MA 051REF TO MAINTREF TO MAINT  SGSIGNAL LEAK - HOME400CUSTOMER EDUCAT
32MA D30 #VALUE!   WNWIFI NOT WKG146CUT/DAMAGED FIB
33SC 051REF TO MAINTREF TO MAINT  LWLOW CHAN PROB120CUT/DMGD FIBER
34DP 050REF TO INSTALLREF TO INSTALL  CMCUSTOMER IMPACT MAINTD30D3 SWAP
35DP 050REF TO INSTALLREF TO INSTALL  AUFIELD AUDIT406DEFECTVE A/B SW
36MA 051453#N/AREF TO MAINTNO ADULT CVCNV/DCT PROBLEM306DIRECT P/U DROP
37IM 434432#N/AADD/REM TRAPOK ON TEST SET CICLI402DIRECTP/USUB EQ
38AO 437RPL EXT F CONNRPL EXT F CONN  BIBUS INTERNET910DISCO AT TAP
39OM 417REPL TIVO QREPL TIVO Q  BSBUS SITE SURVEY500DISCO IN ERROR
40AO 437RPL EXT F CONNRPL EXT F CONN  CECUSTOMER EDUC438DISCO IN ERROR
41OM 417REPL TIVO QREPL TIVO Q  BDBURY DROP911DISCONNECT A/O
42IM 051434082#N/AREF TO MAINTREPL HM CAMERA 9T9 TVS902DROP RECONNECT
43MA 432434431#N/ARPL EXT PASSIVE  MCMUST-DO TC VIDEO304DROP PASSIVE
44MA 051438432#N/AREF TO MAINT  DADISASTER903DROP RELOCATE
45NP #VALUE!   TPTAP DISCONNECT301DROP/GNDBLK-TV
46MA 039TEL/HC NOT HOMETEL/HC NOT HOME  PRPHONE RECONNECT300DROP/TAP-GNDBLK
47MA #VALUE!   MRMDVR PROBLEM108FEEDER ACTIVES
48IM 434437#N/AADD/REM TRAPCANCEL BY OFFIC MAMDM NOT ACQUIRE110FEEDER CABLE
49MS 437RPL EXT F CONNRPL EXT F CONN  LSLST/DIST SPEECH109FEEDER PASSIVES
50MA #VALUE!   ININSTALLFOLLOWUP111FEEDERCONNECTOR
51MA #VALUE!   IMINTR MOD NO ACQ149FIBER - OTHER
52MA 439RPL GROUND BLCKRPL GROUND BLCK  IWINSIDE PHN WIRE118FIBER ACTIVE
53MA #VALUE!   IRINSTALL REPAIR144FIBER ACTIVE
54MA #VALUE!   LCLOCATE145FIBER PASSIVE
55MA 439RPL GROUND BLCKRPL GROUND BLCK  PTPHONE RESTART119FIBER PASSIVE
56MA 051REF TO MAINTREF TO MAINT  MHMUST-DO TC HSD302GROUNDING SYSTM
57WN #VALUE!   PPBUS PHONE PRE-WIRE800H/E OUTAGE PROB
58WN #VALUE!   MOMACRO CHANGE801H/E RECEPTION
59MA 051REF TO MAINTREF TO MAINT  QZMUST-DO TC PHN DTA805HE -48V FAILURE
60MAWN #VALUE!   QDMUST-DO TC VID DTA804HE GEN FAILURE
61MA 051REF TO MAINTREF TO MAINT  QHHSD TRBL CALL DTA164HE GEN FAILURE
62OM 417REPL TIVO QREPL TIVO Q  QYPHN TRBL CALL DTA160HE OUTAGE PROB
63DP 290RPL REMOTE CTRLRPL REMOTE CTRL  RSRESTART SERVICE161HE RECEPTION
64DP 290RPL REMOTE CTRLRPL REMOTE CTRL  PSPHONE UPGRADE803HE UPS FAILURE
65AOTO 290RPL REMOTE CTRLRPL REMOTE CTRL  LPLINES IN PICTUR163HE UPS FAILURE
66AOTO 290RPL REMOTE CTRLRPL REMOTE CTRL  AOADDITIONAL414HM CUST EDUC
67IM 051REF TO MAINTREF TO MAINT  CPCHK PHONE LINE412HM FMWARE UPGRD
68MA #VALUE!   APAUDIO PROBLEM912HOOK UP VCR
69MA 434151#N/AADD/REM TRAPNO PROBLEM FND COCHANGE OVER703ILLEGAL HOOKUP
70MA 434151#N/AADD/REM TRAPNO PROBLEM FND SCSNGL CHANL OUT502IMPROPER INSTAL
71MA 434360#N/AADD/REM TRAP  TCTROUBLE CALL504IMPROPER TAG
72IMMS 453RPL INT PASSIVERPL INT PASSIVE  NCNEW CONNECT201INSTALL CNVRTER
73IMMS 453RPL INT PASSIVERPL INT PASSIVE  NMNONCUSTOMER IMPACTING MAINT353INSTLLD AC ROUT
74IM 051432#N/AREF TO MAINTOK ON TEST SET MYMUST-DO TC PHONE351INSTLLD EXTNDRS
75IM 051432#N/AREF TO MAINTOK ON TEST SET H2HDTV 201-500148LEVEL ADJST-FIB
76MA 051434#N/AREF TO MAINTNOTHOME/DOORHNG 6T6 TVS138LEVEL ADJST-HFC
77MA 051434#N/AREF TO MAINTNOTHOME/DOORHNG VDVOLUNTARY DISCO112LEVEL ADJUSTMEN
78MA 051434#N/AREF TO MAINTNOTHOME/DOORHNG VUVCR HOOKUP113LSE SEIZURESCRW
79MA 430REPLACE EXT DRPREPLACE EXT DRP  DVDVR PROBLEM701NEIGHBOR TAMPER
80MA 430REPLACE EXT DRPREPLACE EXT DRP  2T2 TVS3NO ADULT
81MA 430REPLACE EXT DRPREPLACE EXT DRP  FPFLASHING PICTUR32NO ADULT$
82IM #VALUE!   QCTROUBLE CALL DTA30NO PROB FOUND$
83IM 360432439434#N/AREPLACE WL MDM  ENEMTA NO BLK SNC1NO PROBLEM FND
84MA 051367#N/AREF TO MAINTCANCEL BY OFFIC DUDVR33NOTHME/DOORHNG$
Sheet1
Cell Formulas
RangeFormula
E2:E84E2=IFERROR(IF(VALUE(B2)=$J$1," ",VLOOKUP(VALUE(LEFT(B2,3)),J:K,2,0)),"")
F2:F84F2=IFERROR(IF(VALUE(B2)=$J$1," ",VLOOKUP(VALUE(MID(B2,6,3)),J:K,2,0)),"")
G2:G84G2=IFERROR(IF(VALUE(B2)=$J$1," ",VLOOKUP(VALUE(RIGHT(B2,3)),J:K,2,0)),"")
C2:C84C2=VLOOKUP(TRIM(B2)*1,J:K,2,0)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B:BExpression=COUNTIF($J:$J,TRIM(B1))=0textNO
A:AExpression=COUNTIF($H:$H,TRIM(A1))=0textNO
 
Upvote 0
I found a formula that works for column D.

=IFERROR(VLOOKUP(MID((SUBSTITUTE($A4," ","")),3,2),$H:$I,2,0),"")

Now I am just trying to recreate it in G.

=IFERROR(IF(VALUE(B2)=$J$1," ",VLOOKUP(VALUE(RIGHT(B2,3)),J:K,2,0)),"")
 
Upvote 0
Is there a way to add "SUBSTITUTE" to the bottom formula, and it work for this, it seems like it should, but I can't get it to work properly.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top