vlookup question?

coltheplumb

Well-known Member
Joined
Nov 27, 2010
Messages
731
hi ho u bright lot :), ok here is my thing.. i want to add up 3 cells and include the answer into a vlookup ? can this be done :confused:, I dont want to put the total of the 3 cells into a seperate cell so that it would work on an ordinary vlookup. so what im after is say ...
=sum(a1+a2+a3),vlookup(??,c6:d12,2). ....is this possible ??
thanks for any help that comes forward:)
Colin X
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
hi ho u bright lot :), ok here is my thing.. i want to add up 3 cells and include the answer into a vlookup ? can this be done :confused:, I dont want to put the total of the 3 cells into a seperate cell so that it would work on an ordinary vlookup. so what im after is say ...
=sum(a1+a2+a3),vlookup(??,c6:d12,2). ....is this possible ??
thanks for any help that comes forward:)
Colin X

Are you after this...

=VLOOKUP(SUM(A1:A3),C6:D12,2,...)
 
Upvote 0
OK that works great, now ( and sorry to be a pain):( is there a way i can get it to show 0 if say 2or 1 of the three cells have nothing entered in them ? rather than it showing a N/A ?:confused:.
Cheers again
Colin X
 
Last edited:
Upvote 0
Complementing my previous post

With my last formula is still possible to have a #N/A result if the result of Sum(A1:A3) is not found in the range C6:C12

M.
 
Upvote 0
he he he :) sooooooooooo good :rofl: thanks ever so much , you lot r sooooo good at this stuff. really do appreciate it .
Colin X
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,850
Members
452,948
Latest member
UsmanAli786

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