HLOOKUP from two fields

canadian86

Board Regular
Joined
Feb 6, 2011
Messages
53
Hi all,

I need a LOOKUP formula that looks up two fields and returns a result. (I cannot use a Pivot table there's a good reason for that, which is hard to explain.)

Here's the source file: Source File

I need to take data from the Raw Data worksheet and put it into the table in Sheet1. I've done one example, but as you can see -- I have to do a HLOOKUP for every single store. I want the formula to take into account the store name and return the right result.

Is that possible?
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
If you have Excel 2007+, use the SUMIFS formula.

If not, use a SUMPRODUCT formula. Do a web search on it, it's great for multi-criteria lookups.
 
Upvote 0
Try this :)

B15 is where data validation resides

And do not forget to confirm the formula in B18 ( to be copied cross) is an array and need to be confirmed with Ctrl Shift Enter

Excel Workbook
ABCDEFG
1Cable Name# of Cable 50# of Cable 100# of Cable 150# of Cable 50# of Cable 100# of Cable 150
2Cable TypeEasternEasternEasternWesternWesternWestern
3Store 1741000
4Store 2643000
5Store 3000432
6Store 4000231
7*******
8These are my assumption:******
9Required extract based on Store # and Geographical region to return quantity of cable grade.******
10*******
11Given this is so, then this the way I would aprroach******
12*******
13First Create a range for data validation to pick up stores,******
14*******
15Select Store--->Store 4*****
16*# of Cable 50# of Cable 100# of Cable 150# of Cable 50# of Cable 100# of Cable 150
17*EasternEasternEasternWesternWesternWestern
18*000231
Sheet1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,506
Messages
6,179,158
Members
452,892
Latest member
yadavagiri

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