vlookup

tintostu

New Member
Joined
Nov 11, 2005
Messages
40
I'm trying to establish if I can do the following.

Colunm A (Brand info)

Column B (ID Number)


Visited Outlets Stocking Previous Stocking At Stocking After Total Intro's

BRAND A 14B 52 70 50 52 0

BRAND B 14B 52 74 67 68 0

BRAND C 14B 52 57 55 55 0

The info is repeated as above for different ID numbers, therefore I want to use vlookup to identify 'brand a' and 'id number' then I would like it to return column C for example.

Can I do this if so how!!!

Thanks in advance

Stuart
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
I'm trying to establish if I can do the following.

Colunm A (Brand info)

Column B (ID Number)


Visited Outlets Stocking Previous Stocking At Stocking After Total Intro's

BRAND A 14B 52 70 50 52 0

BRAND B 14B 52 74 67 68 0

BRAND C 14B 52 57 55 55 0

The info is repeated as above for different ID numbers, therefore I want to use vlookup to identify 'brand a' and 'id number' then I would like it to return column C for example.

Can I do this if so how!!!

Thanks in advance

Stuart
What version of Excel are you using?
 
Upvote 0
Can you post an element of the work book, possible for lookup or index and match here
 
Upvote 0
Excel 2003

Thanks
Try one of these:

Book1
ABCDEFG
2BRAND A14B527050520
3BRAND B14B527467680
4BRAND C14B525755550
Sheet1


Book1
IJK
1BrandIDIn Stock
2Brand A14B52
Sheet1

If the value being returned is numeric and the combination of brand + ID is unique:

=SUMPRODUCT(--(A2:A4=I2),--(B2:B4=J2),C2:C4)

This array entered** version will work if the returned value is text or numeric:

=INDEX(C2:C4,MATCH(1,IF(A2:A4=I2,IF(B2:B4=J2,1)),0))

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,480
Members
452,915
Latest member
hannnahheileen

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