+ Reply to Thread
Results 1 to 4 of 4

Auto populating cell based on data in 2 other cells

  1. #1
    Registered User
    Join Date
    02-06-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    2

    Question Auto populating cell based on data in 2 other cells

    I need to autopopulate cells based on data that is selected via drop down in 2 different cells. Based on what you select in the first cell and what you select in the second cell, a specific value is returned.

    I'm using this formula to autopopulate based on what is in one cell and that is working fine:

    =IF(ISBLANK(P3),"",VLOOKUP(P3,costdata,2,0))

    However, I think I need an "AND" function somewhere, because I need it to look at cell P3 and cell N3 and then return a certain value based on both of those fields.

    Thanks for any assistance you can provide!

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Auto populating cell based on data in 2 other cells

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  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
    52,939

    Re: Auto populating cell based on data in 2 other cells

    What does your "lookup" table look like? Are you searching for data in a column against data in a row, to return where they meet? If this is what you are doing, take a look at he index/match combo...otherwise, follow Six's suggetsion
    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
    02-06-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Auto populating cell based on data in 2 other cells

    samplefeb2014.xlsx

    See attached - thank 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. Auto Populating based on specific data
    By Stechnical in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-08-2014, 01:10 AM
  2. Auto populating of formula with result based on input data and party name
    By paradise2sr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2013, 02:56 AM
  3. Auto populating data based on previous business day
    By donyc in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-24-2012, 05:08 PM
  4. Auto populating cells with data
    By Jillhingston in forum Outlook Formatting & Functions
    Replies: 2
    Last Post: 03-09-2012, 03:49 AM
  5. Replies: 1
    Last Post: 07-04-2006, 07:25 AM

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