Store sales to exclude

sadath

Active Member
Joined
Oct 10, 2004
Messages
262
Office Version
  1. 365
Platform
  1. Windows
Hi all
Four table is my file as follows
Table1 : Sales2016
Columns : StoreID Date Sales16 <this has 400 stores daywise sales

Table2 : Sales2017
Columns : StoreID Date Sales17 <this has 400 stores daywise sales

Table3 : StoreMaster
Columns : StoreID Manager_Name Province <this has 400 stores detail

Table4 : Store_ClosurePeriod
Columns : StoreID Date_From Date_To <this has store closed period in 2016 & 2017, will have multiple data for same store.


How can I sum Sales2016[Sales16] excluding closed period

Eg. if Store_ClosurePeriod table having data of

Store A 3/2/2017 25/2/2017
Store A 7/6/2016 7/7/2016
Store B 3/1/2017 30/1/2017

record1 Store A is closed from 3/12/17 to 25/2/2017 obviously 2017 doesnt have sales but i need to exclude sales of same period in
Sales2016
i tried to calculated column in Sales2016 & Sales2017, it fails when Store_ClosurePeriod table multiple data for same store

any help appreciated.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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