I am using the following formula to pull specific data out of a table based on the criteria 1Due through 26Due. Is it possible to rewrite the formula into one master formula from which I can reference and add 1 to the #Due value.
For example.
Master Formula would have 1Due written into the formula in Cell A1, then in B1 I would simply need to write =A1+1.
At the moment I am using 26 of the formula above each the same except for the number preceding the word Due.
I was attempting to use the DSUM formula with SUM but am unable to get multiple criteria and fields to add up.
Any suggestions?
Code:
=SUMIF(BillChecklist[JAN],"1Due",BillChecklist[JANAMT])+SUMIF(BillChecklist[FEB],"1Due",BillChecklist[FEBAMT])+SUMIF(BillChecklist[MAR],"1Due",BillChecklist[MARAMT])+SUMIF(BillChecklist[APR],"1Due",BillChecklist[APRAMT])+SUMIF(BillChecklist[MAY],"1Due",BillChecklist[MAYAMT])+SUMIF(BillChecklist[JUN],"1Due",BillChecklist[JUNAMT])+SUMIF(BillChecklist[JUL],"1Due",BillChecklist[JULAMT])+SUMIF(BillChecklist[AUG],"1Due",BillChecklist[AUGAMT])+SUMIF(BillChecklist[SEP],"1Due",BillChecklist[SEPAMT])+SUMIF(BillChecklist[OCT],"1Due",BillChecklist[OCTAMT])+SUMIF(BillChecklist[NOV],"1Due",BillChecklist[NOVAMT])+SUMIF(BillChecklist[DEC],"1Due",BillChecklist[DECAMT])
For example.
Master Formula would have 1Due written into the formula in Cell A1, then in B1 I would simply need to write =A1+1.
At the moment I am using 26 of the formula above each the same except for the number preceding the word Due.
I was attempting to use the DSUM formula with SUM but am unable to get multiple criteria and fields to add up.
Any suggestions?