+ Reply to Thread
Results 1 to 3 of 3

If Value is > Col. A, AND < Col. B, Return Col. C

  1. #1
    Registered User
    Join Date
    08-02-2016
    Location
    NYC
    MS-Off Ver
    2007
    Posts
    8

    If Value is > Col. A, AND < Col. B, Return Col. C

    Column A Column B Column C
    50,000 52,000 5%
    52,000 54,000 6%
    54,000 56,000 7%

    Trying to figure out the right approach/formula to say, if a value is greater than Column A AND less than Column B, return the corresponding value in Column C.

    So if my value is 51,000, I'm looking to return 5%.

    Should it be a combination of "IF" and "AND" functions, or maybe VLookup?

  2. #2
    Registered User
    Join Date
    08-02-2016
    Location
    NYC
    MS-Off Ver
    2007
    Posts
    8

    Re: If Value is > Col. A, AND < Col. B, Return Col. C

    Figured it out. Basic VLookup. Sorry, has been awhile since I've done one.

    So assuming the value is in cell G5, formula should read:

    =VLOOKUP(G5,$A$1:$C$3,3,TRUE)

  3. #3
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: If Value is > Col. A, AND < Col. B, Return Col. C

    Hi -

    I would restructure your data into one column (say Column A) with your range limits:

    50000
    52000
    52001
    54000
    54001
    56000

    And put the percentages in column B And use VLOOKUP.
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

+ 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] return FROM TO values from custom defined range , and return all possible combination
    By raj soni in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-29-2016, 01:38 PM
  2. Replies: 2
    Last Post: 05-07-2015, 04:38 PM
  3. Double click row to return data to userform for edit then return back to sheet
    By MattRSJ in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 01-31-2014, 06:05 AM
  4. [SOLVED] Return value if within range, return multiple values if ranges overlap
    By cde1983 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-17-2013, 06:16 AM
  5. Replies: 4
    Last Post: 03-13-2013, 12:38 PM
  6. Replies: 6
    Last Post: 10-11-2012, 02:39 PM
  7. Search...Return...give info based on the return address
    By deek1004 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-11-2012, 03:36 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