LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Matching cell in one column to value in another

We have started using a variant of a bar code reader to
read the serial numbers on parts that we process. The way
it works is that the parts arrive in boxes of 10 in some
particular order. As they are unpacked they are scanned
one by one. The scanning program inserts the serial
number into an Excel spreadsheet, starting at a selected
cell (say A2), then advances to A3. The next part is
scanned, its serial number is inserted into A3, A4 is
selected, another part is scanned, and so forth. There
could be up to 500 parts. Each group of 10 cells would
have a border around it, labeled Box 1, Box 2, etc. Cells
A2 - A11 would be labeled Box 1, A12 - A21 would be Box 2,
and so forth.
As the parts are processed they do not stay in any
particular order. When processing is completed the parts
are again scanned, starting at a selected cell such as
B2. The idea is that as each part is scanned, the
corresponding serial number from column A is highlighted
in some way. If the first serial number scanned at the
end of processing is 123456, and 123456 is in A15 from the
original scan, Excel will either highlight A15 or will
indicate in B2 that its match is in A15 (or maybe even
show something in B2 such as "Box 2, Compartment 4").
One final point is that if highlighting is used, it would
have to be canceled as each new part is scanned, or it
could become difficult to see which new cell was
highlighted. In other words, only one highlighted cell at
a time.
I am open to suggestion. I don't even know if VBA is the
best approach. I do know that this needs to happen in
Excel.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MATCHING A VALUE IN A CELL TO A COLUMN OF VALUES IN ANOTHER SHEET carrach Excel Discussion (Misc queries) 3 February 6th 10 04:32 PM
Is there a function to get column # of cell with matching value Neslihan Excel Worksheet Functions 1 November 2nd 07 05:00 AM
matching from one column to another jbressma Excel Discussion (Misc queries) 0 November 29th 06 08:04 PM
find a cell matching separate column and row values LQEngineer Excel Worksheet Functions 2 July 26th 06 07:10 AM
Matching data and linking it to the matching cell yvonne a via OfficeKB.com Links and Linking in Excel 0 July 13th 05 07:30 PM


All times are GMT +1. The time now is 01:16 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"