+ Reply to Thread
Results 1 to 4 of 4

The old "if" then" thing

  1. #1
    Forum Contributor
    Join Date
    11-13-2010
    Location
    Warren, Michigan
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    307

    The old "if" then" thing

    See attached sample...

    If in D a number appears I then what to pickup the appropriate percentage from B associated with that number from A and place in E.
    Attached Files Attached Files
    Last edited by khank; 08-31-2012 at 12:05 PM.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: The old "if" then" thing

    Use

    =IFERROR(VLOOKUP(D1,$A$1:$B$27,2,FALSE),"")
    or
    =IFERROR(INDEX($B$1:$B$27,MATCH(D1,$A$1:$A$27,0)),"")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: The old "if" then" thing

    Hi khank

    One option could be the INDEX & MATCH

    =INDEX($B$1:$B$27,MATCH(D1,$A$1:$A$27,0))

  4. #4
    Forum Contributor
    Join Date
    11-13-2010
    Location
    Warren, Michigan
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    307

    Re: The old "if" then" thing

    Thanks to the both of you - all three samples work - again one question and many ways to solve the problem...thanks

+ 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