+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : copy number from one to many

Hybrid View

  1. #1
    Registered User
    Join Date
    12-16-2011
    Location
    Des Moines, IA
    MS-Off Ver
    Excel 2007
    Posts
    1

    copy number from one to many

    Hi,

    I have an excel workbook with 2 worksheets. The setup of 'Sheet1':

    DAY CODE JUSTSOMEDATA
    15 A
    15 A
    15 B
    16 B
    16 C
    16 A
    17 B
    17 B
    17 A
    18 B
    18 B
    18 A

    The setup of 'Sheet2':

    MONTH DAY CODE
    JUNE 15 2
    JUNE 16 2
    JUNE 17 1
    JUNE 18 2

    I have multiple workbooks, about 120,000+ rows for the combined total of 'Sheet1' among all workbooks. So I'm looking for an efficient way to copy over the CODE column number in 'Sheet2' that corresponds to the DAY column in 'Sheet1'. The day for 2 workbooks begins at 15 and the remaining workbooks begins at 0. Help me excelforum, you're my only hope.

  2. #2
    Registered User
    Join Date
    05-13-2011
    Location
    Birmingham
    MS-Off Ver
    Excel 2007
    Posts
    78

    Re: copy number from one to many

    Have you tried vlookup in sheet1 like:
    vlookup('day',sheet2!day1:code4,2,false)

    nlm.

+ 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