Subject: Pulling Data from another Workbook

DarbyBrown

New Member
Joined
Jan 22, 2016
Messages
31
Office Version
  1. 365
Platform
  1. Windows
I have 2 excel workbooks, “Main”, and “Counter”. I need to pull data from a cell from a sheet in “Counter” and enter it into a cell in workbook “Main”.

Workbook “Main” is recreated from a Template each month and renamed “[this Month],[This Year] ie: “Jun22 “. There is a cell in Main that contains the Start date of that workbook. (“06/01/22”)

Within Workbook “Counter” there are 12 Sheets, 1 for each month.

I need to pull the data from the Total cell in the “Counter” sheet for the appropriate month of the Workbook “Main” that I am working in and put that data in the appropriate cell in “Main”

I know how to pull data from another worksheet by including the ‘Jun22” in the formula ‘(=[Counter.xlxs]Sheet6!B12)’ for Jun22 sheet, but need to change that formula every time I create a new “Main” Workbook from the Template

I am hoping that there is a way to create a formula, in the Template, that will use the start date in the “Main” workbook and find the correct sheet in “Counter” from which to pull the correct data.


1654537875592.png
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Why don't you have a summary sheet in Counter that collates all the months into a list, a total per month, and then you lookup into that list?
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,212
Members
453,023
Latest member
alabaz

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