+ Reply to Thread
Results 1 to 13 of 13

Help with inverting cell values

  1. #1
    Registered User
    Join Date
    12-02-2021
    Location
    Kitchener, ON
    MS-Off Ver
    2021
    Posts
    11

    Question Help with inverting cell values

    hello,

    Can someone please help me with the following; I need a formula to do this for alot of data in my sheet

    I have values under A1,B1,C1.

    A1 B1 C1
    Sam Tam Ram

    I want to invert the result

    A2 B2 C2
    Ram Tam Sam

    Is this possible please?

    Thanks
    Sam

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,108

    Re: Help with inverting cell values

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,558

    Re: Help with inverting cell values

    Or maybe:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    (The old fashioned way)
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Help with inverting cell values

    Or
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by HansDouwe; 11-19-2022 at 07:36 PM.

  5. #5
    Registered User
    Join Date
    12-02-2021
    Location
    Kitchener, ON
    MS-Off Ver
    2021
    Posts
    11

    Re: Help with inverting cell values

    Thank you so much.. this is good for what I was trying to do but it seems my rows never have 3 cell values only populated.

    Here is an example:

    Row 1:
    A1 B1 C1
    Sam Tam Ram

    Row 2:
    A1 B1 C1 D1
    Sam Tam Ram Bam

    What I am trying to say is, its not always A1, B1 and C1. this may have less or more than 3 cell values in a single row.

    Is there a modification possible to your formula please?

    Thank you,
    Sam

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,108

    Re: Help with inverting cell values

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    12-02-2021
    Location
    Kitchener, ON
    MS-Off Ver
    2021
    Posts
    11

    Re: Help with inverting cell values

    Quote Originally Posted by Fluff13 View Post
    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I think I am doing something wrong here. I am getting no return back from your formula, a "0".

    A B C D
    Name 1 Name 2 Name 3 Name 4 Your Formula Return
    Ram Tam Sam 0 =LET(f,FILTER(A2:G2,A2:G2<>""),c,COLUMNS(f),INDEX(f,SEQUENCE(,c,c,-1)))
    Ram Tam Sam Bam 0 =LET(f,FILTER(A3:G3,A3:G3<>""),c,COLUMNS(f),INDEX(f,SEQUENCE(,c,c,-1)))


    Thanks
    Sam

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,108

    Re: Help with inverting cell values

    In that case can you upload a workbook that shows the problem.

  9. #9
    Registered User
    Join Date
    12-02-2021
    Location
    Kitchener, ON
    MS-Off Ver
    2021
    Posts
    11

    Re: Help with inverting cell values

    excelforum.xlsx

    Here you go, thanks again.

  10. #10
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,108

    Re: Help with inverting cell values

    Thanks for that, the problem is you have a circular reference. Either change the formula to look at A2:F2, or move the formula to column H

  11. #11
    Registered User
    Join Date
    12-02-2021
    Location
    Kitchener, ON
    MS-Off Ver
    2021
    Posts
    11

    Re: Help with inverting cell values

    Quote Originally Posted by Fluff13 View Post
    Thanks for that, the problem is you have a circular reference. Either change the formula to look at A2:F2, or move the formula to column H
    All good now. Thank yo very much.

  12. #12
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Help with inverting cell values

    Please try in J1 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  13. #13
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,108

    Re: Help with inverting cell values

    Glad to help & thanks for the feedback

+ 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. Automated: Inverting a select few values from many
    By SeaPh03nix in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-26-2022, 09:09 AM
  2. Inverting negative values in graph
    By dragosalaamii in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2017, 09:54 PM
  3. [SOLVED] Boolean values inverting when passing to a macro in a separate WB
    By Montador in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-02-2017, 02:48 PM
  4. Inverting a Date
    By nicolaforni in forum Excel General
    Replies: 3
    Last Post: 04-12-2012, 01:34 PM
  5. Inverting a column
    By elyse in forum Excel General
    Replies: 2
    Last Post: 07-31-2009, 10:24 AM
  6. Inverting data in a row
    By Dooldeniya in forum Excel General
    Replies: 1
    Last Post: 11-05-2008, 03:18 PM
  7. inverting the y axis
    By bob777 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-06-2006, 11:10 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