+ Reply to Thread
Results 1 to 4 of 4

Max from rows

  1. #1
    Registered User
    Join Date
    09-07-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    32

    Max from rows

    Hi,


    I have 6 columns & 6000000 records in a Access 2003 table, 4 out of 6 columns contains numeric values.
    In 6th column I need the header of the column which contains the max value.

    Example:

    mdn column1 column2 column3 column4 max
    9824 1 2 1 column2
    9825 4 3 8 column3
    9826 7 6 8 column4
    9827 5 4 21 2 column3

    In above table max column contains the header of column which contains the max value.

    in first record column 3 has no value, for 2nd record column4 and 3rd record column1 has no values.

    Please suggest how can make it.



    Regards,
    Irfan
    Last edited by irfan.rangrej; 04-19-2013 at 05:36 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Max from rows

    Using this ms access max value in a row in a google search returns several means to do this.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    09-07-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Max from rows

    Thanks alan,

    I got max value in a column, but i need the field name instead of value.

    Reg,
    Irfna

  4. #4
    Registered User
    Join Date
    09-07-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Max from rows

    I got the solution

    Re,
    Irfna

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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