Vlookup

Hannahlou

New Member
Joined
Nov 18, 2011
Messages
2
Hey guys,

Im really struggling withn the Vlookup formular.

I want to find values with-in a list of data, for example

blue £100
green £50
red £20
pink £18
blue £50
pink £75

so if i want to find the total value of Pink, so i created a vlookup table

1 = Pink
2 = Blue
3 = Green
4 = red

i then listed next to the colours the correct numbers

2 blue 100
3 green 50
4 red 20
1 pink 18
2 blue 50
1 pink 75

then i wanted to make for example
1 pink =£93
2 Blue =£150
3 Green =£50
4 Red =£20


I cant get the vlookup to search though the list an pull the totals out.

can anybody help. or sugest another way???

Thanks xx
 

Some videos you may like

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Try like this

Excel Workbook
ABCD
1blue10093
2green50
3red20
4pink18
5blue50
6pink75
Sheet4
 

Watch MrExcel Video

Forum statistics

Threads
1,122,962
Messages
5,599,065
Members
414,281
Latest member
Engjamal2021

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
Top