Excel Query, difference between dates except sundays

tuxo99

Board Regular
Joined
Aug 13, 2015
Messages
75
Hello,

I want to make by power query a new column that does the difference between the dates but not taking into account the sundays.

i hope you can help me

thank you


[TABLE="class: cms_table, width: 483"]
<tbody>[TR]
[TD]ORDER[/TD]
[TD]COMERCIAL[/TD]
[TD]Estado[/TD]
[TD]Canal[/TD]
[TD]START DATE[/TD]
[TD]FINISH DATE[/TD]
[TD]PRODUCT[/TD]
[/TR]
[TR]
[TD="align: right"]8366934[/TD]
[TD="align: right"]1[/TD]
[TD]Finalizada[/TD]
[TD]WEB[/TD]
[TD="align: right"]03/01/2017[/TD]
[TD="align: right"]21/01/2017[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD="align: right"]8370543[/TD]
[TD="align: right"]1[/TD]
[TD]Finalizada[/TD]
[TD]RETAIL[/TD]
[TD="align: right"]04/01/2017[/TD]
[TD="align: right"]07/01/2017[/TD]
[TD="align: right"]13[/TD]
[/TR]
[TR]
[TD="align: right"]8370690[/TD]
[TD="align: right"]3[/TD]
[TD]Pte. Facturar[/TD]
[TD]RETAIL[/TD]
[TD="align: right"]04/01/2017[/TD]
[TD="align: right"]24/01/2017[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD="align: right"]8370699[/TD]
[TD="align: right"]4[/TD]
[TD]Finalizada[/TD]
[TD]RETAIL[/TD]
[TD="align: right"]04/01/2017[/TD]
[TD="align: right"]09/01/2017[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]8379311[/TD]
[TD="align: right"]43[/TD]
[TD]Pte. Validar[/TD]
[TD]WEB[/TD]
[TD="align: right"]05/01/2017[/TD]
[TD="align: right"]19/01/2017[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD="align: right"]8390201[/TD]
[TD="align: right"]1[/TD]
[TD]Finalizada[/TD]
[TD]WEB[/TD]
[TD="align: right"]10/01/2017[/TD]
[TD="align: right"]26/01/2017[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]8398311[/TD]
[TD="align: right"]4[/TD]
[TD]Anulada[/TD]
[TD]WEB[/TD]
[TD="align: right"]12/01/2017[/TD]
[TD="align: right"]17/01/2017[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]8398897[/TD]
[TD="align: right"]4[/TD]
[TD]Finalizada[/TD]
[TD]WEB[/TD]
[TD="align: right"]12/01/2017[/TD]
[TD="align: right"]26/01/2017[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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