Solved

Excel:  Copy a cell in a row after locating the column match from another cell

Posted on 2014-12-10
4
174 Views
Last Modified: 2014-12-11
I have 2 separate tables in a single excel spreadsheet tab.  I need to load a value into a row cell based on a value in another cell within the row.  The value needs to come from a second table within the spreadsheet tab.  Example:  say cell B10 is 123.  I need to fill B11 with the value that comes from a second table say C20=C30 through L20=L30.  Somewhere with in  C20-C30 contains 123. Once I find 123 within C20-C30 - say C23, I then need to take the value of D23 and load it into B11
0
Comment
Question by:DCCoolBreeze
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 51

Expert Comment

by:Rgonzo1971
ID: 40493408
Hi,

pls send dummy example

Regards
0
 
LVL 70

Accepted Solution

by:
Qlemo earned 500 total points
ID: 40493732
The VLookup function is what you want to use. In B11:
  = VLookup(B10, C20:L30, 2)
looks for value of B10 in C20:C30, and takes the second column's value, which is one of D20:D30.
0
 
LVL 1

Author Comment

by:DCCoolBreeze
ID: 40493733
So, I have two tables on the same spreadsheet tab.  i want to take the letter in each cell in table one, search table two for that letter, and then enter the value next to the letter in table one next to the letter.

      table 1      FIELD      VALUE
            F      6
            A      
            E      
            D      
            G      
            B      
                  
                  
                  
                  
                  
      TABLE 2            
            A      1
            B      2
            C      3
            D      4
            E      5
            F      6
            G      7
0
 
LVL 70

Expert Comment

by:Qlemo
ID: 40494134
Forgot to mention that Table 2 needs to be sorted, and if there is no exact match, the next value is returned. Use
  = VLookup(B10, C20:L30, 2, false)
if you only want to get exact matches, and else an error.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excel 2016 - Link to (or reference) sheet within another workbook 9 61
EXCEL file checking. 11 48
Excel - Lookup tarif based on weight and Zone 5 35
Vlookup Help 3 29
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question