Auto Copy values in case of zero values without using VBA or macro

Work_Sheet

New Member
Joined
Feb 12, 2018
Messages
2
Is there a command to copy values and update the destination range in case the values changes? Like I have a list of items that i sell everyday. Now not all of it are sold everyday, sometimes some of the items only in the list. What I what is something that will automatically copy the items that was sold and skip those items that did not sell. I know that the filter button can be handy but I need something that will be used as a sales tracker or something. But I don't need to run or click vba's. I need something that runs and update automatically whenever there is change in the sales. But in case an item is zero or did not sell on a particular day, the next item will follow the last and there should not be any space in between.

Can somebody help? Thanks....

SOURCE
DESTINATION
CODE
NAME
SOLD
CODE
NAME
SOLD
10001
Platter
13
10001
Platter
13
10002
Shrimp
3
10002
Shrimp
3
10003
CHK Wing
4
10003
CHK Wing
4
10005
Quesadilla
7
10005
Quesadilla
7
10006
Chees Stck
0
10007
Chees Fri
5
10007
Chees Fri
5
80006
DynamitShri
23
80006
DynamitShri
23
80009
Mushrooms
2
80009
Mushrooms
2




<tbody>
</tbody>
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
The generally accepted method is something like this:


Book1
ABCDEF
1SOURCEDESTINATION
2CODENAMESOLDCODENAMESOLD
310001Platter1310001Platter13
410002Shrimp310002Shrimp3
510003CHK Wing410003CHK Wing4
610005Quesadilla710005Quesadilla7
710006Chees Stck010007Chees Fri5
810007Chees Fri580006DynamitShri23
980006DynamitShri2380009Mushrooms2
1080009Mushrooms2
Sheet1
Cell Formulas
RangeFormula
D3{=IFERROR(INDEX(A$3:A$10,SMALL(IF($C$3:$C$10>0,ROW($C$3:$C$10)-ROW($C$3)+1),ROWS(D$3:D3))),"")}
E3{=IFERROR(INDEX(B$3:B$10,SMALL(IF($C$3:$C$10>0,ROW($C$3:$C$10)-ROW($C$3)+1),ROWS(E$3:E3))),"")}
F3{=IFERROR(INDEX(C$3:C$10,SMALL(IF($C$3:$C$10>0,ROW($C$3:$C$10)-ROW($C$3)+1),ROWS(F$3:F3))),"")}
Press CTRL+SHIFT+ENTER to enter array formulas.


WBD
 
Upvote 0

Forum statistics

Threads
1,215,514
Messages
6,125,263
Members
449,219
Latest member
daynle

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