Countifs and Isblank??

mg4654

New Member
Joined
Dec 18, 2018
Messages
2
I am trying to create a task list of pending tests on 1 main worksheet from another worksheet with multiple account numbers for the same person.

I need to match the account number (which is repeated multiple times on the worksheet I am pulling from) to a column that may or may not have a date. If a date is present it means the test is completed and if not the test is pending. When done I only want to show if any tests are "Pending". I don't want to show zero's or any other values. Every formula I try comes up with too many arguments.

Here's what I am working with

[TABLE="width: 581"]
<tbody>[TR]
[TD]Acct #[/TD]
[TD]Test[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Acct #[/TD]
[TD]Test Type[/TD]
[TD]Date Completed[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD]ABC[/TD]
[TD]1/18/2018[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1[/TD]
[TD]ABC[/TD]
[TD]6/15/2017[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]2[/TD]
[TD]ABC[/TD]
[TD]9/6/2018[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]2[/TD]
[TD]ABC[/TD]
[TD]8/15/2017[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]3[/TD]
[TD]ABC[/TD]
[TD]3/2/2017[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]3[/TD]
[TD]DEF[/TD]
[TD]3/8/2016[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]3[/TD]
[TD]JKL[/TD]
[TD]05/16/17[/TD]
[/TR]
[TR]
[TD]8[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R]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD]ABC[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD]ABC[/TD]
[TD]3/30/2017[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD]ABC[/TD]
[TD]3/30/2017[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD]ABC[/TD]
[TD]9/28/2017[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD]JKL[/TD]
[TD]11/26/17[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[TD]DEF[/TD]
[TD]10/31/2017
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Try

Excel 2013/2016
ABCDEFGH
1Acct #TestAcct #Test TypeDate Completed
21 1ABC18/01/2018
321ABC15/06/2017
432ABC06/09/2018
542ABC15/08/2017
65Pending3ABC02/03/2017
763DEF08/03/2016
873JKL16/05/2017
984ABC01/07/2018
109Pending4ABC11/05/2018
1110Pending4GHI04/06/2018
125ABC
135ABC17/08/2018
146ABC06/07/2018
157GHI30/06/2017
169ABC
179ABC28/07/2017
189JKL06/10/2017
199JKL
2010ABC
2110ABC30/03/2017
2210ABC30/03/2017
2310ABC28/09/2017
2410JKL26/11/2017
2510DEF31/10/2017
Settings
Cell Formulas
RangeFormula
B2=IF(COUNTIFS($H$2:$H$25,"",$F$2:$F$25,A2)>0,"Pending","")
 
Upvote 0
Another method -
Code:
=IFERROR(IF(INDEX($G$2:$G$25,MATCH(A2,$E$2:$E$25,0))="","Pending","Completed"),"No Account Number")
 
Upvote 0
Thank you!!!! Formula works perfectly.
Any way to speed up processing speed.....takes a while to calculate multiple formulas across spreadsheets.
 
Upvote 0
Glad we could help & thanks for the feedback.
As for speeding things up, it depends on the layout of your workbook and what formulae you are using.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top