+ Reply to Thread
Results 1 to 3 of 3

Excel Solution needed

  1. #1
    Registered User
    Join Date
    05-02-2009
    Location
    mumbai
    MS-Off Ver
    Excel 2003
    Posts
    1

    Excel Solution needed

    Dear Experts,

    How to compare a number with set of numbers and select nearest higher value. After this it should allocate a model which is already defined.

    Example:
    Number 25 should be compared with 26,28,29,30,25.5.
    Then it should select 25.5 as nearest higher value.
    If 25<25.5 is true, then assign MOdel#10 to a cell with different address.

    Please help me out to solve this problem.

    Thanks in advance.

    Prasanna A P
    Last edited by VBA Noob; 05-02-2009 at 08:58 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: Excel Solution needed

    =lookup(d7+0,5;{24;24,5;25;25,5;26;26,5;27;27,5;28})

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Re: Excel Solution needed

    prasanna200

    Welcome to Exceltip forum

    Please take a couple of minutes and read ALL the Forum Rules then edit your thread title by following the instructions in the rules (Rule 1) so that it better discribes your problem/request
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ 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