two dimensional formulas

jsflbot

New Member
Joined
Sep 12, 2014
Messages
26
Hello!

I'm trying to do a two-dimensional formula by combining the VLOOKUP and MATCH functions. What I'm trying to do is to have the formula fetch from the raw data (another tab); look up the UPC code and then see if that upc has sales under a specific store. UPC's are listed vertically and stores are listed horizontally, so I'm trying to find a match.

RAW DATA spreadsheet/tab:
ABCDEF
1Item DescriptionUPCMiami Beach Store Plantation StoreCoral StoreJenkings Store
2Red Dragon005$4$10$65$10
3Blue Dragon004$5$4$9$50
4Yellow Dragon003$4$1$6$9

<tbody>
</tbody>


This is the formula that I'm using but its coming back as #N/A...

=VLOOKUP([@[Top 5 SKU''s]],'Raw Data'!A2:F4,MATCH([@Store],'Raw Data'!C1:F4)+1)

ABC
1StoreTop 5 SKU'SSales from Raw Data
2Miami Beachthere's a drop down menu here
=VLOOKUP([@[Top 5 SKU''S]],'Raw Data'!A2:F4,MATCH([@Store],'Raw Data'!C1:F4)+1)
3Plantationthere's a drop down menu here
4Coralthere's a drop down menu here

<tbody>
</tbody>


  • TOP 3 SKU's refers to a cell where I have a drop down menu listing the top 3 sku's, so I would select a sku and hopefully cell C2 would pull that data that I need from the Raw Data spreadsheet

Any help is appreciated, thanks!!
:)
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Close:

=VLOOKUP([@[Top 5 SKU''S]],'Raw Data'!$A$2:$F$4,MATCH([@Store]&" Store",'Raw Data'!A$1:F$1,FALSE),FALSE)
 
Upvote 0

Forum statistics

Threads
1,214,574
Messages
6,120,329
Members
448,956
Latest member
Adamsxl

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top