name(partial or not) and searches all the other sheets in workbook

CrashOD

Board Regular
Joined
Feb 5, 2019
Messages
118
Office Version
  1. 2021
  2. 2016
Platform
  1. Windows
I have one Sheet(Personal Cert)
Personal Taxes.xlsx
ABCDEFGHIJKLMN
1Enter File#:Name Search
2663028<-------File Number Onlyjohn
3FILE:663028NAMEDATEBILL #DISCOUNTFACEPENELTYOLD ***NEW ***ADDRESSApt#NOTE
42022 C&LHAUER REBECCAUNPAID01500135$60.32$61.55$67.7150 906 E SUNBURY ST  #VALUE!
52022 SCHOOLHAUER REBECCAUNPAID01500126$107.80$110.00$121.0050 906 E SUNBURY ST SHAMOKIN PA 17872 
6
7NAMEDATEBILL #DISCOUNTFACEPENELTYOLD ***NEW ***ADDRESSApt#NOTE
82021 C&LHAUER REBECCAUNPAID01500159$60.32$61.55$67.7150 906 E SUNBURY ST  
92021 SCHOOLHAUER REBECCAUNPAID01500143$107.80$110.00$121.0050 906 E SUNBURY ST SHAMOKIN PA 17872 
10
11NAMEDATEBILL #DISCOUNTFACEPENELTYOLD ***NEW ***ADDRESSApt#NOTE
122020 C&LHAVIER REBECCA UNPAID01500165$60.32$61.55$67.7150 906 E SUNBURY ST NAME CORRECTION: HAUER, REBECCA
132020 SCHOOLHAUER REBECCAUNPAID01500162$107.80$110.00$110.0050 906 E SUNBURY ST SHAMOKIN PA 17872 
Personal Cert
Cell Formulas
RangeFormula
A3A3=CONCATENATE("FILE:",A2)
B4B4=INDEX('[Occ County Local 2022.xls]Per Capita'!$A$2:$O$7002,MATCH($A$3,'[Occ County Local 2022.xls]Per Capita'!$O$2:$O$7002,0),1)
C4C4=IF(INDEX('[Occ County Local 2022.xls]Per Capita'!$C$2:$O$7002,MATCH($A$3,'[Occ County Local 2022.xls]Per Capita'!$O$2:$O$7002,0),1)="","UNPAID",INDEX('[Occ County Local 2022.xls]Per Capita'!$C$2:$O$7002,MATCH($A$3,'[Occ County Local 2022.xls]Per Capita'!$O$2:$O$7002,0),1))
D4D4=INDEX('[Occ County Local 2022.xls]Per Capita'!$B$2:$O$7002,MATCH($A$3,'[Occ County Local 2022.xls]Per Capita'!$O$2:$O$7002,0),1)
E4E4=INDEX('[Occ County Local 2022.xls]Per Capita'!$H$2:$O$7002,MATCH($A$3,'[Occ County Local 2022.xls]Per Capita'!$O$2:$O$7002,0),1)
F4F4=INDEX('[Occ County Local 2022.xls]Per Capita'!$I$2:$O$7002,MATCH($A$3,'[Occ County Local 2022.xls]Per Capita'!$O$2:$O$7002,0),1)
G4G4=INDEX('[Occ County Local 2022.xls]Per Capita'!$J$2:$O$7002,MATCH($A$3,'[Occ County Local 2022.xls]Per Capita'!$O$2:$O$7002,0),1)
H4H4=INDEX('[Occ County Local 2022.xls]Per Capita'!$N$2:$O$7002,MATCH($A$3,'[Occ County Local 2022.xls]Per Capita'!$O$2:$O$7002,0),1)
I4I4=INDEX('[Occ County Local 2022.xls]Per Capita'!$O$2:$Q$7002,MATCH($A$3,'[Occ County Local 2022.xls]Per Capita'!$O$2:$O$7002,0),3)
J4J4=IF(INDEX('[Occ County Local 2022.xls]Per Capita'!$O$2:$T$7002,MATCH($A$3,'[Occ County Local 2022.xls]Per Capita'!$O$2:$O$7002,0),6)="","",INDEX('[Occ County Local 2022.xls]Per Capita'!$O$2:$T$7002,MATCH($A$3,'[Occ County Local 2022.xls]Per Capita'!$O$2:$O$7002,0),6))
K4K4=IF(INDEX('[Occ County Local 2022.xls]Per Capita'!$O$2:$U$7002,MATCH($A$3,'[Occ County Local 2022.xls]Per Capita'!$O$2:$O$7002,0),7)="","",INDEX('[Occ County Local 2022.xls]Per Capita'!$O$2:$U$7002,MATCH($A$3,'[Occ County Local 2022.xls]Per Capita'!$O$2:$O$7002,0),7))
L4L4=IF(INDEX('[Occ County Local 2022.xls]Per Capita'!$G$2:$O$7002,MATCH($A$3,'[Occ County Local 2022.xls]Per Capita'!$O$2:$O$7002,0),1)="","",INDEX('[Occ County Local 2022.xls]Per Capita'!$G$2:$O$7002,MATCH($A$3,'[Occ County Local 2022.xls]Per Capita'!$O$2:$O$7002,0),1))
B5B5=INDEX('[Occ_School 2022.xls]Per Capita'!$A$2:$N$7002,MATCH($A$3,'[Occ_School 2022.xls]Per Capita'!$N$2:$N$7002,0),1)
C5C5=IF(INDEX('[Occ_School 2022.xls]Per Capita'!$C$2:$N$7002,MATCH($A$3,'[Occ_School 2022.xls]Per Capita'!$N$2:$N$7002,0),1)="","UNPAID",INDEX('[Occ_School 2022.xls]Per Capita'!$C$2:$N$7002,MATCH($A$3,'[Occ_School 2022.xls]Per Capita'!$N$2:$N$7002,0),1))
D5D5=INDEX('[Occ_School 2022.xls]Per Capita'!$B$2:$N$7002,MATCH($A$3,'[Occ_School 2022.xls]Per Capita'!$N$2:$N$7002,0),1)
E5E5=INDEX('[Occ_School 2022.xls]Per Capita'!$H$2:$N$7002,MATCH($A$3,'[Occ_School 2022.xls]Per Capita'!$N$2:$N$7002,0),1)
F5F5=INDEX('[Occ_School 2022.xls]Per Capita'!$I$2:$N$7002,MATCH($A$3,'[Occ_School 2022.xls]Per Capita'!$N$2:$N$7002,0),1)
G5G5=INDEX('[Occ_School 2022.xls]Per Capita'!$J$2:$N$7002,MATCH($A$3,'[Occ_School 2022.xls]Per Capita'!$N$2:$N$7002,0),1)
H5H5=INDEX('[Occ_School 2022.xls]Per Capita'!$M$2:$N$7002,MATCH($A$3,'[Occ_School 2022.xls]Per Capita'!$N$2:$N$7002,0),1)
I5I5=IF(INDEX('[Occ_School 2022.xls]Per Capita'!$N$2:$P$7002,MATCH($A$3,'[Occ_School 2022.xls]Per Capita'!$N$2:$N$7002,0),3)="","",INDEX('[Occ_School 2022.xls]Per Capita'!$N$2:$P$7002,MATCH($A$3,'[Occ_School 2022.xls]Per Capita'!$N$2:$N$7002,0),3))
J5J5=INDEX('[Occ_School 2022.xls]Per Capita'!$N$2:$S$7002,MATCH($A$3,'[Occ_School 2022.xls]Per Capita'!$N$2:$N$7002,0),6)
K5K5=INDEX('[Occ_School 2022.xls]Per Capita'!$N$2:$T$7002,MATCH($A$3,'[Occ_School 2022.xls]Per Capita'!$N$2:$N$7002,0),7)
L5L5=IF(INDEX('[Occ_School 2022.xls]Per Capita'!$G$2:$N$7002,MATCH($A$3,'[Occ_School 2022.xls]Per Capita'!$N$2:$N$7002,0),1)="","",INDEX('[Occ_School 2022.xls]Per Capita'!$G$2:$N$7002,MATCH($A$3,'[Occ_School 2022.xls]Per Capita'!$N$2:$N$7002,0),1))
N4N4= VLOOKUP(N2,'C&L 2021'!A:A,1,'[Rle_School 2022.xls]Real Estate'!$B$2422)
B8B8=INDEX('C&L 2021'!$A$2:$P$5573,MATCH($A$3,'C&L 2021'!$P$2:$P$5573,0),1)
C8C8=IF(INDEX('C&L 2021'!$C$2:$P$5573,MATCH($A$3,'C&L 2021'!$P$2:$P$5573,0),1)="","UNPAID",INDEX('C&L 2021'!$C$2:$P$5573,MATCH($A$3,'C&L 2021'!$P$2:$P$5573,0),1))
D8D8=INDEX('C&L 2021'!$B$2:$P$5573,MATCH($A$3,'C&L 2021'!$P$2:$P$5573,0),1)
E8E8=INDEX('C&L 2021'!$I$2:$P$5573,MATCH($A$3,'C&L 2021'!$P$2:$P$5573,0),1)
F8F8=INDEX('C&L 2021'!$J$2:$P$5573,MATCH($A$3,'C&L 2021'!$P$2:$P$5573,0),1)
G8G8=INDEX('C&L 2021'!$K$2:$P$5573,MATCH($A$3,'C&L 2021'!$P$2:$P$5573,0),1)
H8H8=INDEX('C&L 2021'!$O$2:$P$5573,MATCH($A$3,'C&L 2021'!$P$2:$P$5573,0),1)
I8I8=IF(INDEX('C&L 2021'!$P$2:$R$5573,MATCH($A$3,'C&L 2021'!$P$2:$P$5573,0),3)="","",INDEX('C&L 2021'!$P$2:$R$5573,MATCH($A$3,'C&L 2021'!$P$2:$P$5573,0),3))
J8J8=INDEX('C&L 2021'!$P$2:$U$5573,MATCH($A$3,'C&L 2021'!$P$2:$P$5573,0),6)
K8K8=INDEX('C&L 2021'!$P$2:$V$5573,MATCH($A$3,'C&L 2021'!$P$2:$P$5573,0),7)
L8L8=IF(INDEX('C&L 2021'!$H$2:$P$5573,MATCH($A$3,'C&L 2021'!$P$2:$P$5573,0),1)="","",INDEX('C&L 2021'!$H$2:$P$5573,MATCH($A$3,'C&L 2021'!$P$2:$P$5573,0),1))
B9B9=INDEX('SK 2021'!$A$2:$N$4596,MATCH($A$3,'SK 2021'!$N$2:$N$4596,0),1)
C9C9=IF(INDEX('SK 2021'!$A$2:$N$4596,MATCH($A$3,'SK 2021'!$N$2:$N$4596,0),3)="","UNPAID",INDEX('SK 2021'!$A$2:$N$4596,MATCH($A$3,'SK 2021'!$N$2:$N$4596,0),3))
D9D9=INDEX('SK 2021'!$B$2:$N$4596,MATCH($A$3,'SK 2021'!$N$2:$N$4596,0),1)
E9E9=INDEX('SK 2021'!$H$2:$N$4596,MATCH($A$3,'SK 2021'!$N$2:$N$4596,0),1)
F9F9=INDEX('SK 2021'!$I$2:$N$4596,MATCH($A$3,'SK 2021'!$N$2:$N$4596,0),1)
G9G9=INDEX('SK 2021'!$J$2:$N$4596,MATCH($A$3,'SK 2021'!$N$2:$N$4596,0),1)
H9H9=INDEX('SK 2021'!$M$2:$N$4596,MATCH($A$3,'SK 2021'!$N$2:$N$4596,0),1)
I9I9=IF(INDEX('SK 2021'!$N$2:$P$4596,MATCH($A$3,'SK 2021'!$N$2:$N$4596,0),3)="","",INDEX('SK 2021'!$N$2:$P$4596,MATCH($A$3,'SK 2021'!$N$2:$N$4596,0),3))
J9J9=INDEX('SK 2021'!$N$2:$S$4596,MATCH($A$3,'SK 2021'!$N$2:$N$4596,0),6)
K9K9=INDEX('SK 2021'!$N$2:$T$4596,MATCH($A$3,'SK 2021'!$N$2:$N$4596,0),7)
L9L9=IF(INDEX('SK 2021'!$G$2:$N$4596,MATCH($A$3,'SK 2021'!$N$2:$N$4596,0),1)="","",INDEX('SK 2021'!$G$2:$N$4596,MATCH($A$3,'SK 2021'!$N$2:$N$4596,0),1))
B12B12=INDEX('C&L 2020'!$A$2:$O$5569,MATCH($A$3,'C&L 2020'!$O$2:$O$5569,0),1)
C12C12=IF(INDEX('C&L 2020'!$C$2:$O$5569,MATCH($A$3,'C&L 2020'!$O$2:$O$5569,0),1)="","UNPAID",INDEX('C&L 2020'!$C$2:$O$5569,MATCH($A$3,'C&L 2020'!$O$2:$O$5569,0),1))
D12D12=INDEX('C&L 2020'!$B$2:$O$5569,MATCH($A$3,'C&L 2020'!$O$2:$O$5569,0),1)
E12E12=INDEX('C&L 2020'!$H$2:$O$5569,MATCH($A$3,'C&L 2020'!$O$2:$O$5569,0),1)
F12F12=INDEX('C&L 2020'!$I$2:$O$5569,MATCH($A$3,'C&L 2020'!$O$2:$O$5569,0),1)
G12G12=INDEX('C&L 2020'!$J$2:$O$5569,MATCH($A$3,'C&L 2020'!$O$2:$O$5569,0),1)
H12H12=INDEX('C&L 2020'!$N$2:$O$5569,MATCH($A$3,'C&L 2020'!$O$2:$O$5569,0),1)
I12I12=IF(INDEX('C&L 2020'!$O$2:$Q$5569,MATCH($A$3,'C&L 2020'!$O$2:$O$5569,0),3)="","",INDEX('C&L 2020'!$O$2:$Q$5569,MATCH($A$3,'C&L 2020'!$O$2:$O$5569,0),3))
J12J12=INDEX('C&L 2020'!$O$2:$U$5569,MATCH($A$3,'C&L 2020'!$O$2:$O$5569,0),7)
K12K12=INDEX('C&L 2020'!$O$2:$V$5569,MATCH($A$3,'C&L 2020'!$O$2:$O$5569,0),8)
L12L12=IF(INDEX('C&L 2020'!$G$2:$O$5569,MATCH($A$3,'C&L 2020'!$O$2:$O$5569,0),1)="","",INDEX('C&L 2020'!$G$2:$O$5569,MATCH($A$3,'C&L 2020'!$O$2:$O$5569,0),1))
B13B13=INDEX('SK 2020'!$A$2:$N$5469,MATCH($A$3,'SK 2020'!$N$2:$N$5469,0),1)
C13C13=IF(INDEX('SK 2020'!$C$2:$N$5469,MATCH($A$3,'SK 2020'!$N$2:$N$5469,0),1)="","UNPAID",INDEX('SK 2020'!$C$2:$N$5469,MATCH($A$3,'SK 2020'!$N$2:$N$5469,0),1))
D13D13=INDEX('SK 2020'!$B$2:$N$5469,MATCH($A$3,'SK 2020'!$N$2:$N$5469,0),1)
E13E13=INDEX('SK 2020'!$H$2:$N$5469,MATCH($A$3,'SK 2020'!$N$2:$N$5469,0),1)
F13F13=INDEX('SK 2020'!$I$2:$N$5469,MATCH($A$3,'SK 2020'!$N$2:$N$5469,0),1)
G13G13=INDEX('SK 2020'!$J$2:$N$5469,MATCH($A$3,'SK 2020'!$N$2:$N$5469,0),1)
H13H13=INDEX('SK 2020'!$M$2:$N$5469,MATCH($A$3,'SK 2020'!$N$2:$N$5469,0),1)
I13I13=IF(INDEX('SK 2020'!$N$2:$P$5469,MATCH($A$3,'SK 2020'!$N$2:$N$5469,0),3)="","",INDEX('SK 2020'!$N$2:$P$5469,MATCH($A$3,'SK 2020'!$N$2:$N$5469,0),3))
J13J13=INDEX('SK 2020'!$N$2:$T$5469,MATCH($A$3,'SK 2020'!$N$2:$N$5469,0),7)
K13K13=INDEX('SK 2020'!$N$2:$U$5469,MATCH($A$3,'SK 2020'!$N$2:$N$5469,0),8)
L13L13=IF(INDEX('SK 2020'!$G$2:$N$5469,MATCH($A$3,'SK 2020'!$N$2:$N$5469,0),1)="","",INDEX('SK 2020'!$G$2:$N$5469,MATCH($A$3,'SK 2020'!$N$2:$N$5469,0),1))
Named Ranges
NameRefers ToCells
'Personal Cert'!Print_Area='Personal Cert'!$A$3:$L$37B4:L5, B8:L9, B12:L13
'Personal Cert'!Z_6E15D8C3_F0B8_4971_8337_844C3A80FF91_.wvu.PrintArea='Personal Cert'!$A$3:$L$37B4:L5, B8:L9, B12:L13


there are other sheets C&L 2021, SK 2021, C&L 2020, SK 2020, ect going back to 2014
if it finds a match in any of the books im looking for the match in Colum A:A and also return O:O.

so in the search box $N$2 i type john i would like it to return all matches weather partial or exact from A:A on each sheet to $N$4 going down and each return of name also in next colum $o$4 going down bring in value in 0:0 for were there was a match return in N:N


something like this
Name Search
john
smith johnfile:98652
john appleFile:685452
 

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.

Forum statistics

Threads
1,224,820
Messages
6,181,161
Members
453,021
Latest member
Justyna P

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