Results 1 to 19 of 19

a macro that uses a variable serial number

Threaded View

  1. #1
    Registered User
    Join Date
    09-23-2008
    Location
    Yokosuka Japan
    Posts
    44

    a macro that uses a variable serial number

    I have searched high and low for a macro that can move cell values to other worksheet based on a variable serial number. I have had limited luck with my search but nothing quite reflects my needs. Any help or suggestions would be great. The way that I envision it to work is simple to say but to hard for me to figure out. I must add that I am fair to good with macros; I am using Windows XP and Excel 2003.

    Here is the concept:

    -I am trying to track several vehicles, their status and there general locations using a variable serial number and an excel macro. The macro would execute the calculated data on sheet “My Taxi Cars” and the results would appear on a separate worksheet called “Location” that is in the same workbook. Please see attached.

    -The serial number is comprised of a cell range starting at A2 thru L2 and then concatenates in M2 it would look something like this 123N1110011011. This serial number would allow me to do simple long-range analysis for each of the vehicles. Also in theory at the end of 30-day period I could “replay” my data.

    The Breakdown for the alpha numeric serial reads like this:
    1) The 123 is the number of the cab.
    2) The “N” is for North, etc. and it would equate to a range of cells on a separate worksheet (“Location”).
    3) The Ones and Zeros are just simple yes or no answers to the common questions in the Garage at work.

    Once the macro is executed the result would be the taxis number (taxi number only, the rest of the number is stripped off) being placed the correct location based off the serial number. I have no idea if this is possible and I would like to thank you in advance for your help. Thanks.

    I understand that there are about 1024 different combination's for a binary number that has ten place values. Maybe the answer is to use VLOOKUP or HLOOKUP, but then that changes my analysis scheme. But if you can just help point my nose in the right direction or show me with one example I can take it the rest of the way. Thanks again.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro To Select variable range
    By dubiic in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-14-2008, 10:51 AM
  2. Generating Automatic Serial Number in Excel
    By vajeehu in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-15-2007, 04:11 PM
  3. Variable Cell Number?
    By talR in forum Excel General
    Replies: 1
    Last Post: 06-28-2007, 09:45 AM
  4. Freeze Variable Cell to a Permanant Number
    By jrabrfc in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-25-2007, 09:14 PM
  5. remembering variable from one macro to another
    By carsto in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-29-2007, 06:12 PM

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