+ Reply to Thread
Results 1 to 7 of 7

IF Function not working with list

  1. #1
    Registered User
    Join Date
    12-19-2013
    Location
    teignmouth
    MS-Off Ver
    mac 2011
    Posts
    6

    Post IF Function not working with list

    Hi i need help on getting a outcome (date) from data in worksheet i have tried IF function but will not work with lists

    Column 1: Inputted Characters
    Column 2: List of all possible inputted characters
    Column 3: List of dates to match inputted characters
    Column 4: Outcome
    http://www.excelforum.com/excel-gene...ml#post3518578
    Last edited by xtraman88; 12-19-2013 at 04:19 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Help needed

    Thanks for the title change

    Could you explain in more detail what you are working with, and what your outcome should be? Perhaps upload a sample workbook?
    Last edited by FDibbins; 12-19-2013 at 04:30 PM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-19-2013
    Location
    teignmouth
    MS-Off Ver
    mac 2011
    Posts
    6

    Re: IF Function not working with list

    Hi I have attached workbook
    Column A is the data I am receiving
    Column B gets me the last two characters which I need
    Column C is where i want my outcome
    Column D is the list of possible outcomes of column B
    Column E is the list of dates corresponding with Column D
    I still have a lot of data to add to column D

    The idea is that by adding a number to column A it will return the correct date in column C

    Thanks very much for you help so far
    regards
    Steve
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: IF Function not working with list

    maybe this?

    =VLOOKUP(B2*1,$D$2:$E$407,2,0)

  5. #5
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: IF Function not working with list

    Hi

    Your basic problem was that although column D looks like two characters it wasn't. It was simply formatted to look like two characters.

    My Column E made it two characters. I copied and pasted the values into column D.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    12-19-2013
    Location
    teignmouth
    MS-Off Ver
    mac 2011
    Posts
    6

    Red face Re: IF Function not working with list

    Quote Originally Posted by FDibbins View Post
    maybe this?

    =VLOOKUP(B2*1,$D$2:$E$407,2,0)
    Works perfectly thank you very much for help

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: IF Function not working with list

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

+ 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. Complex Filter/Sorting Help Needed (VBA knowledge needed)
    By dfxryanjr in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-03-2013, 01:39 PM
  2. Conditional formatting needed for shape colour - is programming needed?
    By Farmboyuk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-14-2012, 07:27 AM
  3. Help Needed please!
    By RLCSGT in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-04-2011, 05:14 PM
  4. Help Needed
    By djdaz in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 04-02-2005, 06:59 PM
  5. Help needed....
    By Mikey A in forum Excel General
    Replies: 0
    Last Post: 03-31-2005, 04:00 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