Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
Solved

# Vlookup and a Pivot Table

Posted on 2013-05-31
Medium Priority
451 Views
Hello,

I need to perform a basic division but using two different pivot tables. Pivot Table A represents number of stores with different values. The number of stores will fluctuate on a weekly basis (increasing or reducing). Pivot table B has the exact the same format but number of stores stays the same. Please refer to the attached file. Thanks!
Vlookup---Pivot-Table.xlsx
0
[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
• 3
• 3

LVL 23

Expert Comment

ID: 39210961
You say in the attachment if B3 Matches J3... do you mean linearly?  I.e. do you really want if B3 matches any store in column J?

Also how are store numbers to be entered in column R?
0

Author Comment

ID: 39211006
you can ignore column R for now...the goal is to match store numbers in both pivot tables. Pivot Table B will always stay the same. If Pivot table B has store # 737 but Pivot table A does not then there should be no calculations. Pls refer to row #  394. Hope this helps. Thx!
0

LVL 23

Accepted Solution

NBVC earned 1600 total points
ID: 39211053
So perhaps in S3:

=IFERROR(C3/INDEX(K:K,MATCH(\$B3,\$J:\$J,0)),"")

copied across and down.
0

Author Comment

ID: 39211139
the formula gives me no values in return...can you pls attache the file so I can see what I am doing wrong? Thx!
0

LVL 23

Expert Comment

ID: 39211173
0

Author Closing Comment

ID: 39211196
Perfect! Thank you!
0

## Featured Post

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (â€śforceâ€ť) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;â€¦
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabilâ€¦
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to usâ€¦
###### Suggested Courses
Course of the Month8 days, left to enroll