Look result that will add rows

papilo

New Member
Joined
Aug 3, 2024
Messages
2
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Dear Gurus in the house I need urgent help.
I have a dataset of over 100,000 rows containing names of agents and the documents they provided.
out this this list, I have selected just about 5000 on a separate workbook.
I want a formula that will look up each name on my new workbook and pick the agent from the master list then, list the agent name on rows according to the the number of documents provided on the master list.
It means that on my list, I have one row for each agent but, want the result to push down the agent below, insert rows that equals the number of documents listed on master list.

Master list
AgentsDocuments provided
Ventures LimitedVentures Chart.ppt
Ventures Limitedwork evidence.jpg
Ventures LimitedBank Reference.jpg
Ventures LimitedTax.jpg
Ventures LimitedVentures Amanayanbo.jpg
Ventures LimitedVenture Form 7.zip
Ventures Limitedvat.jpg
Ventures LimitedVenture Article.zip
Ventures LimitedCertificate of Registration.jpg
Ventures LimitedList of Equipment.jpg
Ventures LimitedVenture Form 2.zip
Ventures LimitedVenture HSE.zip
Ventures LimitedVenture covering letter.doc
Ventures LimitedVenture QAQC.zip
RESOURCES LIMITEDORGANOGRAM.pdf
RESOURCES LIMITEDDirector Signature Specimen.JPG
RESOURCES LIMITEDEroton PO.pdf
RESOURCES LIMITEDHES MANUAL.pdf
RESOURCES LIMITEDQUALITY MANAGEMENT SYSTEM MANUAL.pdf
RESOURCES LIMITEDDPR PERMIT.pdf
RESOURCES LIMITEDOSM Offshore AS_20190607_071617.pdf
RESOURCES LIMITEDTax Clearance Certificate.pdf
RESOURCES LIMITEDVAT REGISTRATION.pdf
RESOURCES LIMITEDCAC 7A.pdf
RESOURCES LIMITEDMEMORANDUM AND ARTICLES OF ASSOCIATION.pdf
RESOURCES LIMITEDCAC 2A.pdf
RESOURCES LIMITEDCAC CERTIFICATE.pdf
RESOURCES LIMITEDOEM Representation Letters.pdf
INTELL SOLUTIONS LIMITEDHealth Safety Policy (3).pdf
INTELL SOLUTIONS LIMITEDC02-1 001.jpg
INTELL SOLUTIONS LIMITEDC07-1 001.jpg
INTELL SOLUTIONS LIMITEDfile_extract_1.csv
INTELL SOLUTIONS LIMITEDOrganisational Chart.pdf


Look up (to replicate as master above)
AgentsDocuments provided
Ventures Limited
RESOURCES LIMITED
INTELL SOLUTIONS LIMITED
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
If I understand it correctly something like this?

Excel Formula:
=DROP(REDUCE("",A2:A4,LAMBDA(a,b,VSTACK(a,FILTER('[Master List.xlsx]Master List'!$A$2:$B$34,'[Master List.xlsx]Master List'!$A$2:$A$34=b)))),1)
 
Upvote 0
If I understand it correctly something like this?

Excel Formula:
=DROP(REDUCE("",A2:A4,LAMBDA(a,b,VSTACK(a,FILTER('[Master List.xlsx]Master List'!$A$2:$B$34,'[Master List.xlsx]Master List'!$A$2:$A$34=b)))),1)
Hi Hagia_Sofia,
Thank you for your response. I am not at this level of Excel. If you could explain it will help me much.
Again, thank you.
 
Upvote 0
Hello,

what the formula does is to stack upon each other the relevant part of columns "Agents" and "Documents provided" (as on the master list) for every "Agent" on the list.
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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