Date and Users; Obtain first part of day´s sales

Sirmarte

New Member
Joined
May 23, 2014
Messages
4
Hi guys,


I have an issue with this for a couple of days actually..
I have to find in a certain date "column B" if User "column C" changes from the initial user´s number to another one to gave me the first half sales of the day and then obtain the other sales of the other part, this must reestart again when the date changes.
I have to know what was the sales on the two parts of the day and then in column F assign "Mañana" or "Tarde" for second part of day

The User "column D", can be diferent each day.
I attach the excel data to get a better explanation on this.
Thanks for your time on this..


[TABLE="width: 499"]
<tbody>[TR]
[TD]Descripción[/TD]
[TD]Fecha del movimiento[/TD]
[TD]Clave del usuario[/TD]
[TD]Tipo de movimiento[/TD]
[TD]Referencia[/TD]
[/TR]
[TR]
[TD]abrir cajon dinero[/TD]
[TD]01/05/2014[/TD]
[TD]3[/TD]
[TD]Ventas[/TD]
[TD]0012900[/TD]
[/TR]
[TR]
[TD]Mavilan, Lanzoprasol 30 mg C/14 Caps[/TD]
[TD]01/05/2014[/TD]
[TD]3[/TD]
[TD]Ventas[/TD]
[TD]0012901[/TD]
[/TR]
[TR]
[TD]Mexapin, Ampicilina de 500mg c/20 Caps[/TD]
[TD]01/05/2014[/TD]
[TD]6[/TD]
[TD]Ventas[/TD]
[TD]0012902[/TD]
[/TR]
[TR]
[TD]Ulcevit, Ranitidina 300 mg c/10 grageas[/TD]
[TD]01/05/2014[/TD]
[TD]6[/TD]
[TD]Ventas[/TD]
[TD]0012903[/TD]
[/TR]
[TR]
[TD]Telcel, Telcel tiempo aire $31[/TD]
[TD]02/05/2014[/TD]
[TD]3[/TD]
[TD]Ventas[/TD]
[TD]0012904[/TD]
[/TR]
[TR]
[TD]Son's, Clotrimazol Dual 200mg, Óvulos/crema[/TD]
[TD]02/05/2014[/TD]
[TD]3[/TD]
[TD]Ventas[/TD]
[TD]0012905[/TD]
[/TR]
[TR]
[TD]Euroderm, Clotrimazol 2% crema ******l, Crema c/20G[/TD]
[TD]02/05/2014[/TD]
[TD]5[/TD]
[TD]Ventas[/TD]
[TD]0012905[/TD]
[/TR]
[TR]
[TD]Mexapin, Ampicilina de 500mg c/20 Caps[/TD]
[TD]02/05/2014[/TD]
[TD]5[/TD]
[TD]Ventas[/TD]
[TD]0012906[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,633
Latest member
DougMo

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