+ Reply to Thread
Results 1 to 3 of 3

picking row with highest value of a numeric column

  1. #1
    Registered User
    Join Date
    07-24-2019
    Location
    Patparganj
    MS-Off Ver
    2016
    Posts
    2

    picking row with highest value of a numeric column

    Hi there, the data has 4 tables, first is numerical ID which is duplicate column, second column is Item Name which is repetitive/duplicate, third column has revenue figure of the item name. Need to create a fourth column where Item name for the numerical ID be chosen in which row there is highest revenue figure.

    For example, in 3 rows there is same ID 5555, but the Item Names are as below respectively.
    For each ID I want to plug in the Item Name for the corresponding row which has highest revenue within an ID's group of records:
    For ID 555, need to get Orange in the fourth column for the first three rows below:

    ID Item Name Revenue
    555 Orange 57392.68
    555 Apple 2224.74
    555 Orange 2373839.020
    789 Mango 2829
    5637 Apple 3738
    221 Mango 7389

    Please find the attached file for sample data and the last column 'Column to be calculated' is the field which has to be computed and the values have been inserted there
    Thanks
    Attached Files Attached Files
    Last edited by excelkbhalla; 09-19-2019 at 01:02 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Sadly... in lockdown, but based in Ireland.
    MS-Off Ver
    µSoft Office 365. Learning Excel all over again!!
    Posts
    29,938

    Re: picking row with highest value of a numeric column

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).

    1. It does NOT have to be your real sheet - mock up a SAMPLE if you need to. But not 1000's of rows!!! It makes manual checking so tedious. Whatever you do... make sure that all confidential information is removed first!!

    2. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    3. Make sure that your desired solution is also shown (mock up the results manually).

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn



  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Sadly... in lockdown, but based in Ireland.
    MS-Off Ver
    µSoft Office 365. Learning Excel all over again!!
    Posts
    29,938

    Re: picking row with highest value of a numeric column

    I just had to Google Patparganj... it sounded Indian, and it is. I know the area around Karol Bagh well, having stayed there a couple of times.. Welcome to the Forum.

+ 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. [SOLVED] Duplicate Names When Picking Out Highest Scorer
    By webstmonkey in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-02-2013, 09:51 PM
  2. picking cells with the highest values
    By schill2 in forum Excel General
    Replies: 4
    Last Post: 08-16-2012, 09:52 AM
  3. [SOLVED] Picking out the highest 4 of a selection on a row
    By Amie in forum Excel General
    Replies: 13
    Last Post: 06-22-2012, 02:20 PM
  4. picking out the 10 highest numbers from a table
    By krokene in forum Excel General
    Replies: 3
    Last Post: 09-11-2011, 06:25 AM
  5. Picking out the name and score of the highest scorer
    By jimmymcmahon in forum Excel General
    Replies: 10
    Last Post: 08-06-2011, 05:44 AM
  6. Picking 5 highest/lowest numbers from a list
    By johnexceljohn in forum Excel General
    Replies: 25
    Last Post: 07-23-2009, 05:59 PM
  7. Formula for picking out highest value in column
    By dazzataff in forum Excel General
    Replies: 2
    Last Post: 03-03-2009, 05:40 PM
  8. Picking the highest value from a column and then the next highest
    By johnb28 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-23-2008, 01:20 PM

Tags for this Thread

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