Hello, I need a lookup macro

cyote101

Active Member
Joined
Dec 11, 2004
Messages
315
Hello all

I was wondering if some one has a goof lokup macro ,


criteria, works like the lookup funtion but is not a formula in a cell. for some reason I can not use the lookup funtion.

here is a model of the macro in formula syntax =Lookup("cell A",search in colum "G", retern value in same row in colum "e")

thanks
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Have you tried using VLOOKUP?

It doesn't quite work in the way you describe. The syntax is:

VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)

If you have a block of data the value that your looking up has to be in the first column of your data and you can then return the value in any column of the array by specifying the column index. 1 is the first column, 2 the second etc.

Probably haven't explained very well but the function wizard will take you through it quite well if you're having problems.

Laters. (y)
 
Upvote 0

Forum statistics

Threads
1,214,922
Messages
6,122,281
Members
449,075
Latest member
staticfluids

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