Create a list on multiple criteria from a dynamic master sheet

Dee Dee

New Member
Joined
Sep 18, 2020
Messages
20
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have a question that I am not sure if I am explaining right. I have a full database of information and I want to make a new sheet with a list off of that database carrying over three columns of information IF one other column in the database indicates Yes. I somehow cannot think of how to ask the question to be able to look for the answer. Any assistance would be appreciated. Clarification is probably needed I know.
 
Ok, that means you don't have the latest update yet. Try
Cell Formulas
RangeFormula
A2:D10A2=IFERROR(INDEX(Sheet1!B$2:B$100,AGGREGATE(15,6,(ROW(Sheet1!$M$2:$M$100)-ROW(Sheet1!$M$2)+1)/(Sheet1!$M$2:$M$100="y"),ROWS(A$2:A2))),"")
Ok I think Im doing something really wrong. The formula gives me no results. I was trying to work on a similar formula that I couldn't get done.

You refer to Sheet 1, is that my source or destination? Because I am figuring that is the source of the information so I entered the formula with the source sheet name wherever I saw sheet 1. I think the mistake I made was to think I would be sharing the entire document since this is the first time Im using a forum. The tabs have different names for me.
 
Upvote 0

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Yes, you will need to change Sheet1 to whatever your source sheet is called. As the source sheet has spaces in the name you will need to wrap it in single quotes like
Excel Formula:
INDEX('Contacts (No counseling)'!B$2:B$100
 
Upvote 0
Cannot determine what is wrong in your situation. It worked perfectly with the data you provided. Do you have a second tab named "Sheet2"
Complaints Tracker - FY21.xlsm
ABCDEF
1Days OpenCase #Complainant's NameEmployment StatusDate of Formal FilingDate Acknowledment Letter Sent
236-658/15/20208/20/20
31743/30/20204/2/20
43749/12/20199/30/19
5-89/28/20209/30/21
63859/1/20199/28/21
7 
8 
9 
10 
Formal Complaint Tracking
Cell Formulas
RangeFormula
B2B2=IFERROR(INDEX(Counselings!B$2:B$100,AGGREGATE(15,6,(ROW(Counselings!$M$2:$M$100)-ROW(Counselings!$M$2)+1)/(Counselings!$M$2:$M$100="y"),ROWS(A$2:A2))),"")
A2:A10A2=IF(TODAY()-E2>4000,"",TODAY()-E2)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D2:F7Cell Valuebetween 44105 and 44469textNO
D2:F7Cell Valuebetween 43374 and 43738textNO
D2:F7Cell Valuebetween 43739 and 44104textNO
D2:F7Cell Valueabove averagetextNO
Cells with Data Validation
CellAllowCriteria
D1:D10List=DropDown!$A$2:$A$5
 
Upvote 0
That is how it looks when I paste the formula in b2
Complaints Tracker - FY21.xlsm
ABCDEF
1Days OpenCase #Complainant's NameEmployment StatusDate of Formal FilingDate Acknowledment Letter Sent
236-658/15/20208/20/20
31743/30/20204/2/20
43749/12/20199/30/19
5-89/28/20209/30/21
63859/1/20199/28/21
7 
8 
9 
10 
Formal Complaint Tracking
Cell Formulas
RangeFormula
B2B2=IFERROR(INDEX(Counselings!B$2:B$100,AGGREGATE(15,6,(ROW(Counselings!$M$2:$M$100)-ROW(Counselings!$M$2)+1)/(Counselings!$M$2:$M$100="y"),ROWS(A$2:A2))),"")
A2:A10A2=IF(TODAY()-E2>4000,"",TODAY()-E2)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D2:F7Cell Valuebetween 44105 and 44469textNO
D2:F7Cell Valuebetween 43374 and 43738textNO
D2:F7Cell Valuebetween 43739 and 44104textNO
D2:F7Cell Valueabove averagetextNO
Cells with Data Validation
CellAllowCriteria
D1:D10List=DropDown!$A$2:$A$5
Im confusing myself because Im tired. That is not the right sheet I sent this second time. Contacts should send to sheet called counseling. Contacts is the first one I sent before. This one is the Counseling sheet. The destination for the formula is D2 in Counseling.

I appreciate you sticking with me through this. Im working and cooking and cleaning at the same time.


Complaints Tracker - FY21.xlsm
ABCDEFG
1Days OpenCounseling Days RemainingADR Days RemainingiComplaints/Case #Aggrieved Person (Name)Employment StatusDate of Initial Contact
2    
3   
4   
5   
6   
7   
8   
9   
10   
11   
12   
Counselings
Cell Formulas
RangeFormula
A2:A12A2=IF(G2="", "", IF($M2="Y", (N2-$G2), IF(O2="Y", (P2-G2), IF(X2="Y", (Y2-G2), TODAY()-G2))))
B2:B12B2=IF(A2="","",SUM(SUM(IF(K2="y",G2+90,G2+30)-G2)-A2))
C2:C12C2=IF(A2="","",SUM(SUM(IF(V2="y",G2+90," ")-G2)-A2))
D2D2=IFERROR(INDEX(Contacts!B$2:B$100,AGGREGATE(15,6,(ROW(Contacts!$M$2:$M$100)-ROW(Contacts!$M$2)+1)/(Contacts!$M$2:$M$100="y"),ROWS(A$2:A2))),"")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:B371Expression=$B2<10textNO
Cells with Data Validation
CellAllowCriteria
F1:F12List=DropDown!$A$2:$A$5
 
Upvote 0
Is the source sheet sheet called Contacts, or Contacts (No counseling)
 
Upvote 0
The source is Contacts. I changed the name of the tab because it had some brackets in it that the computer didn't seem to want to take.
 
Upvote 0
That should work
+Fluff New.xlsm
ABCDEFGHIJKLM
1ICOMPLAINTS #AGGRIEVED PERSONCOMMISSARY/HQEMPLOYMENT STATUSINITIAL CONTACT DATEASSIGNED COUNSELORBASIS(ES)ISSUE(S)HARASSMENT ALLEGED (Y/N)?HARSSMENT QUESTIONS ISSUED (Y/N)?DATE OF MOST RECENT ALLEGED ACTDATE OF CLOSUREPrevious Counseling (Y/N)
2abc1James Brownbottleunemployed01/08/2020Y
3abc2Lucille Ballcaresecretary02/01/2020y
4abc3Michael Jordanshoetailor04/03/2020y
5abc4Mickey Mouseslipperdealer02/09/2020n
6abc5George Jeffersondopedoctor01/12/2019n
7abc6Louise Jeffersoncanthief07/11/2019y
8abc7JJ Walkermatcarpenter02/03/2018y
9abc8Jane Doewarlaithworker30/09/2019y
10abc9Captain Ahabdogstevedore30/09/2018n
Contacts


Cell Formulas
RangeFormula
A2:A12A2=IF(G2="", "", IF($M2="Y", (N2-$G2), IF(O2="Y", (P2-G2), IF(X2="Y", (Y2-G2), TODAY()-G2))))
B2:B12B2=IF(A2="","",SUM(SUM(IF(K2="y",G2+90,G2+30)-G2)-A2))
C2:C12C2=IF(A2="","",SUM(SUM(IF(V2="y",G2+90," ")-G2)-A2))
D2:E12D2=IFERROR(INDEX(Contacts!A$2:A$100,AGGREGATE(15,6,(ROW(Contacts!$M$2:$M$100)-ROW(Contacts!$M$2)+1)/(Contacts!$M$2:$M$100="y"),ROWS(A$2:A2))),"")
F2:G12F2=IFERROR(INDEX(Contacts!D$2:D$100,AGGREGATE(15,6,(ROW(Contacts!$M$2:$M$100)-ROW(Contacts!$M$2)+1)/(Contacts!$M$2:$M$100="y"),ROWS(C$2:C2))),"")
 
Upvote 0
That should work
+Fluff New.xlsm
ABCDEFGHIJKLM
1ICOMPLAINTS #AGGRIEVED PERSONCOMMISSARY/HQEMPLOYMENT STATUSINITIAL CONTACT DATEASSIGNED COUNSELORBASIS(ES)ISSUE(S)HARASSMENT ALLEGED (Y/N)?HARSSMENT QUESTIONS ISSUED (Y/N)?DATE OF MOST RECENT ALLEGED ACTDATE OF CLOSUREPrevious Counseling (Y/N)
2abc1James Brownbottleunemployed01/08/2020Y
3abc2Lucille Ballcaresecretary02/01/2020y
4abc3Michael Jordanshoetailor04/03/2020y
5abc4Mickey Mouseslipperdealer02/09/2020n
6abc5George Jeffersondopedoctor01/12/2019n
7abc6Louise Jeffersoncanthief07/11/2019y
8abc7JJ Walkermatcarpenter02/03/2018y
9abc8Jane Doewarlaithworker30/09/2019y
10abc9Captain Ahabdogstevedore30/09/2018n
Contacts


Cell Formulas
RangeFormula
A2:A12A2=IF(G2="", "", IF($M2="Y", (N2-$G2), IF(O2="Y", (P2-G2), IF(X2="Y", (Y2-G2), TODAY()-G2))))
B2:B12B2=IF(A2="","",SUM(SUM(IF(K2="y",G2+90,G2+30)-G2)-A2))
C2:C12C2=IF(A2="","",SUM(SUM(IF(V2="y",G2+90," ")-G2)-A2))
D2:E12D2=IFERROR(INDEX(Contacts!A$2:A$100,AGGREGATE(15,6,(ROW(Contacts!$M$2:$M$100)-ROW(Contacts!$M$2)+1)/(Contacts!$M$2:$M$100="y"),ROWS(A$2:A2))),"")
F2:G12F2=IFERROR(INDEX(Contacts!D$2:D$100,AGGREGATE(15,6,(ROW(Contacts!$M$2:$M$100)-ROW(Contacts!$M$2)+1)/(Contacts!$M$2:$M$100="y"),ROWS(C$2:C2))),"")
Thank you so very much! I really do appreciate all the help that you gave me on this!!!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
Hey one more question. Now that i have the information on the required sheet, I notice that if there is a filter applied, this info does not filter with the rest of the sheet. Is there a way to keep the information that is in the same row together when filtered? Or will I have to advise DO NOT FILTER?
 
Upvote 0

Forum statistics

Threads
1,214,875
Messages
6,122,042
Members
449,063
Latest member
ak94

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