+ Reply to Thread
Results 1 to 3 of 3

Move one record in a range to the top

  1. #1
    Forum Contributor
    Join Date
    01-18-2005
    Posts
    238

    Move one record in a range to the top

    I have 10 rows of data


    Column A - ID
    Column B - First Name
    Column C - Last Name


    Is there a way to move the row 3 to row to row 1 and

    keep all other rows in the same order



    for example using id's

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10

    move id 3 to first row would give me something like the following
    3
    1
    2
    4
    5
    6
    7
    8
    9
    10



    thanks for any help


    Josh

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454
    This should do it for ya.

    Please Login or Register  to view this content.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Forum Contributor
    Join Date
    01-18-2005
    Posts
    238

    Thank you - 1 more question

    That worked great, Thanks.


    Is there anyway to go one step further with an input box asking you what id you are looking for.

    then it loops through the rows, if the id is found, it will give you the row number, if not, it will let you know, that id is not in those 10 rows.


    thank you

    Josh

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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