The entire worksheet working hinges on the ability of the main data table to apply numbering to entries automatically dependent on 3 other criteria. It is to first look at what kind of data-entry the row is, then for what department it is, and then what date it falls on to autonumber accordingly. The data is sorted by date.
In re-creating this for OpenOffice I have "simplified" what one would enter in this formula as instead of evaluating for 9+ "kinds", there are only 6,. this is possible because certain kinds can be grouped together for entry on the final form. (Please keep this in mind when looking at the input for Excel.)
In Excel, I was using:
Code: Select all
=IFERROR(IFS((OR(M2="Z",M2="J",M2="DR",M2="ES",M2="R")),COUNTIFS(D$2:D2,D2,L$2:L2,L2),(OR(M2="W",M2="HG",M2="CD",M2="D",M2="M")),COUNTIFS(D$2:D2,D2,B$2:B2,B2,L$2:L2,L2)),"")
Code: Select all
=IF(AND($M2="A";$L2="A");COUNTIFS(D$2:D2;D2))
To take a step further In OpenOffice, I have attempted:
Code: Select all
=IF(AND($M4="A";$L4="A");COUNTIFS(D$2:D4;D4;L$2:L4;L4);IF(AND($M4="A";$L4="B");COUNTIFS(D$2:D4;D4;L$2:L4;L4)))
Is there a way to achieve this same auto-numbering in OpenOffice?