I'm in need of some assistance with a task I'm trying to complete. I have a sheet called "Client Summary", where I'm trying to pull in data from several other sheets where the "Client ID" matches on each sheet. Depending upon the sheet I'm hitting, it could be a 1:1 or 1:many search. Here are a couple of examples:
I would expect to see "Tommy" in the Nickname field of the Client Summary sheet, and -5.00 in the Weight Change field, from the Stats sheet. Note that on the Stat sheet, there are multiple rows for the Client ID.
Client Summary Sheet
[TABLE="class: grid, width: 550"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Today[/TD]
[TD]Updated[/TD]
[TD]Status[/TD]
[TD]Client ID[/TD]
[TD]Name[/TD]
[TD]Nickname[/TD]
[TD]Weight Change[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]TJ1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Bios Sheet
[TABLE="class: grid, width: 700"]
<colgroup><col span="2"><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Today[/TD]
[TD]Updated[/TD]
[TD]Status[/TD]
[TD]Key[/TD]
[TD]Client ID[/TD]
[TD]First[/TD]
[TD]Last[/TD]
[TD]Suffix[/TD]
[TD]Name[/TD]
[TD]Nickname[/TD]
[/TR]
[TR]
[TD="align: right"]01/12/18[/TD]
[TD="align: right"]01/12/18[/TD]
[TD]Active[/TD]
[TD="align: right"]1[/TD]
[TD]TJ1[/TD]
[TD]Tom[/TD]
[TD]Jones[/TD]
[TD]Sr.[/TD]
[TD]Tom Jones Sr.[/TD]
[TD]Tommy[/TD]
[/TR]
[TR]
[TD="align: right"]01/12/18[/TD]
[TD="align: right"]01/12/18[/TD]
[TD]Active[/TD]
[TD="align: right"]2[/TD]
[TD]ND2[/TD]
[TD]Nancy[/TD]
[TD]Drew[/TD]
[TD][/TD]
[TD]Nancy Drew[/TD]
[TD]Nancy Drew[/TD]
[/TR]
</tbody>[/TABLE]
Stats Sheet
[TABLE="class: grid, width: 700"]
<colgroup><col span="2"><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Today[/TD]
[TD]Updated[/TD]
[TD]Client ID[/TD]
[TD]Name[/TD]
[TD]Entry Type[/TD]
[TD]Height[/TD]
[TD]Weight[/TD]
[TD]Weight Change[/TD]
[/TR]
[TR]
[TD="align: right"]01/12/18[/TD]
[TD="align: right"]01/12/18[/TD]
[TD]ND2[/TD]
[TD]Nancy Drew[/TD]
[TD]Initial[/TD]
[TD]5'5"[/TD]
[TD="align: right"]125.00[/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD="align: right"]01/12/18[/TD]
[TD="align: right"]01/11/18[/TD]
[TD]TJ1[/TD]
[TD]Tom Jones Sr.[/TD]
[TD]Initial[/TD]
[TD]5'11"[/TD]
[TD="align: right"]175.00[/TD]
[TD="align: right"]50.00[/TD]
[/TR]
[TR]
[TD="align: right"]01/12/18[/TD]
[TD="align: right"]01/12/18[/TD]
[TD]TJ1[/TD]
[TD]Tom Jones Sr.[/TD]
[TD]Update[/TD]
[TD]5'11"[/TD]
[TD="align: right"]170.00[/TD]
[TD="align: right"]-5.00[/TD]
[/TR]
</tbody>[/TABLE]
I was hoping to enter a formula via a macro that runs when a Client is entered.
Any suggestions?
I would expect to see "Tommy" in the Nickname field of the Client Summary sheet, and -5.00 in the Weight Change field, from the Stats sheet. Note that on the Stat sheet, there are multiple rows for the Client ID.
Client Summary Sheet
[TABLE="class: grid, width: 550"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Today[/TD]
[TD]Updated[/TD]
[TD]Status[/TD]
[TD]Client ID[/TD]
[TD]Name[/TD]
[TD]Nickname[/TD]
[TD]Weight Change[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]TJ1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Bios Sheet
[TABLE="class: grid, width: 700"]
<colgroup><col span="2"><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Today[/TD]
[TD]Updated[/TD]
[TD]Status[/TD]
[TD]Key[/TD]
[TD]Client ID[/TD]
[TD]First[/TD]
[TD]Last[/TD]
[TD]Suffix[/TD]
[TD]Name[/TD]
[TD]Nickname[/TD]
[/TR]
[TR]
[TD="align: right"]01/12/18[/TD]
[TD="align: right"]01/12/18[/TD]
[TD]Active[/TD]
[TD="align: right"]1[/TD]
[TD]TJ1[/TD]
[TD]Tom[/TD]
[TD]Jones[/TD]
[TD]Sr.[/TD]
[TD]Tom Jones Sr.[/TD]
[TD]Tommy[/TD]
[/TR]
[TR]
[TD="align: right"]01/12/18[/TD]
[TD="align: right"]01/12/18[/TD]
[TD]Active[/TD]
[TD="align: right"]2[/TD]
[TD]ND2[/TD]
[TD]Nancy[/TD]
[TD]Drew[/TD]
[TD][/TD]
[TD]Nancy Drew[/TD]
[TD]Nancy Drew[/TD]
[/TR]
</tbody>[/TABLE]
Stats Sheet
[TABLE="class: grid, width: 700"]
<colgroup><col span="2"><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Today[/TD]
[TD]Updated[/TD]
[TD]Client ID[/TD]
[TD]Name[/TD]
[TD]Entry Type[/TD]
[TD]Height[/TD]
[TD]Weight[/TD]
[TD]Weight Change[/TD]
[/TR]
[TR]
[TD="align: right"]01/12/18[/TD]
[TD="align: right"]01/12/18[/TD]
[TD]ND2[/TD]
[TD]Nancy Drew[/TD]
[TD]Initial[/TD]
[TD]5'5"[/TD]
[TD="align: right"]125.00[/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD="align: right"]01/12/18[/TD]
[TD="align: right"]01/11/18[/TD]
[TD]TJ1[/TD]
[TD]Tom Jones Sr.[/TD]
[TD]Initial[/TD]
[TD]5'11"[/TD]
[TD="align: right"]175.00[/TD]
[TD="align: right"]50.00[/TD]
[/TR]
[TR]
[TD="align: right"]01/12/18[/TD]
[TD="align: right"]01/12/18[/TD]
[TD]TJ1[/TD]
[TD]Tom Jones Sr.[/TD]
[TD]Update[/TD]
[TD]5'11"[/TD]
[TD="align: right"]170.00[/TD]
[TD="align: right"]-5.00[/TD]
[/TR]
</tbody>[/TABLE]
I was hoping to enter a formula via a macro that runs when a Client is entered.
Any suggestions?