+ Reply to Thread
Results 1 to 5 of 5

Finding a specific text string and moving to a specific row ?

  1. #1
    Forum Contributor
    Join Date
    07-07-2019
    Location
    london
    MS-Off Ver
    2013
    Posts
    105

    Finding a specific text string and moving to a specific row ?

    Hi Excel Forum, I Would very much appreciate your help with something !!

    I have a power Query Table that i have been working on which finally ,and very gratefully, i have transposed a csv file into something i can work with in Excel!!

    The Question i have is this.
    In ROWS 7 TO 10 i have my most important data being VOL % label (row7), VOL % (row8), VOL Label (row9), and VOL (row10).

    BUT, if you see COLUMN 5 , 17, ETC i have highlighted in yellow some values being volume % 11 {S} (inCOL5:39) and 0 in the row below and then the two more rows below that. These should be in thows 7 to 10 rows i have mentioned above.

    i would want these cells that i have highlighted in yellow TO ALWAYS be in ROWS 7,8,9 and 10.

    (note, the reason they are down the bottom in col5 is because the source of all this data is a CSV file, now i have tried very hard to receive this CSV file in a way that gives me the specific values results in the SAME ORDER every time, ALAS it doesn't appear to be able to be changed, the best i can have is that at least the column names will always be the same !!, and so the CSV source is what it is).

    But i would be very grateful if someone could tell me how to get those highlighted yellow cells to always appear in rows 7 to 10. Please note this data will constantly change so sometimes the cells i want moved (being "volume % 11 {S}" and the actual score of 0 that appears below it and the "volume 11 {S}" and the score of 0 below that) - they will always change so could be in ANY column and in ANY row, but ill always need them to be in row 7,8,9 and 10. but being in the same column as they will be in , so the column doesnt need changing just the row, if that makes sence.

    Preferably i would like to achieve this in power query editor (just becuase i am somewhat familiar and can see the steps) however whatever way or advice on how i can achieve this would be thoroughly appreciated !!!!.

    My excel file and the source data csv are both attached.

    Realy hope you can find a solution.

    If its not possible, the perhaps could i start again with the whole CSV import into excel and do something BEFORE i use the TRANSPOSE columns to rows step, but whenever i try this i can only seem to delete the whole row.

    Many Many thanks, Steve.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    07-07-2019
    Location
    london
    MS-Off Ver
    2013
    Posts
    105

    Re: Finding a specific text string and moving to a specific row ?

    Hi, quick update. From the cells that i would want moved volume % 11 {S} will always be named that, BUT the actual value beneath it could be any number from 0 to 100, likewise then following row "volume 11 {S}" will always be named that but the value beneath it could be any from 0 to 10,000. The destination for each of the cells are to go into row 7,8,9 and 10 respectively. Please do send me any questions if i have not been clear. I think the solution to this will be very interesting as it will give me an idea of how to move other data as well.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,791

    Re: Finding a specific text string and moving to a specific row ?

    You can't MOVE data with a formula - shall I move this to the VBA section for you?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor
    Join Date
    07-07-2019
    Location
    london
    MS-Off Ver
    2013
    Posts
    105

    Re: Finding a specific text string and moving to a specific row ?

    Ok yes, i wasnt sure of what group becuase not sure of how the solution will be. i was hoping there are some power query steps to solve it. however if VBA is best then great !!, beggars cant be choosers !!, thinking about it i suppose VBA may form a solution but im not sure so whatever group you think is best. thanks

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,791

    Re: Finding a specific text string and moving to a specific row ?

    Thread moved to the VBA section. You cannot MOVE data with PowerQuery, either.

+ 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. Taking rows containing specific text and moving to specific tab.
    By X82 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-11-2016, 11:53 AM
  2. Replies: 24
    Last Post: 11-10-2015, 07:27 PM
  3. [SOLVED] Finding a specific text string throughout an entire column and if there return true/false
    By myfivemonkeys in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-06-2015, 07:31 PM
  4. [SOLVED] Finding Specific Text within a String of Text
    By mphillips in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-13-2014, 08:31 AM
  5. Finding specific text in string - Part II
    By Hardip in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-08-2006, 09:25 AM
  6. Finding specific text in a string
    By Hardip in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-08-2006, 08:20 AM
  7. Finding Specific Text in a Text String
    By Peter Gundrum in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-10-2005, 03:06 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