davids4500
Board Regular
- Joined
- Jan 14, 2023
- Messages
- 61
- Office Version
- 365
- Platform
- Windows
I am using vlookup in excel 365. Column A is where the product number is scanned and can be alpha numeric or numeric.
Excel finds the matches for the alpha numeric but not the numeric.
Column A where the barcodes are scanned is formatted General.
The columns on the data sheet for the alpha numeric are formatted general and the numeric is number.
How do I get the scanned numeric barcode to successfully interpret the value in the data column in the data sheet.
Excel finds the matches for the alpha numeric but not the numeric.
Column A where the barcodes are scanned is formatted General.
The columns on the data sheet for the alpha numeric are formatted general and the numeric is number.
How do I get the scanned numeric barcode to successfully interpret the value in the data column in the data sheet.
SamplesScansheetC&S.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Scan Code Here | Product Code | Product Name | ||
2 | CCH000084 | CCH000084 | Air Freshener I Brake For Turtles | ||
3 | CCH000085 | CCH000085 | Air Freshener Bouquet | ||
4 | AFR205 | AFR205 | Air Freshener Pink Heart - Strawberry | ||
5 | 6.14391E+11 | ||||
6 | 6.14391E+11 | ||||
7 | 6.14391E+11 | ||||
8 | 6.14391E+11 | ||||
9 | |||||
ScanSheet |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2:B8 | B2 | =IFERROR(VLOOKUP(A2,data!A:C,COLUMN(A2)*1,FALSE), "") |
C2:C8 | C2 | =IFERROR(VLOOKUP($A2,data!A:D,COLUMN(D2)*1,FALSE), "") |
Named Ranges | ||
---|---|---|
Name | Refers To | Cells |
data!samplestoday | =data!$A$1:$R$809 | B2:C8 |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
A67:A68,A5:A8 | Cell Value | contains "Sample" | text | NO |
SamplesScansheetC&S.xlsx | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Item Code | SUPPLIER CODE | ITEMCODE2 | NAME | ||
2 | AFR021 | AFR021 | 614390300994 | Air Freshener Free To Fly | ||
3 | AFR037 | AFR037 | 614390308983 | Air Freshener Friends Fill | ||
4 | AFR065 | AFR065 | 614390341799 | Air Freshener Truck Don't Look Back (Ocean) | ||
5 | AFR157 | AFR157 | 614390545050 | Air Freshener Beautiful Girl - Strawberry | ||
6 | AFR158 | AFR158 | 614390545043 | Air Freshener Stay Classy | ||
7 | AFR159 | AFR159 | 614390545012 | Air Freshener A Wise Girl Once Said | ||
8 | AFR172 | AFR172 | 614390557077 | Air Freshener Make Difference Today | ||
9 | AFR176 | AFR176 | 614390557114 | Air Freshener I Heart My Dog | ||
10 | AFR180 | AFR180 | 614390561609 | Air Freshener AICIS NOT APPROVED Let's Just Go | ||
11 | AFR191 | AFR191 | 614390585605 | Air Freshener Stay Close | ||
12 | AFR192 | AFR192 | 614390585612 | Air Freshener Sometimes | ||
13 | AFR205 | AFR205 | 614390614985 | Air Freshener Pink Heart - Strawberry | ||
14 | AFR208 | AFR208 | 614390615012 | Air Freshener Kindness Matters | ||
15 | AFR209 | AFR209 | 614390615029 | Air Freshener Be Happy Van Orange | ||
16 | AFR213 | AFR213 | 614390642520 | Air Freshener Always Remember | ||
17 | AFR219 | AFR219 | 614390642575 | Air Freshener Mushroom | ||
18 | AFR220 | AFR220 | 614390642582 | Air Freshener Butterfly - Ocean | ||
data |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
C:C | Cell Value | contains "Sample" | text | NO |