Consulting

Results 1 to 3 of 3

Thread: Invert numbers

  1. #1

    Invert numbers

    I have a column of numbers. How do I invert the numbers?
    Example 1 2 3 4 5 5 4 3 2 1
    I can not find the invert command in excel
    Thanks for your help
    Max

  2. #2
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Well, without getting really fancy, you could use standard worksheet functions. If you had 1 in A1 and 2 in A2, etc, all the way down to 5 in A5, then in B1:B5 you could enter this formula (with B1 selected) ...

    =INDEX(A:A,ROW($A$5)-ROW()+1)
    Then confirm with Ctrl + Enter. This will get you what you are asking for. This can be adapted really for any cells.

  3. #3
    VBAX Regular Niko's Avatar
    Joined
    Apr 2005
    Posts
    8
    Location
    Hello Tenspeed39355

    Check out this link:

    http://www.ozgrid.com/forum/archive/...p/t-19105.html

    Regds...
    Niko

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •