Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6642731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:57:55+00:00 2026-05-25T23:57:55+00:00

Is it possible to lookup values in excel in the following method: Table 1

  • 0

Is it possible to lookup values in excel in the following method:

Table 1

ID    |     Code
-----------------
1     |      I
1     |      J
1     |      K
2     |      I
2     |      J
2     |      L

Table 2

ID    |    I      |    J    |    K    |    L    
----------------------------------------------
1     |   14.40   |  12.33  |  9.21   |  
2     |   13.99   |  11.28  |         |   32.33

The lookup would be to add the column values in table 2 next to the table ‘code’ in table 1. So table 1 would change to:

Table 1

ID    |  Code  |  Amount
-------------------------
1     |   I    |   14.40
1     |   J    |   12.33
1     |   K    |   9.21 
1     |   L    |   
2     |   I    |   13.99
2     |   J    |   11.28
2     |   K    |   
2     |   L    |   32.33

As a reminder, this is a project being run in Microsoft Excel 2003.

Update

I believe I can use a vlookup on the first column and given I know the placement of the code fields, I could go this route but the issue would be I cannot copy and paste this formula across an entire column because the order of which codes may appear can vary (and are not the same from ID to ID).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:57:56+00:00Added an answer on May 25, 2026 at 11:57 pm

    You can use Index and Match

    =INDEX($C$4:$E$6,MATCH(H3,$B$4:$B$6,0),MATCH(I3,$C$3:$E$3,0))
    

    Match finds the position of your ID and code in the Table 2 row and column headers. Index uses those to return the intersection of the row & column.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a lookup table in Access to provide the possible values for
I am using SSIS (SQL Server 2008) to lookup values from a table. I
I'm compiling a lookup table that needs to have 133,784,560 entries, with values ranging
I would like to lookup an enum from its string value (or possibly any
Is it possible to do a google map lookup using the google maps API
I have to create a lookup table for C function names (as keys) to
I have a generic editor in ASP.NET page for editing lookup values for different
Possible Duplicate: How to retrieve the values for the particular key from CFMutableDictionary In
Possible Duplicate: A simple program to CRUD node and node values of xml file
Is it possible to have an INSERT from a reference table if something exists

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.