+ Reply to Thread
Results 1 to 4 of 4

return data in same row /same column title but in different columns /sort data by columns?

  1. #1
    Registered User
    Join Date
    07-15-2014
    Location
    wales
    MS-Off Ver
    office 365 PC
    Posts
    18

    return data in same row /same column title but in different columns /sort data by columns?

    hi
    i have small tables (lots of them) with the same column 'titles' but they can be in a different order - and i want to only have the column with the title 'total'.
    i do not think i can sort all the rows by column (or alphabetical) order to resolve this (for example i could rename all 'total' titles as 'AAtotal' and do a sort alphabetically left to right to get the total column next to the number - does anyone know how to do that? and to do it for all the smaller tables).
    Therefore think i might need to insert a column after number in order to say "give me the value that is in the column called 'total' - but i need to let the formula change as the column that contains total title will change as we go down the rows.
    any help appreciated


    number cat 1 cat 2 cat 3 total
    123456 10 10 10 30
    234567 20 20 20 60
    345678 5 5 5 15


    number cat 1 cat 2 total
    567890 2 2 4
    678912 3 3 6
    78913 10 15 25

    I am trying to get:

    number Total
    123456 30
    234567 60
    345678 15
    567890 4
    678912 6
    78913 25

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: return data in same row /same column title but in different columns /sort data by colu

    Do you always have total column at the end of table and second thing Numbers in Number column are always a number or may be alphanumeric like 1235Ead
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    07-15-2014
    Location
    wales
    MS-Off Ver
    office 365 PC
    Posts
    18

    Re: return data in same row /same column title but in different columns /sort data by colu

    Hi actually the column headers are numeric and no the total is not always at the end there are 3 more columns of data after total

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: return data in same row /same column title but in different columns /sort data by colu

    can you upload a sample book

+ 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. Replies: 1
    Last Post: 09-26-2013, 11:32 AM
  2. sort data base on one column to multiple columns
    By typerxtreme in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-24-2013, 11:39 AM
  3. auto sort data in one column and apply sorting to all columns
    By lmonroe in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-03-2013, 08:18 PM
  4. Find unique number in columns and return column title
    By mkvassh in forum Excel General
    Replies: 3
    Last Post: 10-21-2010, 10:29 AM
  5. Sort Data from one column to Separate Columns
    By Griff0 in forum Excel General
    Replies: 11
    Last Post: 06-06-2010, 08:43 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