macro for updating cells

instanceoftime

Board Regular
Joined
Mar 23, 2011
Messages
102
Thank you all for past help, I am here yet again.

I have a spreadsheet of inventory. I paste into it incoming inventory and would like to copy current info (price and sku) into the new cells.

The spreadsheet is sorted so any new inventory shows first.

If the item number is the same (A) I would like to copy (G) and (H) from below it (directly or not directly if it is blank as well)

20COKE CLASSIC 24/12 OZ5.9912/15/2214SUNDRIESBeverages
20COKE CLASSIC 24/12 OZ5.9911/4/2214SUNDRIES04900001278111.49Beverages
20COKE CLASSIC 24/12 OZ12.694/13/2214SUNDRIES04900001278111.49
25COKE DIET 24/12 OZ14.4911/4/2214SUNDRIESBeverages
25COKE DIET 24/12 OZ13.398/11/2214SUNDRIESBeverages
25COKE DIET 24/12 OZ12.696/23/2214SUNDRIES04900001063311.49Beverages
25COKE DIET 24/12 OZ11.697/27/2114SUNDRIES04900001063311.49
25COKE DIET 24/12 OZ11.195/26/2114SUNDRIES04900001063311.49
25COKE DIET 24/12 OZ10.991/13/2114SUNDRIES04900001063311.49
81PEPSI 24/12Z HI-CONE P1008.492/18/2214SUNDRIES012017017.69
81PEPSI 24/12Z HI-CONE P1006.595/5/2114SUNDRIES012017017.69
83DIET PEPSI 24/12Z HI-CONE8.498/27/2214SUNDRIESBeverages
83DIET PEPSI 24/12Z HI-CONE8.495/31/2214SUNDRIES0120001718577.69Beverages
83DIET PEPSI 24/12Z HI-CONE6.595/5/2114SUNDRIES0120001718577.69
123RUBBER MULCH 1.5CUFT RED10.999/14/2227GARDENGardening
150KIKKOMAN SOY SAUCE 64 OZ6.6911/4/2213FOODSauces
150KIKKOMAN SOY SAUCE 64 OZ5.9910/17/2213FOODSauces
150KIKKOMAN SOY SAUCE 64 OZ5.9910/6/2213FOOD0413900015055.39Sauces
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,215,723
Messages
6,126,470
Members
449,315
Latest member
misterzim

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