auto populate cells based on a cell value in excel

I would like to use a Data Validation drop down list to select a value and have that populate the next three cells to the right with fixed data from another spreadsheet or data from the same sheet.
mramesAsked:
Who is Participating?
 
patrickabCommented:
mrames,

Use dynamic ranges like this:

=OFFSET(Data!$A$2,0,0,COUNTA(Data!$A$2:$A$65535),1)

Have a look in Insert/Names/Define for how I have used them.

The VLOOKUP() formula in column J is:

=IF(ISERROR(VLOOKUP(G3,data1,4,FALSE)),"",VLOOKUP(G3,data1,4,FALSE))

where data1 is a dynamic named range.

Dynamic named ranges allow you to add or remove data and the range will adjust automatically. It's all in the attached file.

Hope it helps

Patrick


announcement-inventory-01.xls
0
 
syeager305Commented:
Okay, yes you can do that... vlookup or  index(match()) would work
0
 
cd_morrisCommented:
Do you have an example of what you want? syeager305 suggestion will work, but in order to show you an example would help!
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
patrickabCommented:
mrames,

The attached file shows an example of a Data Validation dropdown in cell F1 and VLOOKUP()s in the 3 cells to the right.

Hope that helps.

Patrick


mrames-01.xls
0
 
mramesAuthor Commented:
Thanks for your responses so far.  Using vlookup was one of my first attempts but I was having trouble putting the formula into cellls, it must have been a formating errors.  I see now how it works, kind of.  I've attached the spreadsheet for further clarification.  The main spreadsheet is called TEMPLATE where I've defined several Drop Down Lists.  One of my issues is making the drop down lists get the data from another sheet named DATA that I intend to hide so it can't be inadvertantly be altered.  So far, to get around this, the drop down lists are referencing data on the same sheet, Template, starting at line 100.  I am having trouble with vlookup for the drop down list in the column "Recording Number".  Firstly, I'd like the drop down list to reference the Data sheet, not the template sheet, but I don't yet understand how to format vlookup to take the recording number and then fill in the 3 cells to the right, Trigger, Time In Sec and Verbiage, with data shown on the Data sheet, or even with data on line 100, columns H thru J.  Hope I  explained this well enough and surely appreciate all you time.
announcement-inventory.xls
0
 
mramesAuthor Commented:
Patrick,  I am sorry for the delay in getting back to this but the holidays, moving my daughter into an apartment and the winter storms have kept me tied up.  But, you are the man.  Your expertise in formulas in Excel, well, they excel.  Although I don't fullly understand all you have showed me, I am certainly learning from it and very much appreciate your knowledge, Thank You!
0
 
patrickabCommented:
mrames - Thanks for the grade. Pleased to hear that despite the weather you still managed to achieve your daughter's move. - Patrick
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.