Results 1 to 20 of 20

Need a formula/function to reverse order

Threaded View

  1. #1
    Registered User
    Join Date
    12-07-2017
    Location
    Ohio
    MS-Off Ver
    2007
    Posts
    22

    Need a formula/function to reverse order

    Been a while since I've been to this Forum, but back again for some more help.

    I need a way to "invert" rows that I am copying and pasting.

    Unfortunately, I am forced to copy HTML and paste into a .xls spreadsheet. The HTML appears to be in columns/rows, but there is no way to sort those rows on the website I am getting it from previous to copying, so with Ctrl-C, what I get is what I get. The problem is that the website shows it in reverse chronological order - newest at top to oldest at bottom - so when pasted to the spreadsheet it is opposite to what I want it. I want to reverse it to oldest at top to newest at bottom.

    When pasting as text to the spreadsheet, it separates into 7 rows. But, again, in the wrong chronological order.

    I've attached (I hope it attached) a simple example. I added the border lines to this example for clarity only, to separate the duplication of the 7 rows, they are not pasting in.

    And a secondary problem is that the number of rows pasted is variable. Those 7 rows can repeat themselves over and over anywhere from 12 times to 50 times from different copies from the website. But, I need the resultant information at the top of the sheet after reversal, and not having umpteen blank rows on top.

    In the example attached, Column A is what results when pasted as Text. Column C is what I need it to look like, with no blank rows at top, which would result from a simple static manipulating of the original rows in Column A (i.e. entering =A21 in cell C1).

    In other words, one time I copy and paste this HTML from the website, it will have 15 times the 7 rows in Column A of the example. The next time I paste it from the website, it might have 33 times the 7 rows. The third time, maybe 24 rows, etc. It's most always a variable number of rows. I cannot make anything static to reverse the rows in Column A to achieve Column C without blank rows at the top.

    Hope I've explained this well enough, and that the example is attached.

    Thanks for any help.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help To Reverse Lookup Formula Extraction Order
    By Lucko4Life in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-05-2019, 06:56 AM
  2. Replies: 7
    Last Post: 11-27-2018, 08:02 PM
  3. formula to reverse name order
    By rogerR in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-14-2017, 05:14 PM
  4. [SOLVED] Formula to reverse number order
    By amandakayelitte in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-24-2016, 11:02 AM
  5. [SOLVED] reverse the order of words with formula
    By Aquamore in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-15-2014, 10:22 PM
  6. [SOLVED] Reverse order using formula
    By ganeshkumar in forum Excel General
    Replies: 6
    Last Post: 11-26-2013, 02:38 PM
  7. [SOLVED] Vlookup formula in a reverse order loop
    By JMaug in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-01-2012, 10:48 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