Ignoring text values in a SUMPRODUCT(--(YEAR formula

ExcelPoser

New Member
Joined
Feb 14, 2022
Messages
1
Office Version
  1. 2010
Platform
  1. Windows
Hi all, I'm trying to design a spreadsheet to report on the number of project submissions my team has made over the course of the year, and also how many submissions were made over the course of the year for different stakeholders.

The thing is, some projects can be cancelled, but we still need to track that activity so in some cases you will have text in the submission date section saying "cancelled" or something along those lines.

Obviously this is creating the #value error and I'm struggling to make it ignore text. I'm trying to use IFERROR but that creates a massive spill.

Here is my original formula:

=SUMPRODUCT(--(YEAR(_Activity[[Date Submitted]:[Date Submitted]])=$A$1),--(_Activity[[Brand]:[Brand]]=C$6))

How can I make this ignore text values in the date submitted column?
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Map1
ABCD
1date submittedbrand3
214/02/2022a
314/02/2022b
414/02/2022a
514/02/2022c
6cancelleda
714/02/2022d
Blad3
Cell Formulas
RangeFormula
D1D1=SUMPRODUCT(--IF(ISNUMBER(Tabel1[date submitted]),YEAR(Tabel1[date submitted])=2022,Tabel1[date submitted]="cancelled"),--(Tabel1[brand]="a"))
 
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,449
Members
449,083
Latest member
Ava19

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