Results 1 to 9 of 9

Reference a column from a variable

Threaded View

  1. #1
    Forum Contributor
    Join Date
    02-16-2012
    Location
    London, England
    MS-Off Ver
    Excel mac 2011
    Posts
    238

    Reference a column from a variable

    Hi there,

    I have a sheet here that has lots of different data in it, I have a column for part numbers, and a few more columns with dates amongst other things, but the last 45 columns form a matrix of jobs1 to 45. Then the rows make up items to be covered and there are approximately 37 rows of this.
    In this matrix there is either an "x" or "Done"

    Now the titles of Job1 to Job 45 are now a named range and I can now find one of the job numbers, but I can't work out how to access the column.

    Basically, the user chooses a job number, and then the macro will pick the item details depending on whether they have been done or not, and copy them to the next sheet to be printed out. But I can't work out how to get a variable that I can use to loop through the column to assess if it is required or not. What is the most efficient way to do this?

    The sheet is attached as I realized that this is too difficult for me to explain.

    Kind regards
    Rob
    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. Using SUMIFS on a variable column reference?
    By tangcla in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-23-2013, 08:15 PM
  2. Variable Column Reference from number
    By Jannis in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-13-2012, 10:06 AM
  3. Using Variable as Column Reference in SumProd
    By Engineers2008 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-08-2010, 06:17 PM
  4. Variable Find reference to a column?
    By crowdx42 in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 11-19-2006, 11:13 PM
  5. [SOLVED] how do I use variable column and rows using other cell reference .
    By Bomber in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 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