+ Reply to Thread
Results 1 to 2 of 2

Creating ranges based on column values VBA

  1. #1
    Registered User
    Join Date
    02-07-2016
    Location
    Canada
    MS-Off Ver
    13
    Posts
    65

    Exclamation Creating ranges based on column values VBA

    Hi experts,

    Hope you can help me with below.

    I am looking for VBA to name cells "ranges" in column A based on corresponding values in column B.
    Column B value is supposed to become column A cell name. Is this possible?

    I have thousands rows and it's not possible to go "Formulas" > "define name" for each row...

    Better explanation is in attached.
    Thanks a lot!
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Creating ranges based on column values VBA

    This is a modification of a recorded macro
    Please Login or Register  to view this content.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 07-15-2016, 06:45 AM
  2. [SOLVED] VBA Creating a list of unique values from one column based on criteria from another column
    By bilbo85 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-09-2016, 02:38 PM
  3. Replies: 1
    Last Post: 05-14-2014, 05:09 PM
  4. [SOLVED] Copy and paste ranges of cells based on values in column A
    By ajk1789 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-12-2014, 02:04 AM
  5. Creating new column/value based on values in three columns
    By rkwpnw in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-09-2013, 02:16 PM
  6. [SOLVED] Sum the values in a column based on the Date ranges
    By gl.shruthi in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 09-04-2012, 06:04 PM
  7. Replies: 0
    Last Post: 06-28-2010, 10:23 AM

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