Match a specific cell by an identifying number across multiple sheets

Copper Contributor

Hello! I'm looking to create a master spreadsheet from multiple tabs in excel. Specifically, I need to pull the total cost from each tab and match to the serial number on the master tab. 

 

- Each tab has a serial number in the same cell (H5) that can be matched to the master sheet

- Each tab has the cost I want to pull onto the master sheet in the same cell (I30)

 

I'm trying to use the index and match functions but I'm not super familiar with these. 

 

I am using Microsoft Office 365 ProPlus. I'm happy to provide additional info needed! 

 

5 Replies

@lizgallagher 

 

As is often the case, seeing what you're attempting to describe would be very helpful. That is to say, if you could attach a copy of the actual workbook (or a mockup, if the actual contains confidential or proprietary data), that would help us help you.

 

That said, I don't think INDEX and MATCH are what you want at all; they're really good for when the data all resides in a table. It's possible that you could use INDIRECT. Here's a resource that explains the INDIRECT function: https://exceljet.net/excel-functions/excel-indirect-function

 

But it is also possible that we might recommend a different way to organize your data. It's a common mistake (among those relatively new to Excel) to create separate spreadsheets for different items being tracked (as it appears you've done here). Excel actually works very well when a single database is created incorporating data on all those different items...it's easier to extract data on a "per-item" basis from a single comprehensive database than it is to consolidate the data from disparate spreadsheets (which is what it appears you might be doing).

 

And, yes, there are times when what works best is a hybrid of those two extremes. The basic point remains: it would be easier to give you specific suggestions if we were able to see a sample of the actual workbook you've created.

Please provide a sample worksheet stating your issue. It would be better to see and solve it

@mathetes 

 

Thanks for your response! I have attached a mock report. I am trying to match the serial number in column A on the master tab to the serial numbers in H5 on the individual site tabs, to then take the cost in cell I30 and add it to column D on the master tab. 

 

Thank you for the resource for the INDIRECT function - I will give that a try now! 

@nidhiachhaa9 

 

Thanks for your response! I have attached a mock report. I am trying to match the serial number in column A on the master tab to the serial numbers in H5 on the individual site tabs, to then take the cost in cell I30 and add it to column D on the master tab. 

@lizgallagher

You already have the location and city in columns B and C. Can we use that, or do you want formulas in those columns too?

 

If we can use column B, it's simply

 

=INDIRECT("'"&B2&"'!I30")

 

in D2, then fill down.