Solved

Please help:  Trying to have Excel return value from 2 different tables (skull scratcher).  [Highest Points]

Posted on 2016-08-22
6
27 Views
Last Modified: 2016-09-11
Hi Experts,

Trying to have Excel return a value in a table based on lookup from two separate tables.

    So, populate col J with "ABC IDs from Tab "ABC IDs"  
    I suspect a combination of columns F and I, but is it possible in vLookup..?
    I also heard of "Index + Match" (too complex)

Thankx
Yan
ExpExch-DIRF-Detail-Aug-22.xlsx
0
Comment
Question by:Ayansane
  • 3
  • 2
6 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 41766448
either you put a column into ABC IDs that computes the concatenated value of Track and Region, and use vlookup on that, or you may try sumifs:
http://www.excel-university.com/vlookup-on-two-or-more-criteria-columns/
0
 
LVL 142

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 250 total points (awarded by participants)
ID: 41766452
in concrete, the SUMIFS expression to put into I3 would be:
=SUMIFS('ABC IDs'!D$2:D$25;'ABC IDs'!B$2:B$25;Detail!H3;'ABC IDs'!C$2:C$25;Detail!E3)
and then just copy down
1
 
LVL 29

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 250 total points (awarded by participants)
ID: 41766482
The same SUMIFS formula can be written with the help of Index/Match like below.....

On Details Sheet
In I3
=INDEX('ABC IDs'!$D$3:$D$25,MATCH(E3&H3,INDEX('ABC IDs'!$C$3:$C$25&'ABC IDs'!$B$3:$B$25,0),0))

Open in new window

and copy down.

PS. Please set the Calculation Options to Automatic by going to the Formula Tab --> Calculation Options --> Choose Automatic so that when you copy down the formula, it gets updated automatically for each row accordingly.
2
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:Ayansane
ID: 41766566
Thanks much fellas...  It seems the Index Match did the trick... from Subodh Tiwari (Neeraj).  It was not a field to be aggregated..
0
 
LVL 29

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41766864
You're welcome Ayansane! Glad to help.
0
 
LVL 29

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41793218
Asker preferred the chosen answer in his Post ID: 41766566.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

772 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