+ Reply to Thread
Results 1 to 3 of 3

Move Cell Data based on column data

  1. #1
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Move Cell Data based on column data

    Hi All,

    Here's what I wish to to do with this spreadsheet which has over 25,000 rows of data.

    Sheet1 has the sample data.
    If column A has the callsign repeated over a few rows, then look over to column E and find "Nighttime" if it's present.
    I want to then move on the same row that has "Nighttime" the data under column "Daytime" up one row to sit under "Night Power" and then delete the whole row which has "Nighttime" in column E.

    So in my example column A Call KRXA is repeated twice. Look on the second row and fild "Nighttime" under column E, I then want the value 0.5 under column L moved up one row and across one column to the right under Night Power, then delete the second row.

    I hope this makes sense, sheet 2 has an example of what I want.

    Thanks.
    Attached Files Attached Files
    Last edited by bigroo1958; 09-05-2010 at 11:55 PM.
    ==========
    Bigroo1958
    Austin, Texas
    ==========

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Move Cell Data based on column data

    Assuming as your sample sheet indicates there are always 2 rows of data for each call sign entry, perhaps this will work...trying simple first.

    Please Login or Register  to view this content.

    If your data includes multiple instances of the same call sign, this won't work. A fuller example would be helpful.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Re: Move Cell Data based on column data

    JBeaucaire,

    Thanks for the quick response.
    Your code did exactly what I wanted, I appreciate the help and assistance!!

    Thanks

+ 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