I have a spreadsheet created originally in Excel, and a formula that worked in Excel isn’t working in Calc. I’m hoping for help to adapt the formula.
The spreadsheet has columns headed up with dates of meetings. For each entity listed in the rows, one of four values is listed under each date: Y, N, Ap, N/A.
I’ve filled out all the cells with Y for the whole year. N, Ap and N/A are rarer and so it’s easier to enter only those as the year progresses. I was able to get Excel to count only those values in the rows that occurred in date columns on or before the current day, with the following formula:
=SUMPRODUCT(($H$5:$BA$5<=TODAY())*($H54:$BA54=A$5))
with A$5 being the cell containing the value needed to be counted.
Calc doesn’t recognise this formula. It’s counting all the values under all the columns. This means that it’s counting all the people ‘present’ in many meetings that haven’t happened yet.
Unfortunately if I delete all those Ys in the future cells, it messes up the various formulae I’ve got further down that count and analyse all the raw data in this first table.
So I’d like to come up with a way to keep all that pre-entered data and count only that for today and before today.
Can you suggest a new formula to do this?