+ Reply to Thread
Results 1 to 8 of 8

Chemical Inventory- Create unique number for each entry to label

Hybrid View

wijoga Chemical Inventory- Create... 01-17-2013, 11:46 AM
twiggywales Re: Chemical Inventory-... 01-17-2013, 11:48 AM
wijoga Re: Chemical Inventory-... 01-17-2013, 11:52 AM
wijoga Re: Chemical Inventory-... 01-17-2013, 12:02 PM
twiggywales Re: Chemical Inventory-... 01-17-2013, 11:57 AM
twiggywales Re: Chemical Inventory-... 01-17-2013, 12:07 PM
wijoga Re: Chemical Inventory-... 01-17-2013, 12:22 PM
twiggywales Re: Chemical Inventory-... 01-17-2013, 12:33 PM
  1. #1
    Registered User
    Join Date
    01-17-2013
    Location
    north carolina
    MS-Off Ver
    Excel 2003
    Posts
    4

    Chemical Inventory- Create unique number for each entry to label

    I am making a chemical inventory spreadsheet of about 150 different chemicals in my lab. Each chemical bottle get its own row with a column for name, location, hazard, date acquired, etc.
    The top row consists of drop down lists to allow for auto sorting by any category.
    Now:
    I want to also make a unique label for each individual chemical bottle that gets generated in the excel sheet so that we can print a label for each bottle to match to the inventory. This would ideally be a concatenated string of something like "location-hazard-####" The numbers are required because we have multiples of certain chemicals and I originally tried creating numbers in two parts such that if "chemical name" = "chemical name in column above" then the "number" would be "1 + the number above", and concatenate that with the same procedure for location, BUT I realized that I cannot have cell references to other rows because they will all change depending on how we have the columns auto sorted!

    Is there a way to have a generated number that becomes permanent as soon as the function is added and also as soon as any new chemical is added? Any other ideas?

    (This is a university lab, so the goal is to make something that requires as little management as possible from year to year so that when new students come in they don't have to redo/learn anything, just add and remove chemicals as they arrive or are used, and print new labels. Otherwise I would just manually create the numbers and labels)

    Thank you for your help!

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Chemical Inventory- Create unique number for each entry to label

    if you upload a sample book it would be easier to do what you need
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  3. #3
    Registered User
    Join Date
    01-17-2013
    Location
    north carolina
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Chemical Inventory- Create unique number for each entry to label

    I should clarify, I actually envisioned the #### being two parts such that first part is the same for all of the same chemicals but different bottles of the same chemical have different second parts. ex. all acetone = 12 and acetone bottle number 4=4 so it would be "cabinet1-flammable-012.04" or something like that

    Thanks

  4. #4
    Registered User
    Join Date
    01-17-2013
    Location
    north carolina
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Chemical Inventory- Create unique number for each entry to label

    Chemical Lab Inventory Example.xlsx

    Ah,
    I have attached an example copy of the inventory, i think

  5. #5
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Chemical Inventory- Create unique number for each entry to label

    a sample book would really help

  6. #6
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Chemical Inventory- Create unique number for each entry to label

    ok and one last thing can you re upload it with some examples of how you would expect this list to look.

    that way we know what we are aiming to achieve

  7. #7
    Registered User
    Join Date
    01-17-2013
    Location
    north carolina
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Chemical Inventory- Create unique number for each entry to label

    Chemical Lab Inventory Example.xlsx
    Here is the example with the column for labels, and the way I had originally tried numbering, incrementing based on chemical name.

  8. #8
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Chemical Inventory- Create unique number for each entry to label

    to be honest I'm not sure I can think of a way at the moment without a total reorganisation. (at least not with a formula) you could do it with some VBA macro but I cant really help with that too much either. (something with counts and checks (if assigned then next if not assign next available)

    the problem is in the making it constant. because your data is constantly changing it will cause problems.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1