How to Limit my countifs based on rows

Ritche

New Member
Joined
May 7, 2019
Messages
6
Hi Everyone, I been banging my head over 2 days trying to figure out how to forecast the amount of sensors.

The data I have has column B (Locations) But this location doubles up based on the different branch it has. So some location can have up to 10 entries. from C to AC are dates that each locations's branch needs more unit.

Since I have to send it to the Main location, how do I limit my countifs to just that location automatically?

I calculated the overall how much I need to send out per month using.

=COUNTIFS(Sheet4!$C:$AC,">4/1/2019", Sheet4!$C:$AC,"<4/30/2019") <-- this is an example of April.

How do I limit the count per location. Location are example ( 201,202,203,204, etc..) Do I need to add vlook up? Location are all over the cell and i would have to add it so I can't limit the range.

Also since I only need the month information is there a way to conver the 4/10/2019 to just say april 2019 and reads as April 2019? I had to do the date range because when i format the date to Apr 2019 it still has the actually date on it.
 

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).

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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