+ Reply to Thread
Results 1 to 3 of 3

Look for 4 digit number in col. A then move all content in that row to end of previous row

  1. #1
    Registered User
    Join Date
    02-17-2014
    Location
    Florida
    MS-Off Ver
    Excel 2016
    Posts
    62

    Look for 4 digit number in col. A then move all content in that row to end of previous row

    Hello experts.

    I'm trying to search through a range of data to find rows that contain a 4 digit number (ID number of equip.) then take entire row and move to end of previous row. When Excel takes the data from the PDF it places data in one row and then the remainder on a second row. I need it to all be in 1 row.

    So, if I have the following:

    6/30/2015 ASHCROFT 0-160 951 NA
    6051 PRESSURE GAUGE NA MIA 08/12/15 12
    6/30/2015 FLUKE 115 300 NA
    6220 DIGITAL MULTIMETER 27430237 MIA 08/12/15 12



    I need it to be like this:

    6/30/2015 ASHCROFT 0-160 951 NA 6051 PRESSURE GAUGE NA MIA 08/12/15 12
    6/30/2015 FLUKE 115 300 NA 6220 DIGITAL MULTIMETER 27430237 MIA 08/12/15 12




    There are several record in the spreadsheet (Demo attached). Ideally, I'd like the code to be contained in a button that the user could execute each month. The search identifier will always be a 4 digit number.

    Thank you for your time.
    Jay

    Demo.xlsx

  2. #2
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Look for 4 digit number in col. A then move all content in that row to end of previous

    Please Login or Register  to view this content.
    I'm interested in starting a career working with VBA, if anyone knows of any opportunities!

  3. #3
    Registered User
    Join Date
    02-17-2014
    Location
    Florida
    MS-Off Ver
    Excel 2016
    Posts
    62

    Re: Look for 4 digit number in col. A then move all content in that row to end of previous

    Thank you so much walruseggman! Works great. Appreciate the fast response.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Color a single digit in a mult-digit number cell
    By Phyllis in forum Excel General
    Replies: 8
    Last Post: 09-30-2022, 04:22 PM
  2. Auto-move previous content from cell a to cell b by changing cell a
    By Matt81a in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-21-2013, 03:32 PM
  3. [SOLVED] Formatting to make 2 digit number show up at 3 digit number.
    By cadamhill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-18-2012, 06:58 PM
  4. Replies: 4
    Last Post: 09-12-2011, 12:00 PM
  5. Replies: 1
    Last Post: 09-08-2011, 03:06 PM
  6. Replies: 6
    Last Post: 05-10-2011, 11:30 AM
  7. Replies: 2
    Last Post: 06-17-2010, 08:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1