So I have a mess I'm trying to work with. What I'm trying to do is if column G or H has a date in it (isn't blank), count the cell as 1 and return the number. While I don't have an issue with that part, my complication comes in if there's a value (not blank) in column H- that is, it counts it twice. What I need to do is only count it only once even if H has something written in it. However, sometimes only H column is filled, and I still need that column to be counted. Further, I also need it to automatically subtract from the total if column J has the text "Rem'd", "Redefault", or "Disputing" in it.
Here are the various equations I've tried, starting with my original one:
=COUNTA(G2:H2019)-(COUNTIF(J:J,"*REDEFAULT*")+COUNTIF(J:J,"*DISPUTING*")+COUNTIF(J:J,"*REM'D*"))
=COUNTIF(G2:G2012,AND(G2:G2012="<>"&"",H2:H2012=""))
=COUNTIF(G2:G2012,AND(G2:G2012="<>"&"",H2:H2012=""))-(COUNTIF(J:J,"*REDEFAULT*")+COUNTIF(J:J,"*DISPUTING*")+COUNTIF(J:J,"*REM'D*"))
=COUNTA(AND(G2:G2012="<>"&"",H2:H2012=""))-(COUNTIF(J:J,"*REDEFAULT*")+COUNTIF(J:J,"*DISPUTING*")+COUNTIF(J:J,"*REM'D*"))
In order, the above equations return 4, 0, -16, and -15
My data is below, and what I need it to return is 1 for the displayed data, or if all the notes in J is removed, 17.
[table="width: 500"]
[tr]
[td]G[/td]
[td]H[/td]
[td]I[/td]
[td]J[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td]February Complete[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td]02/04/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/05/2016[/td]
[td]02/08/2016[/td]
[td][/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/05/2016[/td]
[td]02/08/2016[/td]
[td][/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/04/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td]02/16/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td]02/17/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/17/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/05/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/18/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/19/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td]02/24/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/24/2016[/td]
[td]02/26/2016[/td]
[td][/td]
[td][/td]
[/tr]
[tr]
[td]02/23/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/24/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/18/2016[/td]
[td][/td]
[td][/td]
[td]Disputing[/td]
[/tr]
[tr]
[td]02/26/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td]02/04/2016[/td]
[td][/td]
[td]Redefault[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td][/td]
[td][/td]
[/tr]
[/table]
Could anyone help me please? I'm willing to provide more information as needed, considering I'm not sure what other information may possibly be required to solve my issue.
Here are the various equations I've tried, starting with my original one:
=COUNTA(G2:H2019)-(COUNTIF(J:J,"*REDEFAULT*")+COUNTIF(J:J,"*DISPUTING*")+COUNTIF(J:J,"*REM'D*"))
=COUNTIF(G2:G2012,AND(G2:G2012="<>"&"",H2:H2012=""))
=COUNTIF(G2:G2012,AND(G2:G2012="<>"&"",H2:H2012=""))-(COUNTIF(J:J,"*REDEFAULT*")+COUNTIF(J:J,"*DISPUTING*")+COUNTIF(J:J,"*REM'D*"))
=COUNTA(AND(G2:G2012="<>"&"",H2:H2012=""))-(COUNTIF(J:J,"*REDEFAULT*")+COUNTIF(J:J,"*DISPUTING*")+COUNTIF(J:J,"*REM'D*"))
In order, the above equations return 4, 0, -16, and -15
My data is below, and what I need it to return is 1 for the displayed data, or if all the notes in J is removed, 17.
[table="width: 500"]
[tr]
[td]G[/td]
[td]H[/td]
[td]I[/td]
[td]J[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td]February Complete[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td]02/04/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/05/2016[/td]
[td]02/08/2016[/td]
[td][/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/05/2016[/td]
[td]02/08/2016[/td]
[td][/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/04/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td]02/16/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td]02/17/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/17/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/05/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/18/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/19/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td]02/24/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/24/2016[/td]
[td]02/26/2016[/td]
[td][/td]
[td][/td]
[/tr]
[tr]
[td]02/23/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/24/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td]02/18/2016[/td]
[td][/td]
[td][/td]
[td]Disputing[/td]
[/tr]
[tr]
[td]02/26/2016[/td]
[td][/td]
[td]x[/td]
[td]Rem'd[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td]02/04/2016[/td]
[td][/td]
[td]Redefault[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td]x[/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td][/td]
[td][/td]
[/tr]
[/table]
Could anyone help me please? I'm willing to provide more information as needed, considering I'm not sure what other information may possibly be required to solve my issue.