Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]() Hi I am trying to change sheet 1 into sheet 2 form ie. sheet one is date 15/7 16/7 ... andrew E R john R E mary w R Jim R w etc to date E W R R 15/7 andrew mary john jim 16/7 john jim andrew mary etc I know what to do with the E and W's (as there are only one ), but problem with R's andrewm -- andrewm ------------------------------------------------------------------------ andrewm's Profile: http://www.excelforum.com/member.php...o&userid=23130 View this thread: http://www.excelforum.com/showthread...hreadid=387140 |
#2
![]() |
|||
|
|||
![]() Assumptions: Sheet1!A1:C5 contains your source data Sheet2!A2:A3 contains 15/7 and 16/7 Sheet2!B1:E1 contains E, W, R, and R Formula: Sheet2!B2, copied across and down: =INDEX(Sheet1!$A$2:$A$5,SMALL(IF(INDEX(Sheet1!$B$2 :$C$5,0,MATCH($A2,Sheet1!$B$1:$C$1,0))=B$1,ROW(She et1!$A$2:$A$5)-ROW(Sheet1!$A$2)+1),COUNTIF($B$1:B$1,B$1))) ...confirmed with CONTROL+SHIFT+ENTER, not just ENTER. Hope this helps! andrewm Wrote: Hi I am trying to change sheet 1 into sheet 2 form ie. sheet one is date 15/7 16/7 ... andrew E R john R E mary w R Jim R w etc to date E W R R 15/7 andrew mary john jim 16/7 john jim andrew mary etc I know what to do with the E and W's (as there are only one ), but problem with R's andrewm -- Domenic ------------------------------------------------------------------------ Domenic's Profile: http://www.excelforum.com/member.php...o&userid=10785 View this thread: http://www.excelforum.com/showthread...hreadid=387140 |
#3
![]() |
|||
|
|||
![]() Hi, Sorry sheet 1 contains all of - A B C 1 date 15/7 16/7 ... 2 andrew E R 3 john R E 4 mary w R 5 Jim R W etc sheet 2 to A B C D E W R R 15/7 andrew mary john jim 16/7 john jim andrew mary etc andrewm -- andrewm ------------------------------------------------------------------------ andrewm's Profile: http://www.excelforum.com/member.php...o&userid=23130 View this thread: http://www.excelforum.com/showthread...hreadid=387140 |
#4
![]() |
|||
|
|||
![]() I don't quite understand. Can you elaborate? andrewm Wrote: Hi, Sorry sheet 1 contains all of - A B C 1 date 15/7 16/7 ... 2 andrew E R 3 john R E 4 mary w R 5 Jim R W etc sheet 2 to A B C D E W R R 15/7 andrew mary john jim 16/7 john jim andrew mary etc andrewm -- Domenic ------------------------------------------------------------------------ Domenic's Profile: http://www.excelforum.com/member.php...o&userid=10785 View this thread: http://www.excelforum.com/showthread...hreadid=387140 |
#5
![]() |
|||
|
|||
![]() Hi, Sorry sheet 1 contains all of - column a column b column c column d date 15/7 16/7 ... andrew E R john R E mary W R jim R W it is a roster for 4 people showing what they are doing in each day either E,R, or W I would like to rearrange it to sheet 2 showing column A column B column C column D column E W R R l 15/7 andrew mary john jim 16/7 john jim andrew mary etc andrewm -- andrewm ------------------------------------------------------------------------ andrewm's Profile: http://www.excelforum.com/member.php...o&userid=23130 View this thread: http://www.excelforum.com/showthread...hreadid=387140 |
#6
![]() |
|||
|
|||
![]() My solution will provide you with the results you're looking for. Have you tried it? andrewm Wrote: Hi, Sorry sheet 1 contains all of - column a column b column c column d date 15/7 16/7 ... andrew E R john R E mary W R jim R W it is a roster for 4 people showing what they are doing in each day either E,R, or W I would like to rearrange it to sheet 2 showing column A column B column C column D column E W R R l 15/7 andrew mary john jim 16/7 john jim andrew mary etc andrewm -- Domenic ------------------------------------------------------------------------ Domenic's Profile: http://www.excelforum.com/member.php...o&userid=10785 View this thread: http://www.excelforum.com/showthread...hreadid=387140 |
#7
![]() |
|||
|
|||
![]() Hi, will do thanks andrewm -- andrewm ------------------------------------------------------------------------ andrewm's Profile: http://www.excelforum.com/member.php...o&userid=23130 View this thread: http://www.excelforum.com/showthread...hreadid=387140 |
#8
![]() |
|||
|
|||
![]() Hi, Dominec and others I have tried the array formula (copied and used control shift enter) did not work what am i doing wrong (could you attach an example) many thanks andrewm -- andrewm ------------------------------------------------------------------------ andrewm's Profile: http://www.excelforum.com/member.php...o&userid=23130 View this thread: http://www.excelforum.com/showthread...hreadid=387140 |
#9
![]() |
|||
|
|||
![]() Since I don't have a utility to zip files, I won't be able to attach a sample. But, if you'd like, I can email you one. If you're interested, send me your email address via Private Message. andrewm Wrote: Hi, Dominec and others I have tried the array formula (copied and used control shift enter) did not work what am i doing wrong (could you attach an example) many thanks andrewm -- Domenic ------------------------------------------------------------------------ Domenic's Profile: http://www.excelforum.com/member.php...o&userid=10785 View this thread: http://www.excelforum.com/showthread...hreadid=387140 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Index and Match issues | Excel Worksheet Functions | |||
Match, Index, Vlookup, Large....Help Please | Excel Worksheet Functions | |||
Match & Index | Excel Worksheet Functions | |||
Find a match that;s not exact | Excel Worksheet Functions | |||
Vlookup, Index & Match | Excel Worksheet Functions |