Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2016-08-22
6
Medium Priority
?
36 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 143

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 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 1000 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 33

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 1000 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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 33

Expert Comment

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

Expert Comment

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

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

Quickbooks hosting can do wonders to your enterprise but considering the points elaborated in the article which will help you to better analyze the outcomes. So scan your business, its needs and then move to the new world of limitless benefits.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

972 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