+ Reply to Thread
Results 1 to 4 of 4

Round, Roundup, Rounddown or something else????

  1. #1
    Registered User
    Join Date
    01-13-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    60

    Round, Roundup, Rounddown or something else????

    Hi,

    Refer attached. My goal here is to have C7 return the Occupied Room Rate in column J based on the % occupancy determined in C5 which currently matches to a % in column E. The formula currently works if C5 is equal to the the relevant % in E however if it does not match, it returns #N/A. How can i make it 'closest to' the percentages in column E?

    Thanks in advance

    PERE
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Round, Roundup, Rounddown or something else????

    It depends on which answer you want...

    Say C5 = 70%

    Your table doesn't have70% exactly.
    It has 68.8 and 75
    Which one should be considered the match, 68.8 or 75 ?


    Removing the 0 in the Match function will make it always return the value that is below the lookup value.
    Basically, it finds the largest # that is less than or equal to the lookup value.

    =INDEX($E$3:$J$11,MATCH($C$5,E3:E11),6)

  3. #3
    Registered User
    Join Date
    01-13-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    60

    Re: Round, Roundup, Rounddown or something else????

    Thanks! I will run with your suggestion and increase the increments of vacancy in column E if I need to refine

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Round, Roundup, Rounddown or something else????

    Great, glad to help.

+ 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] ROUNDDOWN & ROUNDUP in same formula?
    By Grasshopper Green in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-06-2013, 08:32 AM
  2. [SOLVED] Rounddown, roundup
    By allan223 in forum Excel General
    Replies: 3
    Last Post: 09-13-2012, 09:44 PM
  3. ROUNDUP and ROUNDDOWN function
    By james.kilgore in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 01-06-2011, 03:50 PM
  4. Excel 2007 : ROUNDUp / ROUNDDOWN
    By johannes in forum Excel General
    Replies: 1
    Last Post: 03-09-2010, 09:59 PM
  5. [SOLVED] Roundup or rounddown
    By Heather in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-14-2005, 10:40 PM

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