how to know wich Invoices exist in a range, based on a range

jamiguel77

Active Member
Joined
Feb 14, 2006
Messages
387
Office Version
  1. 2016
  2. 2010
  3. 2007
Platform
  1. Windows
  2. Web
hi in cell m2, how to filter or bdextact or bdfilter

how to know the invoices that exist on column F based on column A? and same in Q2, but that not exist.

Thanks

Libro2
ABCDEFGHIJKLMNOPQRS
1MasterVendorDetalleExistMasterVendorNo ExistMasterVendor
2AF454HKB1AF454415434.056761180133.556
3FD432Coca Cola2FD43218947.91318869055.59265
4LB342PepsiCola3FD432423252.420701106773.957
5RD432Walmart4AF454635560.350584355822.621
6V6742Sams5V6742638582.30384371509.85
7B5332Soriana6AF45441577.629382332216.1937
87FD432661623.706177412269.783
98V6742933103.08848196181.5526
109FD432123108.43071813336.9783
1110AF454736359.933222264910.851
1211FD432837446.24374373506.01
1312FD432883326.210351288043.74
1413V6742110204.50751322495.8264
1514FD43225340.567612710263.606
1615FD432679461.435726313314.858
1716V6742833313.772955261372.871
1817V6742683428.297162292526.962
1918FD43218488.063439116203.6728
2019AT9000623386.811352240983.472
2120FD43274295.242070170669.616
2221HY8900183483.80634488536.5609
2322AT900034299.165275533914.5242
2423HY8900549101.41903255679.0484
2524AT9000706479.131886338267.112
2625FD432275241.31886566362.6878
2726HY8900795295.659432235049.249
2827FD432202133.97328927062.6043
2928V6742206264.10684554406.01
3029AF454794484.390651384606.177
3130AF45423388.647746220654.9249
3231FD432329147.82971648635.9766
3332V6742688132.72120291312.187
3433AF454336164.94156955420.3673
3534V6742761332.220367252819.699
Hoja1
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Like this?
Drag formulas down rows as needed.
Formula will not work in Excel 2007 (no AGGREGATE function in 2007).
Book3
ABCDEFGHIJKLMNOPQRS
1MasterVendorDetalleExistMasterVendorNo ExistMasterVendor
2AF454HKB1AF454415434.0568180133.6AF454AF454HKBLB342LB342PepsiCola
3FD432Coca Cola2FD43218947.913199055.593FD432FD432Coca ColaRD432RD432Walmart
4LB342PepsiCola3FD432423252.4207106774V6742V6742SamsB5332B5332Soriana
5RD432Walmart4AF454635560.3506355822.6  
6V6742Sams5V6742638582.3038371509.8 
7B5332Soriana6AF45441577.6293832216.19
87FD432661623.7062412269.8
98V6742933103.088596181.55
109FD432123108.430713336.98
1110AF454736359.9332264910.9
1211FD432837446.2437373506
1312FD432883326.2104288043.7
1413V6742110204.507522495.83
1514FD43225340.5676110263.61
1615FD432679461.4357313314.9
1716V6742833313.773261372.9
1817V6742683428.2972292527
1918FD43218488.0634416203.67
2019AT9000623386.8114240983.5
2120FD43274295.2420770669.62
2221HY8900183483.806388536.56
2322AT900034299.1652833914.52
2423HY8900549101.41955679.05
2524AT9000706479.1319338267.1
2625FD432275241.318966362.69
2726HY8900795295.6594235049.2
2827FD432202133.973327062.6
2928V6742206264.106854406.01
3029AF454794484.3907384606.2
3130AF45423388.6477520654.92
3231FD432329147.829748635.98
3332V6742688132.721291312.19
3433AF454336164.941655420.37
3534V6742761332.2204252819.7
Sheet1
Cell Formulas
RangeFormula
M2:N4M2=INDEX($A$2:$B$7,MATCH($L2,$A$2:$A$7,0),{1,2})
R2:S4R2=INDEX($A$2:$B$7,MATCH(Q2,$A$2:$A$7,0),{1,2})
Q2:Q5Q2=IFERROR(INDEX($A$2:$A$7,AGGREGATE(15,6,(ROW($A$2:$A$7)-ROW($A$2)+1)/ISNA(MATCH($A$2:$A$7,$F$2:$F$35,0)),ROWS($Q$1:Q1))),"")
L2:L6L2=IFERROR(INDEX($F$2:$F$35,AGGREGATE(15,6,(MATCH($A$2:$A$7,$F$2:$F$35,0)),ROWS($L$2:L2))),"")
Dynamic array formulas.
 
Upvote 0
I drew idea from @DanteAmor reply on this post -


Check this and revert -

Book1
ABCDEFGHIJKLMNOPQRS
1MasterVendorDetalleExistMasterVendorNo ExistMasterVendor
2AF454HKB1AF454415434.0567613180133.5559AF454HKBLB342PepsiCola
3FD432Coca Cola2FD43218947.913188659055.592654FD432Coca ColaRD432Walmart
4LB342PepsiCola3FD432423252.4207012106773.9566V6742SamsB5332Soriana
5RD432Walmart4AF454635560.3505843355822.621
6V6742Sams5V6742638582.3038397371509.8497
7B5332Soriana6AF45441577.629382332216.19366
87FD432661623.706177412269.783
98V6742933103.088480896181.55259
109FD432123108.430717913336.9783
1110AF454736359.933222264910.8514
1211FD432837446.2437396373506.01
1312FD432883326.2103506288043.7396
1413V6742110204.507512522495.82638
1514FD43225340.5676126910263.60601
1615FD432679461.4357262313314.8581
1716V6742833313.7729549261372.8715
1817V6742683428.2971619292526.9616
1918FD43218488.0634390716203.67279
2019AT9000623386.8113523240983.4725
2120FD43274295.2420701270669.61603
2221HY8900183483.806343988536.56093
2322AT900034299.1652754633914.52421
2423HY8900549101.419031755679.04841
2524AT9000706479.1318865338267.1119
2625FD432275241.318864866362.68781
2726HY8900795295.6594324235049.2487
2827FD432202133.973288827062.60434
2928V6742206264.106844754406.01002
3029AF454794484.3906511384606.177
3130AF45423388.6477462420654.92487
3231FD432329147.829716248635.97663
3332V6742688132.72120291312.18698
3433AF454336164.941569355420.36728
3534V6742761332.2203673252819.6995
Sheet1
Cell Formulas
RangeFormula
M2:M4M2=LET(a,A2:A7,b,F:F,FILTER(A2:A7,COUNTIF(b,a)>=1))
N2:N4,S2:S4N2=XLOOKUP(M2#,$A$2:$A$7,$B$2:$B$7)
R2:R4R2=LET(a,A2:A7,b,F:F,FILTER(A2:A7,COUNTIF(b,a)=0))
Dynamic array formulas.
 
Upvote 0
OP's profile doesn't show Excel 365 or 2021
@AhoyNC I noticed that while reading OP but (s)he has mentioned web platform, so I thought, like most, he might not have upgraded his current Office version and gave him an option.

I believe it's a typical case where OP(s) can understand updating profile and platform is important. :unsure: (y)
 
Upvote 0

Forum statistics

Threads
1,221,477
Messages
6,160,063
Members
451,615
Latest member
soroosh

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