#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jfeil
 
Posts: n/a
Default sorting cells


okay need help
have list of numbers(col 1) then another list of number (col 2) with
initials attached in col3

need a way to organize them so they match up

so
BEFO

col1 col2 col 3
23 45 cd
45 12 cd
98 75 ag
56 84 cj
75
84
12

AFTER:

col1 col2 col3

12 12 cd
23
45 45 cd
56
75 75 ag
84 84 cj
98


--
jfeil
------------------------------------------------------------------------
jfeil's Profile: http://www.excelforum.com/member.php...o&userid=31095
View this thread: http://www.excelforum.com/showthread...hreadid=507647

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dav
 
Posts: n/a
Default sorting cells


Assuming that the entries in column 1 are unique (no duplicates)

I would sort the data in column 1

Copy the data from column2 and 3 else where

I may then sort although it is not necessary

Then use a vlookup for column 2 it is enclosed in the if statement to
avoid #N/A being returend

=IF(ISNA(VLOOKUP(a2,$G$2:$H$100,1,0)),"",VLOOKUP(E 8,$G$2:$H$100,1,0))

Assuming the data to match is in cells g2:h100 adjust accordingly

Then for column 3

=IF(ISNA(VLOOKUP(a2,$G$2:$H$100,2,0)),"",VLOOKUP(E 8,$G$2:$H$100,2,0))

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=507647

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
sorting master sheet messes up cells in other sheets linked to it Kt Excel Worksheet Functions 0 October 30th 05 10:36 AM
identically size merged cells for sorting rows julieanne12 Excel Discussion (Misc queries) 1 August 24th 05 11:26 AM
sorting cells according to all cells in column A Jootje Excel Worksheet Functions 2 August 16th 05 01:40 PM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM


All times are GMT +1. The time now is 02:38 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"