how to do this lookup?

bigdan

Well-known Member
Joined
Oct 5, 2009
Messages
840
Office Version
  1. 2013
Platform
  1. Windows
Please see table below.

I'm trying to figure out how to do a lookup for these values?

For example if I wanted to know how many CPU's were sold by Dell, the answer below is 11. But what would be the way to do that lookup? I know how to do vlookups and sumifs but can't figure this one out.

Thanks!


WalmartTargetDellAmazon
Toothbrush1234
Toothpaste5678
CPU9101112
Monitor13141516

<tbody>
</tbody>
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Maybe like this:

Excel Workbook
BCDEFGH
2WalmartTargetDellAmazonCPU
3Toothbrush1234Dell
4Toothpaste567811
5CPU9101112
6Monitor13141516
Sheet1
 
Upvote 0
Another option


Excel 2013/2016
ABCDEFGH
1WalmartTargetDellAmazonCPUDell
2Toothbrush123411
3Toothpaste5678
4CPU9101112
5Monitor13141516
Cover
Cell Formulas
RangeFormula
G2=INDEX(B2:E5,MATCH(G1,A2:A5,0),MATCH(H1,B1:E1,0))
 
Upvote 0
Glad we could help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,561
Messages
6,120,245
Members
448,952
Latest member
kjurney

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