Need help.. excel formula

Miloni

Board Regular
Joined
Nov 10, 2008
Messages
103
Office Version
  1. 2007
Platform
  1. Windows
I am trying to retrieve data from File A to File B. File A has large database and File B should keep updating as soon as something is added in File A. I tried the following formula : =[File A.xls]Orders - 2009'!$A3. This formula is entered in File B -- Cell A5. Now in Fill B -- Cell A6, I want the following formula: =[File A.xls]Orders - 2009'!$A5. This kind of formula will go on for about 1500 rows of Col A. The best part is that it has to take every alternate row of Col A in File A. i.e. 1st it's A3..A5..A7..A9..A11 and so on.. how do I set up a formula in each cell (without typing them) and just trying to pull the formula down thru all 1500 rows of Col A.

Any help with formula...
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Maybe you want something like:

=indirect("'[File A.xls]Orders - 2009'!$A" & row(a2)*2-1)

Note this formula will not work if the 2nd workbook is closed. You would need to look into the morefunc add-in for indirect.ext() for help with closed workbooks.

Hope that helps.
 
Upvote 0
It works for me, I added in a ' you were missing in the first formula, maybe you grabbed it before I got that in there?
 
Upvote 0

Forum statistics

Threads
1,214,905
Messages
6,122,178
Members
449,071
Latest member
cdnMech

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