+ Reply to Thread
Results 1 to 4 of 4

Possible VBA to remove text from cell below and move it to row above.

  1. #1
    Registered User
    Join Date
    02-10-2023
    Location
    Newcastle UK
    MS-Off Ver
    Excel 365
    Posts
    20

    Possible VBA to remove text from cell below and move it to row above.

    Hi

    Sorry if I dont explain it properly.

    I copy and paste football statistics. I have attached a file to show how they paste. I would like it so that Both teams from each individual game have all the stats on the same row. At the moment the home team is on row 3 and the away team on row 3 etc.

    The attached file shows in red which cells I want moved and the yellow show where I want them moved to, based on whether a condition is met. the condition is if the row above has a time in column B.

    if any more information is required please let me know.

    thanks in advance
    Gemma
    Attached Files Attached Files
    Last edited by gemmac; 03-08-2024 at 12:46 PM.

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: Possible VBA to remove text from cell below and move it to row above.

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    02-10-2023
    Location
    Newcastle UK
    MS-Off Ver
    Excel 365
    Posts
    20

    Re: Possible VBA to remove text from cell below and move it to row above.

    thats exactly what i was looking for, thanks so much, this will save me a lot of time

    have a great day

    Gemma

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: Possible VBA to remove text from cell below and move it to row above.

    You are very welcome.

+ 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] Formula to Remove, or not remove, certain text from a cell.
    By Jake_San in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-03-2022, 12:54 PM
  2. [SOLVED] From Cell A2, remove text that is found in Cell B2, and display any remaining text in C2
    By lespaulfan#1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-13-2019, 12:42 PM
  3. Replies: 4
    Last Post: 12-30-2015, 11:40 PM
  4. [SOLVED] Remove specific text rows and move to a separate sheet in a workbook
    By leebird in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-27-2015, 07:27 AM
  5. Move text from cell to cell if matches criteria, and edit text
    By joematzzie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-13-2015, 07:58 AM
  6. Formula to move data to cell and remove duplicates
    By bbqgalore in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-16-2014, 04:30 PM
  7. Move a Row to another Worksheet based on cell value (and remove row later)
    By spatel783 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2012, 01:51 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