+ Reply to Thread
Results 1 to 4 of 4

PLEASE HELP!!! Moving Data from one column to another while leaving other data behind.

  1. #1
    Registered User
    Join Date
    04-10-2019
    Location
    Grand Rapids, MI
    MS-Off Ver
    2016
    Posts
    2

    PLEASE HELP!!! Moving Data from one column to another while leaving other data behind.

    I have a sheet of data and one column contains either alphabetical data or a date:

    Algoma
    02/05/2019
    01/17/2019
    Cedar Springs
    05/18/2019
    03/10/2019
    Haring Township
    05/10/2019
    03/10/2019

    I need to pull all the dates and move them into another column while leaving anything alphabetical behind.
    THIS IS A MONTHLY TASK THAT DRIVES ME CRAZY! THANK YOU.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: PLEASE HELP!!! Moving Data from one column to another while leaving other data behind.

    No cell references given, just a list of names and dates.
    So I must assume certain things.

    The list is in column A, adjust this formula as necessary

    =IFERROR(INDEX($A$1:$A$1000,AGGREGATE(15,6,ROW($A$1:$A$1000)/((ISNUMBER($A$1:$A$1000))),ROWS(A$1:A1))-(1-1),1),"")
    copy down for each row you have in column A

    This is a formula so if you want to copy the output elsewhere you will need to copy and paste VALUES
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    04-10-2019
    Location
    Grand Rapids, MI
    MS-Off Ver
    2016
    Posts
    2

    Re: PLEASE HELP!!! Moving Data from one column to another while leaving other data behind.

    I just tried this and it DID RETURN that date in col B....But row where there are words and not dates it returned a date for those as well. If there is a word I want that to stay in Col A and if there is a date I want that moved to col B. So Col A will only have the names of the cities and the dates will only be in Col B. I tied to attach my file but the attachment button doesnt seem to work.

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: PLEASE HELP!!! Moving Data from one column to another while leaving other data behind.

    Oh I thought you wanted a list of dates withe the cities removed, ie a shorter list comprising only of dates.

    You cant do what you want with formulas, youd have to use VBA.
    Cells can contain either a value or a formula, not both.
    You have values in column A so they must stay the same.

    You could use a Helper column though like this.

    in B1
    =IF(ISTEXT(A1),A1,"")
    in C1
    =IF(ISNUMBER(A1),A1,"")

    and copy down columns B and C.

    This will produce the output you want in column B and C but column A will stay the same.

    The only other way to go is use VBA to move the numbers into column B but I'm not an expert on VBA.

    FYI
    Use the Go Advanced option at the bottom of the page then scroll down to Manage Attachments as the "paperclip" method does not work on this forum.

+ 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] moving mismatched data from column to corresponding row with target data in same column
    By Didomenicon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-17-2014, 01:16 AM
  2. Moving data from a column to rows based on another calls data
    By Emmylou in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-13-2014, 07:42 AM
  3. [SOLVED] Moving Data Down one, Left one based on data in same row, different column
    By carrie.cllek in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-27-2013, 06:03 PM
  4. Moving Data Down one, Left one based on data in same row, different column
    By carrie.cllek in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-27-2013, 05:03 PM
  5. Moving data based on column data
    By tailz in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-22-2013, 11:40 AM
  6. [SOLVED] moving data from a column in one sheet to a row in another with gaps between data
    By chestersneakers7 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-13-2013, 02:01 PM
  7. Replies: 5
    Last Post: 02-07-2012, 04:55 PM

Tags for this Thread

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