+ Reply to Thread
Results 1 to 4 of 4

If Then Statement?

  1. #1
    Registered User
    Join Date
    01-18-2008
    Posts
    2

    If Then Statement?

    Hello Excel-O-Philes how are you? I am new to the forum and have a quick question, maybe this can be done, maybe it cannot. Either way any insight would be greatly appreciated.
    Here is my example:
    Lets say I have a validated list of all 12 months in Cell A1. In cells lower down the page there are two columns a list of months, and a list of numbers that correspond with each month.
    My question is: Can I build a formula in B1 that will select the corresponding numbers to each month based on the choice in the list in A1 that I make? Maybe somthing like "=IF((A1='January')THEN(Value C2)???? I know this is an impossible formula, however any insight would be greatly appreciated. Thank you so much in advance for any help.

    Take care
    Cort-

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Take a look at Vlookup help in Excel help files.....

    e.g. = Vlookup(A1,B100:C200,2,FALSE) where B100:C100 is your table of months and corresponding values to retrieve
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-18-2008
    Posts
    2
    So will the Vlookup work as the cell value changes in A1. I have attached a sheet for further review. Thanks again for all of your support.
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Yes it will...why don't you try it?

+ 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