Help! COUNTIFS Formula Logic with 2 Date Fields

Tim Möhle
Tim Möhle ✭✭
edited 12/09/19 in Smartsheet Basics

I am referencing V2.0 of a shared spreadsheet that now has 2 "Created Date" fields:  1) the system generated CREATED column that will be valid for all new entries going forwards, and 2) a LEGACY CREATED DATE column that reflects when older entries were originally created (before they were imported into the new sheet.

I have a COUNTIFS formula which I use to tally the number of entries that meet all my criteria, but now need to fold in a condition that checks to see first if there is a value if the LEGACY CREATED DATE COLUMN to use that date,  if not, then use the date in the CREATED column.

e.g.  I've attached pictures of my tally sheet and sample source data.  I use a formula like this to get my tallies by month:  

=COUNTIFS({Business Unit}, "Customer Care", {Created Date}, (AND(MONTH(@cell) = 11, YEAR(@cell) = 2018)), {Request Status}, @cell = [Care Request Status]2)

Now, I need it to check to see if there's a date in the LEGACY CREATED DATE column first and if it's blank, default to the CREATED column date.

Appreciate your help.

Tim

Tally Sheet.JPG

Formula Pic.JPG

Comments