Results 1 to 6 of 6

Checking Range, altering out of bounds, checking result against table

Threaded View

  1. #1
    Registered User
    Join Date
    04-11-2016
    Location
    England
    MS-Off Ver
    -
    Posts
    3

    Unhappy Checking Range, altering out of bounds, checking result against table

    So this is the spreadsheet I'm working on:
    Screen Shot 2016-04-11 at 10.48.57.png

    I want to be able to have a cell, lets call it "a1" have a numerical value i can control.
    I then want to check that number to see if it's a value between 3 and "b2".
    If it's within that range, it retains its value.
    If it's higher, it becomes "b2".
    If it's lower, it becomes 3.
    I then want to check the resulting value against this table's column "r". Then get the value of column "s".

    For example: I enter 17 into "a1".
    It checks the number 17, recognising it isn't below 3 or above "b2".
    It then checks column "r" for the number 17.
    It then checks across that row to column "s", and tells me it is "30.56%"

    Another example: I enter -20 into "a1".
    It checks the number -20, recognising it is below 3.
    It makes the number 3.
    It then checks column "r" for the number 3.
    It then checks across that row to column "s", and tells me it is "100.00%"

    My question is, what would I need to enter into a cell make this happen?


    PS: I'm very new to spreadsheets and functions, bear that in mind with any explanations. And apologies if the title or anything else isn't an accurate description of my problem!

    Thanks in advance!
    Last edited by Sillystring; 04-11-2016 at 05:55 AM. Reason: updated the screenshot

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Checking the result of a forumula
    By StormStrikes in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-30-2015, 11:57 AM
  2. Checking in two tables and display the result in Excelsheet.
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-03-2014, 06:58 PM
  3. Checking if a table already exists
    By JoeSkittles in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-16-2013, 09:11 AM
  4. Replies: 3
    Last Post: 01-06-2012, 02:53 PM
  5. Replies: 3
    Last Post: 01-03-2012, 10:54 PM
  6. Checking Web Page(s) within a table.
    By Madlock in forum Excel General
    Replies: 4
    Last Post: 09-19-2010, 06:20 PM
  7. Code loop through two tables checking and altering
    By excel_lover in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 11-14-2008, 05:50 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