+ Reply to Thread
Results 1 to 4 of 4

pull one value based on an adjacent cell value

  1. #1
    Registered User
    Join Date
    11-07-2012
    Location
    nj
    MS-Off Ver
    excel 2007
    Posts
    68

    pull one value based on an adjacent cell value

    hey,

    I need to fill a cell with the tax rate based on which county is selected from a data list.

    example attached.

    if county = A2, then i want B2's contents.

    I want it to do it automatically. So if I have a data list and the user selects county "a" in field D2, they get 1% in the field I need to use in my calculation(E2)
    sample lj1.xlsx
    'elp!
    self taught and painfully ignorant

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: pull one value based on an adjacent cell value

    use
    =VLOOKUP(D2,A1:B12,2,FALSE)

  3. #3
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: pull one value based on an adjacent cell value

    Formula in E2 is =IF(D2<>"",VLOOKUP(D2,$A$2:$B$12,2,FALSE),"")
    Elegant Simplicity............. Not Always

  4. #4
    Registered User
    Join Date
    11-07-2012
    Location
    nj
    MS-Off Ver
    excel 2007
    Posts
    68

    Re: pull one value based on an adjacent cell value

    awesome! you guys rock!

+ 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