+ Reply to Thread
Results 1 to 5 of 5

If Then and Look Ups - Need Help!

  1. #1
    Registered User
    Join Date
    11-26-2013
    Location
    Indianapolis, IN
    MS-Off Ver
    Excel 2010
    Posts
    2

    If Then and Look Ups - Need Help!

    I have data being provided to me in an awkward format and I need to reformat the data to be more user friendly.

    I am trying to create a table that will automatically lookup the accurate data in one cell, if a preceding cell contains certain criteria. For Example:

    Example 1.)
    If Cell C12 contains the words "First Name", then I would like to populate the exact information that is in Cell C14.

    Example 2.)
    If Cell C15 contains the words "Hours Worked", then I would like to populate the exact information that is in Cell C17.

    I have attached a spreadsheet providing a visual of what I am starting with and what I would like it to look like in the end.

    Can anyone help??!!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    02-27-2013
    Location
    Norway
    MS-Off Ver
    Excel 2013
    Posts
    34

    Re: If Then and Look Ups - Need Help!

    I'm sure someone can come up with something better, but here is one exemple:
    Attached Files Attached Files

  3. #3
    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
    53,048

    Re: If Then and Look Ups - Need Help!

    That is a very good solution kimrh
    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

  4. #4
    Registered User
    Join Date
    11-26-2013
    Location
    Indianapolis, IN
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: If Then and Look Ups - Need Help!

    Wow! This is perfect, kimrh! You did a great job!

    Thank you so much. This will help more than you know!

    Have a good one.

  5. #5
    Registered User
    Join Date
    02-27-2013
    Location
    Norway
    MS-Off Ver
    Excel 2013
    Posts
    34

    Re: If Then and Look Ups - Need Help!

    Thanks FDibbins
    Stew57: If you want to make it even better you should remove my filter from "Text", and insert the "Hours" to the reporting filter. Remove (blanks) and "" from the reporting filter, and it will always be dynamic if you have different dates next time.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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