Making an order history

TheEnd117

New Member
Joined
Jun 5, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
1st time I've posted a question anywhere, so please excuse any lack of info or etiquette.

I have 2 worksheets, the first is a form to fill out, the second is an order history. The second sheet will capture all the data filled in on the first form. There's a list of job numbers on the order history in column A. I've found a way to get the sheet to assign the next free number to the form automatically, by getting it to look for the next blank cell in column B and returning the values (job number) in column A. I now need to get the data to transfer from the 1st worksheeet (the form) and copy the values to the row in the order history which matches that job number.

For example, the first worksheet is titled "JOB TICKET" and has data in B1, B3, H1, A7, B7, C7, E7, F7. H7 is populated with the following: formula =(INDEX(JOBS!A:B,MATCH(TRUE,JOBS!B:B=0,0),1)). This looks for blank value in row B of the "JOBS" workbook and returns the job number from row A.

Once the form is filled in, I need a code to look up the job number in "JOBS" and put the data, as values, from B1, B3, H1 etc. into columns B,C,D etc. in the row where the same job number is in column A. Creating a job history in the "JOBS" speadsheet.

Hope all of this makes sense!
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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