+ Reply to Thread
Results 1 to 5 of 5

Top 10 values from database

  1. #1
    Registered User
    Join Date
    08-10-2020
    Location
    Iran
    MS-Off Ver
    2016
    Posts
    36

    Top 10 values from database

    Hi,
    please help me
    I have a database
    there are several ID in database and each ID has several row, I want , if I select special ID, return me top 10 by value(value column), if the currency is "IRR".
    Attached Files Attached Files

  2. #2
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Top 10 values from database

    is it Top 10 - 10 first rows with selected ID or from maximum value to ....
    Attached Files Attached Files
    Last edited by BMV; 08-21-2020 at 07:34 AM.

  3. #3
    Registered User
    Join Date
    08-10-2020
    Location
    Iran
    MS-Off Ver
    2016
    Posts
    36
    Quote Originally Posted by BMV View Post
    is it Top 10 - 10 first rows with selected ID or from maximum value to ....
    Sorted 10 value from max(top 10 maximum value)

  4. #4
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Top 10 values from database

    Hi, in O2=

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and drag it down...
    Click just below left if it helps, Boo?ath?

  5. #5
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Top 10 values from database

    @manik68 the answer was in the attached file. There were two options. but i messed one condition IRR but it easy to add it.

+ 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. Searching values in a database
    By odd_socks17 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-19-2017, 01:56 PM
  2. Substracting values in excel from values in database
    By freak11 in forum Excel General
    Replies: 0
    Last Post: 06-09-2014, 06:11 PM
  3. VBA - Updating Excel values to a Database
    By Vinod Krishna.C in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2014, 05:18 AM
  4. Template with values from database
    By The Phil in forum Excel General
    Replies: 6
    Last Post: 03-18-2011, 06:28 PM
  5. Database + Generating Y Values
    By omairsyed in forum Excel General
    Replies: 1
    Last Post: 07-31-2009, 12:32 AM
  6. Count Unique Values in a Database
    By susieqhersh in forum Excel General
    Replies: 5
    Last Post: 11-01-2006, 04:37 PM
  7. How to aggregate values in a database
    By Frank in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-16-2005, 09:25 AM

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