+ Reply to Thread
Results 1 to 3 of 3

Calculate highest value based on another value

  1. #1
    Registered User
    Join Date
    09-19-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Calculate highest value based on another value

    Hello,

    Would anyone be able to help please?
    I need to calculate the highest version of Internet Explorer (column C) for each unique AssetTag (column A).
    Does anybody know how to start calculating this scenario?

    For example, this list
    SBC399695 MICROSOFT INTERNET EXPLORER 7 7.00.6000.16762
    SBC399695 MICROSOFT INTERNET EXPLORER 7 7.00.6000.16827
    SBC399695 MICROSOFT INTERNET EXPLORER 7 7.00.6000.17055
    SBC399695 MICROSOFT INTERNET EXPLORER 7 7.0.6000.16850
    SBC399695 MICROSOFT INTERNET EXPLORER 6 6
    SBC399695 MICROSOFT INTERNET EXPLORER 7 7.0.6000.16791
    SBC399695 MICROSOFT INTERNET EXPLORER 7 7.00.6000.*
    SBC399695 MICROSOFT INTERNET EXPLORER 6 6.0.3790.3959
    SBC399697 MICROSOFT INTERNET EXPLORER 7 7.00.6000.16762
    SBC399697 MICROSOFT INTERNET EXPLORER 7 7.00.6000.16827
    SBC399697 MICROSOFT INTERNET EXPLORER 7 7.00.6000.*
    SBC399697 MICROSOFT INTERNET EXPLORER 7 7
    SBC399697 MICROSOFT INTERNET EXPLORER 6 6.0.3790.3959
    SBC399697 MICROSOFT INTERNET EXPLORER 7 7.0.6000.16850
    SBC399697 MICROSOFT INTERNET EXPLORER 7 7.0.6000.16791
    SBC399697 MICROSOFT INTERNET EXPLORER 7 7.00.6000.17055
    SBC399697 MICROSOFT INTERNET EXPLORER 7 7.00.6001.18248
    SBC399697 MICROSOFT INTERNET EXPLORER 6 6

    to extract only the following:
    SBC399695 MICROSOFT INTERNET EXPLORER 7
    SBC399697 MICROSOFT INTERNET EXPLORER 7

    Attached is a sample file.

    Thank you in advance.
    aldousbri
    Attached Files Attached Files
    Last edited by aldousbri; 09-19-2012 at 08:32 AM. Reason: solved.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Calculate highest value based on another value

    If you sort also by column C in ascending order, you can use:

    =LOOKUP(2,1/($A$2:$A$34248=A2),$C$2:$C$3428)

    copied down.

    Note: this will take a minute or so to calculate.

    A faster way, would be to create a pivot table to show unique AssetTag vs. Latest version

    or you could use a formula like:

    =If(A2=A3,"",C2) copied down, after sorting again for columns A and C in ascending order... this will show a value only at last asset entry.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    09-19-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Calculate highest value based on another value

    Awesome, that works.
    Thank you very much.

+ 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