I've got a sheet with a list of open dates and close dates for stores. Basically I want a count of all stores open as of a certain month...seems easy enough. I set up a countif to give me the number of stores with open dates before the certain month, and then subtracted the stores with close dates before that same month. The problem is not all stores with close dates have open dates, so I can't subtract all of the stores with close dates, I need to make sure they have open dates as well. Basically I'd like to do something like dsum with dcount...I'd like to set up a criteria for one range, but count another range. Here's an example of what I'm talking about in case it's confusing:
open close
1/1/02
5/1/01
1/1/02 4/1/02
So if I'm checking for number of stores open as of today I would get 2 for the dcount of open and 2 for the dcount of closed...meaning there would be 2-2=0 stores open when there's really 1 open. Any help would be great.
Kevin
open close
1/1/02
5/1/01
1/1/02 4/1/02
So if I'm checking for number of stores open as of today I would get 2 for the dcount of open and 2 for the dcount of closed...meaning there would be 2-2=0 stores open when there's really 1 open. Any help would be great.
Kevin