#1
|
|||
|
|||
auto cell populate 2
I have a document which I need to have a variable auto populate function. I've attached the bare bones of the workbook that includes a front page and page named Patient 1.
What I'd like to achieve is as follows
|
#2
|
||||
|
||||
I take it you plan to have many worksheets, that is, the Front Sheet plus one for each patient. You envision each "room" cell in the Front Sheet searching through the patient worksheets looking for the corresponding value in B5, and (if it finds it) dynamically plugging in the patient name there. Is all that correct?
I've never done that with lookup functions, and I strongly suspect it isn't possible. If someone else here tells you "sure, just supply the range of worksheets in this syntax....", then by all means try it. But until that happens, I'm going to claim that the only way to do it is by writing your own worksheet function, or some other kind of VBA program within the workbook. Now, I enjoy that kind of thing; but most people find the thought intimidating, and if you don't want to tackle it I won't sneer. But if you're already a programmer then this won't be hard for you; and if you're already thinking about being a programmer, or at least about trying it out to see how it goes, I encourage you to give it a whirl. Let me know, in that case, and I'll coach you. |
#3
|
|||
|
|||
The front sheet will be the graphical display/interface to summarise where people are sleeping, the important data being on the individual sheets.
As the rooms have varying speciality equipment, individuals may/will need to move to other rooms due to changes in support needs. So when I change the room number (B5) of any individual sheet to another room, I need the name in D3 (individual sheet) to move to the corresponding room cell on the front page e.g. D2, E2 etc |
#4
|
||||
|
||||
Yeah, that's what I understood you to be saying—just wanted to be sure. So if you want to do that, I think you need to create some VBA code. Some people here will help you with that if you can get yourself started, and as I said, if you're willing to tackle it and don't know how to start, I'll coach you. (I admit, I like teaching; not everyone does.) I don't see how you're going to get it done with built-in worksheet functions.
|
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
auto cell populate | Stevejd58 | Excel | 14 | 05-13-2013 02:22 AM |
Populate Data to another cell | Mrkieth | Excel | 2 | 04-29-2013 07:30 AM |
Auto populate text | help i'm stuck! | Word | 1 | 08-13-2010 11:52 AM |
auto populate to a PDF file | jerrymbna22 | Excel | 0 | 07-12-2010 02:19 PM |
Auto-populate an MS Word table cell with text from a diff cell? | dreamrthts | Word Tables | 0 | 03-20-2009 01:49 PM |