Vlookup to return values only

andoano

New Member
Joined
Nov 10, 2012
Messages
9
Hello,
Is it possible to create a vlookup formula that only returns the values? Or, do I have to copy the result and paste as values?:confused:

Here is the current formula I'm using.
=IFERROR(VLOOKUP(G222,B:C,2,FALSE),0)

I hope my question makes sense.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Code:
that only returns the values?

if you mean if Vlookup also can return a text, the answer is yes.
 
Upvote 0
I'm wanting the formula to essentially stop working after it has returned the value. So if my vlookup formula returns the value of "6", then I want that cell to only show "6" and no longer be a functioning formula.
 
Upvote 0
That would require VBA code that would replace the formula with the hard-coded value.
We would need something to "trigger" this macro to run, presumably a value being entered/changed in cell G222.
Is that value entered manually?
Also, what cell is this VLOOKUP formula found in?
 
Upvote 0

Forum statistics

Threads
1,214,798
Messages
6,121,630
Members
449,041
Latest member
Postman24

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