get data from a different workbook based on cell data

ensee

New Member
Joined
Jul 28, 2010
Messages
8
I have two workbooks.

Workbook 1 is called Summary and has a single sheet call Additional_Info

Workbook 2 is called Income and contains twelve sheets Jan, Feb, March etc....
on each sheet I have named range JanWS, FebWS, MarWS etc....

When I type the the month (lets say June) into cell B6 in Summary.xlsx sheet Additional_Info, I want to get the data from Income.xlsx sheet June cell Q17 and paste the data into Summary.xlsx sheet Additional_Info cell G2

Again when I type the the month (lets say Feb) into cell B6 in Summary.xlsx sheet Additional_Info, I want to get the data from Income.xlsx sheet Feb cell Q17 and paste the data into Summary.xlsx sheet Additional_Info cell G2

Any help would be appreciated
 

Some videos you may like

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

ensee

New Member
Joined
Jul 28, 2010
Messages
8
MisterCrash Thanks.... getting there

It returns the value correctly

Can I add an additional arguement ?

When I type the the month (lets say June) into cell B6 in Summary.xlsx sheet Additional_Info, I then want to look up cell B2 in Summary.xlsx sheet Additional_Info, go to the Income.xlsx sheet June, look up the value from B2 that we got from Summary.xlsx sheet Additional_Info, get the info from cell Q2 of the Income.xlsx sheet and paste the data into Summary.xlsx sheet Additional_Info cell G2
 

ensee

New Member
Joined
Jul 28, 2010
Messages
8
MisterCrash

I have solved this with your help, very much appreciated ! Awesome !!!

=VLOOKUP(B19,INDIRECT("'[Income]"&$B$6&"'!$A$2:$Q$2001"),"17")
 

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,105,975
Messages
5,508,521
Members
408,688
Latest member
Bhojraj

This Week's Hot Topics

  • Turn fraction around
    Hello I need to turn a fraction around, for example I have 1/3 but I need to present as 3/1
  • TIme Clock record reformatting to ???
    Hello All, I'd like some help formatting this (Tbl-A)(Loaded via Power Query) [ATTACH type="full" width="511px" alt="PQdata.png"]22252[/ATTACH]...
  • TextBox Match
    hi, I am having a few issues with my code below, what I need it to do is when they enter a value in textbox8 (QTY) either 1,2 or 3 the 3 textboxes...
  • Using Large function based on Multiple Criteria
    Hello, I can't seem to get a Large formula to work based on two criteria's. I can easily get a oldest value based one value, but I'm struggling...
  • Can you check my code please
    Hi, Im going round in circles with a Compil Error End With Without With Here is the code [CODE=rich] Private Sub...
  • Combining 2 pivot tables into 1 chart
    Hello everyone, My question sounds simple but I do not know the answer. I have 2 pivot tables and 2 charts that go with this. However I want to...
Top