VBA Code for Auto-Populating Text From One Table to Another

Rmkoonie

New Member
Joined
Mar 28, 2017
Messages
2
I have a table that tracks a bunch of info such as, person, category, department, description, due date, and priority. I have, at best, extremely weak VBA skills, so I REALLY need help.
Here is what I'd like to do, if it's even possible.

I would like to have a VBA code that will auto-populate a table with information from a different table. In detail:

When a "1" is put into the priority cell (I2:I20), the person (B2:B20), category (C2:C20), department (D2:D20), description (E2:E20), and due date (F2:F20) will auto-populate into cell E30.
When a "2" is put into the priority cell (I2:I20), then the person (B2:B20), category (C2:C20), department (D2:D20), description (E2:E20), and due date (F2:F20) will auto-populate into cell E31.
When a "3" is put into the priority cell (I2:I20), then the person (B2:B20), category (C2:C20), department (D2:D20), and description (E2:E20) will auto-populate into cell E32 (no due date).
I should clarify that only one person, one category, one department, one description, and one due date can be listed per priority cell. (I hope that makes sense). So if I enter a "1" into cell I5 for example, then the person, category, department, description, and due date in row 5 will populate into cell E30. I am hoping that for each priority code that's entered into the table, a list will form in the designated spot in the table I'm wanting to populate (1, 2, or 3). I'm not sure if it matters or not, but the person, category, and department have a drop down-box. I would also like for the priority to have a drop-down box, but I'm not sure if it's better just to leave blank for ease.

I know I am asking for probably a difficult code. Any assistance that can be provided would be MUCH appreciated. Perhaps what I'm asking for can't be done, in which case, please let me know. Thanks again for your help!
 

Forum statistics

Threads
1,081,575
Messages
5,359,715
Members
400,545
Latest member
Damntheman30

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top