Results 1 to 6 of 6

Find Highest Value Based on Condition

Threaded View

  1. #1
    Forum Contributor
    Join Date
    12-19-2011
    Location
    Central Europe
    MS-Off Ver
    Excel O365
    Posts
    364

    Find Highest Value Based on Condition

    Hi all

    In my file I have two numbers, can one category
    New lines are added as needed by the users.

    Col. A contains the "sector number" with column B indicating the "sub sector number".
    Col. B always uses the value in col A as prefix and is ascending in number
    Col. C shows whether the product is "NORM" or "SPEC" - in case of "SPEC" the number does follow it's own numbering logic.

    What I would like to achieve is that the user can, via input box, enter the "sector number" and the macro should return the next available number in a message box under "NORM" conditions - please see attached file

    Sample.xlsx

    How would I code such conditions, bearing in mind that my list is several 1000 lines long

    Thanks
    FD
    Last edited by FallingDown; 01-06-2015 at 11:04 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 01-10-2014, 01:55 PM
  2. VBA code to find highest and 2nd highest number based in criteria
    By Michael007 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-25-2011, 08:38 AM
  3. Find highest based on criteria
    By timtrag12 in forum Excel General
    Replies: 2
    Last Post: 03-27-2011, 05:42 PM
  4. Replies: 2
    Last Post: 02-23-2011, 09:45 AM
  5. Replies: 2
    Last Post: 10-26-2009, 06:43 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