Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default Macro to match values in an array.

=INDEX(D:D,MATCH(B2,E:E,0)

in A2. Copy down

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Wester" wrote in message
...
Hi,

Needing help with macro and which formula I should use. I am not even
sure
if I am using the right terminology?

I need a macro to match my column B value with another table (D:E) and
then
place the matching Fruit code (TBL_Code) into column A. So, when B=E put
D
into A.

A B C D E
CODE FRUIT QTY TBL_Code TBL_Fruit
Banana 4 APPL Apple
Apple 8 BANA Banana
Orange 3 CHRR Cherries
ORNG Orange

Any help would be appreciated.

Thanks

-Wesley



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Match function with duplicate values in an array Richard Excel Worksheet Functions 3 April 22nd 23 07:45 PM
Match formula to match values in multiple columns K[_2_] Excel Discussion (Misc queries) 2 April 22nd 10 10:22 AM
Match using array of column and row references to match with jkfin1 Excel Worksheet Functions 1 September 16th 08 04:39 PM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
Match as well as does not match array function Vikram Dhemare Excel Discussion (Misc queries) 7 April 25th 06 09:15 AM


All times are GMT +1. The time now is 03:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"