ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Search Sheet Names Across Excel Files (https://www.excelbanter.com/excel-programming/449532-search-sheet-names-across-excel-files.html)

[email protected]

Search Sheet Names Across Excel Files
 
I have two excel files TableA.xlsx(http://www1.zippyshare.com/v/99115783/file.html) and Student.xlsx (http://www11.zippyshare.com/v/88884922/file.html)

I have to query data from TableA.xlsx and populate it in Student.xlsx

I am doing the following in Student.xlsx:

Birth Date is entered and then Test Date is entered. Age is calculated as TestDate - BirthDate. Up till here it is Done

Since the Age is 6.9 in our example (plz see Student.xlsx), I want to query that sheet in TableA.xlsx in which the Age falls into the range, Eg: for 6.9, lookup the range 6.8.0_7.1.30, i.e. 2nd sheet of TableA.xlsx

How do I do it? One way I know is to use lookup but these are two different excel files. How to take this Age and search excel sheet names to find the right one.


All times are GMT +1. The time now is 10:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com