Taking Data from one tab, looking up another tab and pasting a row in

ardykav

Board Regular
Joined
Oct 18, 2015
Messages
172
Office Version
  1. 365
Platform
  1. Windows
Hi,

I ned to keep a record of stock sold each week in a sportstoreI have two tabs. One called "Weekly Update" and the other called "All Stock". All Columns are named and formatted the exact same on both tabs.

I need to do a Weekly update of stock sold on the first tab. This has 7 Columns and will be manually entered.

Column A: Code
Column B: Name
Column C: List Price
Column D: Colour
Column E: Warehouse
Column F: Sale Price
Column G: Status


Then at the end of the week i want to update the All Stock by pressing a button. So ideally the All stock tab will be looked up and if any of the records are on the weekly tab they will be replaced on the All stock tab.

Scenario would be as follows:
You would start off by having the following on the All stock Sheet
Code
Name
List Price
Colour
Warehouse
Sale Price
Status
451
Power Shoes
$25
Red
Fields
N/A
Available

<tbody>
</tbody>


Then the weekly udpate is completed and has the following on it

Code
Name
List Price
Colour
Warehouse
Sale Price
Status
451
Power Shoes
$25
Red
Fields
$30
Sold

<tbody>
</tbody>


Then the button is pressed and the All Stock tab is updated with the sold status Row

Any advice on the best way of going about this? Possibly a macro loop of some sort?


All tips greatly appreciated,
 
Last edited:

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hi,

I ned to keep a record of stock sold each week in a sportstoreI have two tabs. One called "Weekly Update" and the other called "All Stock". All Columns are named and formatted the exact same on both tabs.

I need to do a Weekly update of stock sold on the first tab. This has 7 Columns and will be manually entered.

Column A: Code
Column B: Name
Column C: List Price
Column D: Colour
Column E: Warehouse
Column F: Sale Price
Column G: Status


Then at the end of the week i want to update the All Stock by pressing a button. So ideally the All stock tab will be looked up and if any of the records are on the weekly tab they will be replaced on the All stock tab.

Scenario would be as follows:
You would start off by having the following on the All stock Sheet
Code
Name
List Price
Colour
Warehouse
Sale Price
Status
451
Power Shoes
$25
Red
Fields
N/A
Available

<tbody>
</tbody>


Then the weekly udpate is completed and has the following on it

Code
Name
List Price
Colour
Warehouse
Sale Price
Status
451
Power Shoes
$25
Red
Fields
$30
Sold

<tbody>
</tbody>


Then the button is pressed and the All Stock tab is updated with the sold status Row

Any advice on the best way of going about this? Possibly a macro loop of some sort?


All tips greatly appreciated,


So if your Status sold then it should populate the prize in other tab instead of N/A..right?
 
Upvote 0
So if your Status sold then it should populate the prize in other tab instead of N/A..right?
Thats correct, The end result would be that the all stock tab had the following row in it rather than what it was originally:

451Power Shoes$25RedFields$30Sold


<tbody>


</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,537
Messages
6,125,393
Members
449,222
Latest member
taner zz

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