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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.