Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-02-2013, 01:17 PM
taimysho0 taimysho0 is offline Macros to Re Arrange these Cells to Look like Sheet 2 Windows 7 64bit Macros to Re Arrange these Cells to Look like Sheet 2 Office 2010 64bit
Novice
Macros to Re Arrange these Cells to Look like Sheet 2
 
Join Date: Jan 2013
Posts: 1
taimysho0 is on a distinguished road
Default Macros to Re Arrange these Cells to Look like Sheet 2

Hello, im new to macros and was wondering if its possible to re arrange sheet 1 to look like sheet 2 in the file attached. So something like:



If any text string in column A looks like "chain" then put this into cell 1 Column A<--so running something like this should put "Chain: 12345678" into the first cell in column A since thats the only text value on the excel doc with the word "chain in it" (See sheet 2 for reference".
Attached Files
File Type: xlsx goodsample.xlsx (14.5 KB, 12 views)
Reply With Quote
  #2  
Old 01-25-2014, 10:54 AM
excelledsoftware excelledsoftware is offline Macros to Re Arrange these Cells to Look like Sheet 2 Windows 7 64bit Macros to Re Arrange these Cells to Look like Sheet 2 Office 2003
IT Specialist
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default

Im surprised this hasnt been answered yet. Yes this is possible to do. The only clarification needed is when you say the word chain do you mean literally the word chain or a text string you can change as needed. This would be completed with a simple loop however it appears that your data has been copied and pasted from somewhere else hence all of the white space between fields ( This can be removed using the function "trim") so with that we would also need to know if the data you paste in will keep getting bigger or if it is just this set of data so we know where to cut the loop off.

Again yes this is possible
Reply With Quote
  #3  
Old 01-25-2014, 11:05 AM
excelledsoftware excelledsoftware is offline Macros to Re Arrange these Cells to Look like Sheet 2 Windows 7 64bit Macros to Re Arrange these Cells to Look like Sheet 2 Office 2003
IT Specialist
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default

I am sorry for re-activating an old thread the 2013 didnt quite register this morning. Sorry
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Re-Arrange Generated Data flds Excel 4 06-29-2012 08:17 AM
Can't arrange SmartArt graphics bythecshore PowerPoint 0 05-15-2012 07:17 AM
Macros to Re Arrange these Cells to Look like Sheet 2 How to merge two cells from sheet1 to one cell in sheet2 in next sheet KIM SOLIS Excel 6 10-30-2011 11:14 PM
Arrange movie to the rear bobsly PowerPoint 0 02-14-2011 06:02 AM
copy cell from sheet 2 to sheet 3 macro slipperyjim Excel Programming 1 02-18-2010 01:31 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:36 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft