mohdamir1989
New Member
- Joined
- Oct 17, 2017
- Messages
- 42
Hi All,
I am working with bar codes of products. Any bar code repeated in specific period is considered redo. For this I have created 4 helper columns which are somewhat fulfilling the need. But I still need to read whole description of work done to specify if it is redo or not.
What I am trying to achieve is as below and I have no clue how it can be achieved:
Historical data is available in "Previous" arranged Newest to oldest as bar code is repetitive. I have to check the last most. If bar code have any of the charges mentioned "complaint handling charges, Gas Charges, Compressor" and the same is repeated again it should return Order number in "Redo" column.
Thank you in advance.
Best Regards
I am working with bar codes of products. Any bar code repeated in specific period is considered redo. For this I have created 4 helper columns which are somewhat fulfilling the need. But I still need to read whole description of work done to specify if it is redo or not.
What I am trying to achieve is as below and I have no clue how it can be achieved:
Code:
[B]Excel 2007 32 bit[/B][SIZE=1][TABLE="class: head"]
<tbody>[TR="bgcolor: #E0E0F0"]
[TH][/TH]
[TH][CENTER][COLOR=#FFFFFF]A[/COLOR][/CENTER]
[/TH]
[TH][CENTER][COLOR=#FFFFFF]B[/COLOR][/CENTER]
[/TH]
[TH][CENTER][COLOR=#FFFFFF]C[/COLOR][/CENTER]
[/TH]
[TH][CENTER][COLOR=#FFFFFF]P[/COLOR][/CENTER]
[/TH]
[TH][CENTER][COLOR=#FFFFFF]U[/COLOR][/CENTER]
[/TH]
[TH][CENTER][COLOR=#FFFFFF]Y[/COLOR][/CENTER]
[/TH]
[TH][CENTER][COLOR=#FFFFFF]Z[/COLOR][/CENTER]
[/TH]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]1[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER][B]O[/B][/CENTER]
[/TD]
[TD][CENTER][B]P[/B][/CENTER]
[/TD]
[TD][CENTER][B]Q[/B][/CENTER]
[/TD]
[TD][CENTER][B]AD[/B][/CENTER]
[/TD]
[TD][CENTER][B]AI[/B][/CENTER]
[/TD]
[TD][CENTER][B]AM[/B][/CENTER]
[/TD]
[TD][CENTER][B]AN[/B][/CENTER]
[/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]2[/B][/COLOR][/CENTER]
[/TD]
[TD="bgcolor: #FF0000"][B][COLOR=#FFFFFF]Notif.date[/COLOR][/B][/TD]
[TD="bgcolor: #FF0000"][B][COLOR=#FFFFFF]SEND Date[/COLOR][/B][/TD]
[TD="bgcolor: #00B050"][CENTER][B]Bar Code[/B][/CENTER]
[/TD]
[TD="bgcolor: #00B050"][B]Redo[/B][/TD]
[TD="bgcolor: #FFFF00"][B]Complaint Handling[/B][/TD]
[TD="bgcolor: #FFFF00"][B]Compressor[/B][/TD]
[TD="bgcolor: #FFFF00"][B]Gas[/B][/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]3[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER]1-Oct[/CENTER]
[/TD]
[TD][CENTER]2-Oct[/CENTER]
[/TD]
[TD][CENTER]300227519[/CENTER]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][COLOR=#333333]Gas Charges[/COLOR][/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]4[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER]3-Oct[/CENTER]
[/TD]
[TD][CENTER]11-Oct[/CENTER]
[/TD]
[TD][CENTER]300289708[/CENTER]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] GAS CHARGING & SERVICE - BASE - L2[/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]5[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER]31-Oct[/CENTER]
[/TD]
[TD][CENTER]1-Nov[/CENTER]
[/TD]
[TD][CENTER]300133608[/CENTER]
[/TD]
[TD][/TD]
[TD] Complaint Handling Charges[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]6[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER]12-Nov[/CENTER]
[/TD]
[TD][CENTER]13-Nov[/CENTER]
[/TD]
[TD][CENTER]300146956[/CENTER]
[/TD]
[TD][/TD]
[TD] Complaint Handling Charges[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]7[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER]13-Nov[/CENTER]
[/TD]
[TD][CENTER]14-Nov[/CENTER]
[/TD]
[TD][CENTER]300187650[/CENTER]
[/TD]
[TD][/TD]
[TD] Complaint Handling Charges[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]8[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER]10-Nov[/CENTER]
[/TD]
[TD][CENTER]14-Nov[/CENTER]
[/TD]
[TD][CENTER]300149826[/CENTER]
[/TD]
[TD][/TD]
[TD] Complaint Handling Charges[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]9[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER]10-Nov[/CENTER]
[/TD]
[TD][CENTER]14-Nov[/CENTER]
[/TD]
[TD][CENTER]300355055[/CENTER]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][COLOR=#333333]Compressor 1/4 HP (8.5G) REFURBISHED[/COLOR][/TD]
[TD][COLOR=#333333]Gas Charges[/COLOR][/TD]
[/TR]
</tbody>[/TABLE]
[/SIZE][TABLE="class: grid"]
<tbody>[TR]
[TD]Sheet: [B]Daily Feedback[/B][/TD]
[/TR]
</tbody>[/TABLE]
Code:
[B]Excel 2007 32 bit[/B][SIZE=1][TABLE="class: head"]
<tbody>[TR="bgcolor: #E0E0F0"]
[TH][/TH]
[TH][CENTER][COLOR=#FFFFFF]A[/COLOR][/CENTER]
[/TH]
[TH][CENTER][COLOR=#FFFFFF]B[/COLOR][/CENTER]
[/TH]
[TH][CENTER][COLOR=#FFFFFF]E[/COLOR][/CENTER]
[/TH]
[TH][CENTER][COLOR=#FFFFFF]F[/COLOR][/CENTER]
[/TH]
[TH][CENTER][COLOR=#FFFFFF]H[/COLOR][/CENTER]
[/TH]
[TH][CENTER][COLOR=#FFFFFF]I[/COLOR][/CENTER]
[/TH]
[TH][CENTER][COLOR=#FFFFFF]J[/COLOR][/CENTER]
[/TH]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]1[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER][B]D[/B][/CENTER]
[/TD]
[TD][CENTER][B]E[/B][/CENTER]
[/TD]
[TD][CENTER][B]H[/B][/CENTER]
[/TD]
[TD][CENTER][B]I[/B][/CENTER]
[/TD]
[TD][CENTER][B]K[/B][/CENTER]
[/TD]
[TD][CENTER][B]L[/B][/CENTER]
[/TD]
[TD][CENTER][B]M[/B][/CENTER]
[/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]2[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER][B]Bar Code[/B][/CENTER]
[/TD]
[TD][CENTER][B]Asset Code[/B][/CENTER]
[/TD]
[TD][CENTER][B]Notif.date[/B][/CENTER]
[/TD]
[TD][CENTER][B]Order Number [/B][/CENTER]
[/TD]
[TD][CENTER][B]Complaint handling[/B][/CENTER]
[/TD]
[TD][CENTER][B]Gas[/B][/CENTER]
[/TD]
[TD][CENTER][B]Compressor[/B][/CENTER]
[/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]3[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER]300030734[/CENTER]
[/TD]
[TD][CENTER]L043008121[/CENTER]
[/TD]
[TD][CENTER]30-Sep-18[/CENTER]
[/TD]
[TD][CENTER]937051[/CENTER]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]4[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER]300443334[/CENTER]
[/TD]
[TD][CENTER]300443334[/CENTER]
[/TD]
[TD][CENTER]30-Sep-18[/CENTER]
[/TD]
[TD][CENTER]937075[/CENTER]
[/TD]
[TD] Complaint Handling Charges[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]5[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER]300151559[/CENTER]
[/TD]
[TD][CENTER]M103016740[/CENTER]
[/TD]
[TD][CENTER]30-Sep-18[/CENTER]
[/TD]
[TD][CENTER]937086[/CENTER]
[/TD]
[TD][/TD]
[TD][COLOR=#333333]Gas Charg[/COLOR][/TD]
[TD][/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]6[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER]300180010[/CENTER]
[/TD]
[TD][CENTER]M063105912[/CENTER]
[/TD]
[TD][CENTER]30-Sep-18[/CENTER]
[/TD]
[TD][CENTER]937122[/CENTER]
[/TD]
[TD] Complaint Handling Charges[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]7[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER]300180010[/CENTER]
[/TD]
[TD][CENTER]M063105912[/CENTER]
[/TD]
[TD][CENTER]30-Sep-18[/CENTER]
[/TD]
[TD][CENTER]937122[/CENTER]
[/TD]
[TD] Complaint Handling Charges[/TD]
[TD][/TD]
[TD][COLOR=#333333]Compressor[/COLOR][/TD]
[/TR]
</tbody>[/TABLE]
[/SIZE][TABLE="class: grid"]
<tbody>[TR]
[TD]Sheet: [B]Previous[/B][/TD]
[/TR]
</tbody>[/TABLE]
Historical data is available in "Previous" arranged Newest to oldest as bar code is repetitive. I have to check the last most. If bar code have any of the charges mentioned "complaint handling charges, Gas Charges, Compressor" and the same is repeated again it should return Order number in "Redo" column.
Code:
[B]Excel 2007 32 bit[/B][SIZE=1][TABLE="class: head"]
<tbody>[TR="bgcolor: #E0E0F0"]
[TH][/TH]
[TH][CENTER][COLOR=#FFFFFF]A[/COLOR][/CENTER]
[/TH]
[TH][CENTER][COLOR=#FFFFFF]B[/COLOR][/CENTER]
[/TH]
[TH][CENTER][COLOR=#FFFFFF]C[/COLOR][/CENTER]
[/TH]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]1[/B][/COLOR][/CENTER]
[/TD]
[TD][CENTER]Redo Criteria[/CENTER]
[/TD]
[TD][/TD]
[TD]Result[/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]2[/B][/COLOR][/CENTER]
[/TD]
[TD]Complaint Handling[/TD]
[TD]If bar code is repeated within 30 days[/TD]
[TD]Redo Service + Previous Order No.[/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]3[/B][/COLOR][/CENTER]
[/TD]
[TD]Compressor[/TD]
[TD]If bar code is repeated within 180 days[/TD]
[TD]Redo Compressor + Previous Order No.[/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"][CENTER][COLOR=#FFFFFF][B]4[/B][/COLOR][/CENTER]
[/TD]
[TD]Gas[/TD]
[TD]If bar code is repeated in 90 days[/TD]
[TD]Redo Gas + Previous Order No.[/TD]
[/TR]
</tbody>[/TABLE]
[/SIZE][TABLE="class: grid"]
<tbody>[TR]
[TD]Sheet: [B]Sheet3[/B][/TD]
[/TR]
</tbody>[/TABLE]
Best Regards
Last edited: