+ Reply to Thread
Results 1 to 3 of 3

Apply information associated to a large range to a separate document with a smaller range

  1. #1
    Registered User
    Join Date
    08-25-2019
    Location
    Calgary, Canada
    MS-Off Ver
    2007 & 2010
    Posts
    1

    Apply information associated to a large range to a separate document with a smaller range

    I apologize for the vague title. I could not find an easy way to describe this dilemma.

    Basically what I am trying to do is apply TEXT which is associated with a large data range
    E.g TABLE A
    to from code
    0 22 AAAA
    22 40 BBBB

    To a table with a smaller data range.
    e.g TABLE B
    to from Code from Table A
    0 6
    6 19
    19 22
    22 36
    30 40

    Therefore rows 2-4 on Table B should receive "AAAA" and rows 5-6 should get "BBBB"

    The data range breaks between Table A and Table B should line up 95%+ of the time so I do not mind going through manually and fixing the errors to which multiple codes would apply to an interval in Table B.

    If anyone has a forumla, macro or any tips for this please let me know!

  2. #2
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: Apply information associated to a large range to a separate document with a smaller ra

    Hello and welcome to the forum,

    Try this formula :
    Please Login or Register  to view this content.
    where :
    e2 is the first "to" value in table2
    $A$2:$A$3 is the range of "to" values from table1
    $C$2:$C$3 is the range of "code" values from table1
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Apply information associated to a large range to a separate document with a smaller ra

    Hi Klasd and welcome to the forum,

    This is a simple VLookup( , , True) type of formula. See the attached.

    Vlookup True for Klasd.xlsx

    You really don't need the "from" column.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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. Need to apply conditional formatting to large range of cells
    By Justair07 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-01-2016, 12:59 AM
  2. [SOLVED] Apply formula to large range the quickest way
    By BG1983 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-29-2016, 01:44 PM
  3. Replies: 0
    Last Post: 05-18-2016, 04:52 PM
  4. Apply sumifs in VBA on very large range
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-26-2015, 02:12 PM
  5. Very slow process, sorting large table to identify range to apply array formulae
    By jasonmcasey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2015, 03:40 AM
  6. Replies: 3
    Last Post: 06-24-2014, 11:04 AM
  7. Best way to display usage information across a large date range
    By Orionfi in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 04-19-2013, 03:10 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