LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 557
Default Match Values

Hi all, I have codes in column A like (see below)
A ……….col
400601
401803
401820

and then I have codes and their detail in column E and F
E F……col
400601 Stationery
400601 Stationery
400601 Systems Desk Diary Refill
400601 Sellotape. Wrong Size.
401803 Sellotape
401803 Flip chart pads
401820 Milk pots 530897
401820 Laser paper 530897

I want a macro on a button which should produce result in column B
something like this (see below)
A B……..col
400601 Stationery , Stationery , Systems Desk Diary Refill ,
Sellotape. Wrong Size.
401803 Sellotape , Flip chart pads
401820 Milk pots 530897 , Laser paper 530897

basically in other words what I want macro to do is lets say if I have
code "400601" (as shown above) in column A then macro should check
that code in column E and if it match then check what is the detail in
column F next to that matched code in column E and then put that
detail in column B next to code "400601". If matched codes in column
E are more than one then macro should joint all details which are
coming in column F against that code and put comma between each detail
and then put that in column B. I hop i was able to explain my
question. Please can any friend can help.
 
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
Match formula to match values in multiple columns K[_2_] Excel Discussion (Misc queries) 2 April 22nd 10 10:22 AM
Match several values in €˜Summary Sheet to several values in €˜Mast ryguy7272 Excel Programming 4 December 8th 08 08:31 PM
how can we get unique values in match function for same match key. Xcel[_2_] Excel Worksheet Functions 11 December 7th 07 08:13 PM
Match Values in Rows with Partial Values in Columns ryguy7272 Excel Worksheet Functions 3 August 8th 07 05:14 PM
How do i compare values from two sheet and copy & paste if values match? rozb Excel Programming 0 March 5th 04 12:06 AM


All times are GMT +1. The time now is 10:52 AM.

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

About Us

"It's about Microsoft Excel"