+ Reply to Thread
Results 1 to 15 of 15

Code for Finding Highest values, Lookup,Offset Values

  1. #1
    Forum Contributor
    Join Date
    08-27-2016
    Location
    INDIA
    MS-Off Ver
    2003,2007,2010
    Posts
    134

    Code for Finding Highest values, Lookup,Offset Values

    Dear Friends,
    I need a code for VLookup,Offset,Finding Values.is this possible by Macro? my results Columns from K to X, please see sample file.

    Thanks.
    Attached Files Attached Files
    Last edited by structo; 09-06-2016 at 03:49 AM.

  2. #2
    Forum Contributor
    Join Date
    08-27-2016
    Location
    INDIA
    MS-Off Ver
    2003,2007,2010
    Posts
    134

    Re: Code for Finding Highest values, Lookup,Offset Values

    Oh My God,
    nobody was taken challenge, in this website.
    Last edited by structo; 09-06-2016 at 02:27 AM.

  3. #3
    Valued Forum Contributor Neil_'s Avatar
    Join Date
    04-19-2013
    Location
    Yorkshire
    MS-Off Ver
    Office 365 Enterprise E3 2013 / 2016
    Posts
    479

    Re: Code for Finding Highest values, Lookup,Offset Values

    This is almost there but not quite right. The look ups to find remarks don't take into account the unique IDs. I will work on this a little more.

    Edit: Should be right now.
    Attached Files Attached Files
    Last edited by Neil_; 09-06-2016 at 03:33 AM.
    Frob first, tweak later

  4. #4
    Forum Contributor
    Join Date
    08-27-2016
    Location
    INDIA
    MS-Off Ver
    2003,2007,2010
    Posts
    134

    Re: Code for Finding Highest values, Lookup,Offset Values

    Thank you friend it is working. i had large number of Unique ids and each unique id having 3 to 25 items. how to run your formula by automated Macros?

    Thanks.

  5. #5
    Forum Contributor
    Join Date
    08-27-2016
    Location
    INDIA
    MS-Off Ver
    2003,2007,2010
    Posts
    134

    Re: Code for Finding Highest values, Lookup,Offset Values

    And as per your formula at S4 is M4:N6. but actual Range For Result look up from M4 to N4.

    Thanks..

  6. #6
    Valued Forum Contributor Neil_'s Avatar
    Join Date
    04-19-2013
    Location
    Yorkshire
    MS-Off Ver
    Office 365 Enterprise E3 2013 / 2016
    Posts
    479

    Re: Code for Finding Highest values, Lookup,Offset Values

    You don't need macros, simply adjust the ranges to include all your data. Note that any array formulas in the sheet (enclosed in {}) do not have the brackets typed. They are entered using Ctrl Shift Enter

  7. #7
    Forum Contributor
    Join Date
    08-27-2016
    Location
    INDIA
    MS-Off Ver
    2003,2007,2010
    Posts
    134

    Re: Code for Finding Highest values, Lookup,Offset Values

    Dear friend, i need macro because i want to develop values at J too, because i have items data above 50K rows. J values should be pullout from A. any possibilities by codes?

    Thanks.
    Last edited by structo; 09-06-2016 at 04:01 AM.

  8. #8
    Valued Forum Contributor Neil_'s Avatar
    Join Date
    04-19-2013
    Location
    Yorkshire
    MS-Off Ver
    Office 365 Enterprise E3 2013 / 2016
    Posts
    479

    Re: Code for Finding Highest values, Lookup,Offset Values

    Post Deleted after re-reading questions
    Last edited by Neil_; 09-06-2016 at 04:44 AM.

  9. #9
    Valued Forum Contributor Neil_'s Avatar
    Join Date
    04-19-2013
    Location
    Yorkshire
    MS-Off Ver
    Office 365 Enterprise E3 2013 / 2016
    Posts
    479

    Re: Code for Finding Highest values, Lookup,Offset Values

    I have looked at your sheet again and understand what you mean about A and J. Copy entire column of data in A and paste into new sheet. From the data tab, remove duplicates. Paste this into J. Fill the formulas I have provided down.
    Hope this helps.

  10. #10
    Forum Contributor
    Join Date
    08-27-2016
    Location
    INDIA
    MS-Off Ver
    2003,2007,2010
    Posts
    134

    Re: Code for Finding Highest values, Lookup,Offset Values

    Helo friend,

    if i remove duplicates there is some blanks in Cells and difficult to paste from A to J due to More Rows at A to F. and you deleted D column. please keep D column there some values some times. please modify.

    Thanks.
    Last edited by structo; 09-06-2016 at 04:59 AM.

  11. #11
    Valued Forum Contributor Neil_'s Avatar
    Join Date
    04-19-2013
    Location
    Yorkshire
    MS-Off Ver
    Office 365 Enterprise E3 2013 / 2016
    Posts
    479

    Re: Code for Finding Highest values, Lookup,Offset Values

    Please Login or Register  to view this content.

  12. #12
    Valued Forum Contributor Neil_'s Avatar
    Join Date
    04-19-2013
    Location
    Yorkshire
    MS-Off Ver
    Office 365 Enterprise E3 2013 / 2016
    Posts
    479

    Re: Code for Finding Highest values, Lookup,Offset Values

    I'm done here.
    Attached Files Attached Files

  13. #13
    Forum Contributor
    Join Date
    08-27-2016
    Location
    INDIA
    MS-Off Ver
    2003,2007,2010
    Posts
    134

    Re: Code for Finding Highest values, Lookup,Offset Values

    Thank you friend. first time running results are ok, but second time running showing debug errors.

    what about remaining columns? is this possible your formulas to L to X up to end of K values.

    Thanks.
    Attached Images Attached Images

  14. #14
    Forum Contributor
    Join Date
    08-27-2016
    Location
    INDIA
    MS-Off Ver
    2003,2007,2010
    Posts
    134

    Re: Code for Finding Highest values, Lookup,Offset Values

    How to paste your formulas by macro? From L to X

  15. #15
    Forum Contributor
    Join Date
    08-27-2016
    Location
    INDIA
    MS-Off Ver
    2003,2007,2010
    Posts
    134

    Re: Code for Finding Highest values, Lookup,Offset Values

    Friends, Any News!!

+ 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] Code required for Offset, to find max values
    By pvsvprasad in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-19-2016, 12:14 PM
  2. Finding max values using multiple lookup criteria
    By rcoon in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-18-2016, 12:11 PM
  3. Replies: 2
    Last Post: 05-27-2016, 12:12 PM
  4. Replies: 3
    Last Post: 01-06-2016, 10:04 AM
  5. [SOLVED] the code is finding repeated values but i need to search values from E column to D
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-14-2014, 01:33 AM
  6. Return offset data/values with lookup...?
    By dugong in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-07-2007, 07:41 AM
  7. Lookup Finding Values Not in List
    By Chronos in forum Excel General
    Replies: 4
    Last Post: 07-10-2007, 04:11 AM

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