Need help extracting # of stores open BEFORE a date, and opened WITHIN a date... super confused.

excelNONgenius

New Member
Joined
Feb 27, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello,

I'm having problems with this, but I think the biggest reason is that I've been overthinking this too much.
I have the following columns. For this problem I only need ACTIVESTORE, LOCATION ACTIVE DATE, and LOCATION INACTIVE DATE.


1677528031077.png



From the dataset above, I need to extract the state on A.

Then on column B "the number [i.e. 1, 4, 19, etc] of stores already active by the start of 2018"

Then on column C I need to get a number that tells me HOW MANY STORES were active ONLY DURING 2018.

The difference between B and C is that B is a number that was active before 2018. Column C is only a number if the ACTIVE status occurred during 2018.

What do you think?

1677528130605.png
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Are the results going to another sheet separate from the data?
 
Upvote 0
Are you looking for a VBA solution or formula solution?
 
Upvote 0

Forum statistics

Threads
1,214,576
Messages
6,120,354
Members
448,956
Latest member
Adamsxl

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