Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Use Power Query to pick value from specific cells in multiple files

Hello all,

I need some help here. I am trying to user PowerQuery to do some analysis. Basically, I have about 70,000 files that I want to copy elements from them....elements as in specific cells, c4, c7, c10:c14. The normal process I would have adopted would have been VBA, but everyone feels it bears a risk given i am the only one able to script in the language. 

The image below illustrates (the data/fields contained are dummy figures)

seyiosinowo_0-1636044937123.png

 

Each file is in THIS template. I am trying to pick (D2) to (D7) from all the files and post in a table as below:

NameAddressHandlerCompanyFInished DateDate
Random Person 2282712037Random 22Random 22Random 223/8/2021

I am clear on how to import same field from multiple files, but THIS transformation is just not working.

 

Any assistance will be appreciated.

3 REPLIES 3
Anonymous
Not applicable

No it doesn't. But thanks

Anonymous
Not applicable

Thanks so much Pete. Will certainly try this method out and revert...Looks like  solution

BA_Pete
Super User
Super User

Hi @Anonymous ,

 

If you want to pick the same cells from each of your individual files, then check out my solution on this thread:

https://community.powerbi.com/t5/Power-Query/Extract-particular-cell-values-from-several-workbooks-into-row/m-p/2150365#M63492 

 

If you want to pick individual cells from each file differently, you could have a look at how I've done it in this thread:

https://community.powerbi.com/t5/Power-Query/Excel-formulas-in-Power-Query/m-p/2114211#M62325 

where I've used references in curly braces and square brackets to reference specific row and column coordinates respectively:

 

BA_Pete_0-1635492425103.png

 

Pete

 



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.