Countifs to give YTD sales units

kellylet

New Member
Joined
Mar 23, 2023
Messages
2
Office Version
  1. 2021
Platform
  1. MacOS
I have this formula working on an older version of this report: COUNTIFS(Transactions[Year],B$2,Transactions[Mo No],"<="&MONTH(B$3&" 1")).

I have copied and pasted it into a new but similar project: COUNTIFS(Table1[Year],C$3,Table1[Month],"<="&MONTH(C$4&"1")) I am getting back a 0 result. Cell C3 is 2022 and C4 is February. I think the red text is the issue and yet I cannot find an answer online to calculate units sold year to date. I tried changing Feb to month "2" but that also did not work.

My monthly unit countif formula is working and giving me 16 units in Feb. COUNTIFS(Table1[General Status],"CL", Table1[Year],$C$3,Table1[Month],C$4)

I put a snip below of what I am working on. Any help is appreciated! Thanks.

Screen Shot 2023-03-23 at 9.40.26 PM.png
Screen Shot 2023-03-23 at 9.44.57 PM.png
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Hi @kellylet , Welcome to the forum.
is it possible you can post the source data that is in the countifs formula? The xl2bb add in is great for posting mini workbooks, and helps the forum help you.
In a worst case you could post the data as a table. Images are more often than not never helpful.

I (and i'm sure others) look forward to helping you.
 
Upvote 0
Thanks. I tried to get the mini-sheet to upload but my only result was the rainbow wheel of death. I'll keep trying.
 
Upvote 0
the forum can't do much without any data. Where is Table1? Please post as a table if you cannot get the xl2bb add in working. Images do not help much.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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