Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default how to Match and arrange data

Hi,
The data has been clubbed on posting the message.
It should be something liek this:

Original List:
A B
In the diamond In the diamond
In the diamond The City
In the diamond Trench
The City
The City
Trench


Result :

A B
In the diamond In the diamond
In the diamond
In the diamond
The City The City
The City
Trench Trench

Is it possible to arrange the data as shown in the Result list:

Iam wondering if this logic will work, but not sure to write the code and
would appreciate if someone could help

If B=A
B=B (remain the data in B)
Else
Lookup (lookup for that item)
Match (I think only match is fine; it looks for the item returns the
row number)
Next place it in that row, same column B
If no match found: Place it in column B, but last row of A where the item
list is over

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 to arrange data Amin Excel Discussion (Misc queries) 3 April 19th 10 09:48 AM
arrange data Suri New Users to Excel 2 November 24th 09 12:11 AM
How to Arrange Data for Chart Karen Charts and Charting in Excel 6 September 17th 08 06:32 PM
re-arrange cell data leonardoromero Excel Discussion (Misc queries) 3 February 21st 07 06:20 PM
how to split data into columns and arrange the resulting data jack Excel Discussion (Misc queries) 1 November 11th 05 11:20 PM


All times are GMT +1. The time now is 11:37 PM.

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"