Update multiple table rows from form with single entry

Justinidea

Board Regular
Joined
Apr 7, 2010
Messages
57
Hi Y'all

I have a table with multiple rows for specific groups, something like this:
IDGroupSubgroupUser
2blueA123Me
3blueA234Me
4blueA345Me
5blueA456Me
6greenB567
7greenB687
8greenB891
9greenB912
10greenB124



<colgroup><col style="width: 48pt;" span="4" width="64">
<tbody>


</tbody>


I want to update the User field for all the "blue" records by entering "me" in a form only once.
like this
Groupblue
UserMe



<colgroup><col style="width: 48pt;" span="2" width="64">
<tbody>


</tbody>

Obviously there are more fields in the table. Also I cannot build a relational table of group and subgroup because my data is not constant. Sometimes "blue" might have three subgroups, sometimes it might have 20 subgroups.

Any suggestions will be greatly appreciated.

I have a vague idea that I might have to use the form to create a new table then run an update query, but I'm thinking there might be a more direct and "elegant" way to accomplish this.

Thanks!
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Justinidea

Board Regular
Joined
Apr 7, 2010
Messages
57
I waited too long to edit that last paragraph - I should have said that the form must update the original table to find all the "blue" group lines, so I'm not sure if I can create a new table from the form.
I'm gonna keep working on it, but I hope someone can give me an answer... thanks again.
 

Watch MrExcel Video

Forum statistics

Threads
1,130,310
Messages
5,641,450
Members
417,210
Latest member
rins

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top