Automatically Move Cell Info When Row is Added

Brookelynn86

New Member
Joined
Dec 22, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Forgive me I am a noob.

I have an excel workbook that pulls data from an outside source that ends up adding rows for the new data. There are columns where we type in notes pertaining to the data in that row. I am trying to find out if it's possible to have the typed information automatically move with the same data in the row when updating and new rows get added, as currently the typed information is sitting in the same row it was written but now the data in that row is not the same as what it was previously. If that makes sense.

I really appreciate any assistance and look forward to learning something new!

The first (5) columns pulls from a hidden data sheet. The data sheet contains information pulled from outside source via Query. The following columns are for notes to enter manually.
The sorting has to be by PO# ascending for consistency.
We often have added PO#s to pull from our system when we update the data, and those rows get added in and push the other data down.
I want the manually entered notes to automatically follow the cells in column 1 when a new row is added. I can't seem to figure it out.


1640212738848.png
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Your notes in Cols 5 and 6 are not linked to your data (Cols 1-5) in any way.
Thus, when new data comes in (via query, vlookup, etc), anything in cols 5 and 6 will just sit there.

What you will need is for cols 5 and 6 to look up the notes dynamically.

In order to do this, you need to set up another worksheet Notes, with the following headings:
Col 1: PO#
Col 2: Tracking Notes
Col 3: Billing Notes
You will use this worksheet to write your notes.

Then, every time you refresh the PO data:
* for PO# that you want to add comments, copy that PO# to the Notes worksheet,
then insert your notes there.

In the original worksheet (Data, in my example), you type in the following formulae:

Tracking Notes column:
=IF(VLOOKUP(A2,Notes!A:C,2,FALSE)=0,"",VLOOKUP(A2,Notes!A:C,2,FALSE))

Billing Notes column:
=IF(VLOOKUP(A2,Notes!A:C,3,FALSE)=0,"",VLOOKUP(A2,Notes!A:C,3,FALSE))
 

Attachments

  • Example.jpg
    Example.jpg
    211.1 KB · Views: 40
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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
Back
Top