Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 83
Default Repeating data when data matches

When the data column C matches the data in column A, I need the data
in columns C and D to be repeated for all matching rows.

For example:

This is my data:

a b c d
009701449-2 071712 009701449-2 071712
009701449-2 071712 009701452-4 008710
009701449-2 071712 009701455-7 008710
009701449-2 071712 009701460-1 008710
009701449-2 071712 009701465-6 058617
009701449-2 071712 009701467-8 059602
009701452-4 008710 009701468-9 059602
009701452-4 008710
009701455-7 008710
009701455-7 008710
009701460-1 008110
009701465-6 058617
009701465-6 058617
009701465-6 058617
009701465-6 058617
009701465-6 058617
009701465-6 058617
009701465-6 058617
009701465-6 058617
009701465-6 058617
009701465-6 058617
009701465-6 058617
009701467-8 059602
009701467-8 059602
009701467-8 059602
009701467-8 059602
009701467-8 059602
009701467-8 059602
009701467-8 059602
009701467-8 059602
009701467-8 059602
009701468-9 059002


This is the result I need:

a b c d
009701449-2 071712 009701449-2 071712
009701449-2 071712 009701449-2 071712
009701449-2 071712 009701449-2 071712
009701449-2 071712 009701449-2 071712
009701449-2 071712 009701449-2 071712
009701449-2 071712 009701449-2 071712
009701452-4 071712 009701452-4 008710
009701452-4 071712 009701452-4 008710
009701455-7 071712 009701455-7 008710
009701455-7 071712 009701455-7 008710
009701460-1 071712 009701460-1 008710
009701465-6 071712 009701465-6 058617
009701465-6 071712 009701465-6 058617
009701465-6 071712 009701465-6 058617
009701465-6 071712 009701465-6 058617
009701465-6 071712 009701465-6 058617
009701465-6 071712 009701465-6 058617
009701465-6 071712 009701465-6 058617
009701465-6 071712 009701465-6 058617
009701465-6 071712 009701465-6 058617
009701465-6 071712 009701465-6 058617
009701465-6 071712 009701465-6 058617
009701467-8 071712 009701467-8 059602
009701467-8 071712 009701467-8 059602
009701467-8 071712 009701467-8 059602
009701467-8 071712 009701467-8 059602
009701467-8 071712 009701467-8 059602
009701467-8 071712 009701467-8 059602
009701467-8 071712 009701467-8 059602
009701467-8 071712 009701467-8 059602
009701467-8 071712 009701467-8 059602
009701468-9 071712 009701468-9 059602

How can I do this?
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
how do i see which data matches between two worksheets? Judy Excel Worksheet Functions 1 February 25th 10 06:43 PM
copy if data matches [email protected] Excel Worksheet Functions 3 April 17th 08 11:47 PM
Data Matches Stacey Excel Discussion (Misc queries) 1 February 20th 07 02:24 PM
When data in TextBox2 matches data in TextBox1 Maddoktor Excel Programming 3 December 21st 05 05:52 AM
Vlookup 2 data matches? Nav Excel Discussion (Misc queries) 5 November 27th 05 04:18 PM


All times are GMT +1. The time now is 02:49 PM.

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"