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....

[TABLE="width: 0"]
<tbody>[TR]
[TD="colspan: 3"]SOURCE
[/TD]
[TD][/TD]
[TD="colspan: 3"]DESTINATION
[/TD]
[/TR]
[TR]
[TD]CODE
[/TD]
[TD]NAME
[/TD]
[TD]SOLD
[/TD]
[TD][/TD]
[TD]CODE
[/TD]
[TD]NAME
[/TD]
[TD]SOLD
[/TD]
[/TR]
[TR]
[TD]10001
[/TD]
[TD]Platter
[/TD]
[TD]13
[/TD]
[TD][/TD]
[TD]10001
[/TD]
[TD]Platter
[/TD]
[TD]13
[/TD]
[/TR]
[TR]
[TD]10002
[/TD]
[TD]Shrimp
[/TD]
[TD]3
[/TD]
[TD][/TD]
[TD]10002
[/TD]
[TD]Shrimp
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]10003
[/TD]
[TD]CHK Wing
[/TD]
[TD]4
[/TD]
[TD][/TD]
[TD]10003
[/TD]
[TD]CHK Wing
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]10005
[/TD]
[TD]Quesadilla
[/TD]
[TD]7
[/TD]
[TD][/TD]
[TD]10005
[/TD]
[TD]Quesadilla
[/TD]
[TD]7
[/TD]
[/TR]
[TR]
[TD]10006
[/TD]
[TD]Chees Stck
[/TD]
[TD]0
[/TD]
[TD][/TD]
[TD]10007
[/TD]
[TD]Chees Fri
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]10007
[/TD]
[TD]Chees Fri
[/TD]
[TD]5
[/TD]
[TD][/TD]
[TD]80006
[/TD]
[TD]DynamitShri
[/TD]
[TD]23
[/TD]
[/TR]
[TR]
[TD]80006
[/TD]
[TD]DynamitShri
[/TD]
[TD]23
[/TD]
[TD][/TD]
[TD]80009
[/TD]
[TD]Mushrooms
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]80009
[/TD]
[TD]Mushrooms
[/TD]
[TD]2
[/TD]
[TD][/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
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,224,827
Messages
6,181,194
Members
453,021
Latest member
pingpong7117

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