Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
sgm020
 
Posts: n/a
Default Look up for all sheets


Hi,
How can use Vlookup formula for searching in Workbook in Al Sheets.

Will You help me.

Thanks.


--
sgm020
------------------------------------------------------------------------
sgm020's Profile: http://www.excelforum.com/member.php...o&userid=26226
View this thread: http://www.excelforum.com/showthread...hreadid=395244

  #2   Report Post  
Chip Pearson
 
Posts: n/a
Default

You can't. VLOOKUP can search only on one sheet.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"sgm020"
wrote in message
...

Hi,
How can use Vlookup formula for searching in Workbook in Al
Sheets.

Will You help me.

Thanks.


--
sgm020
------------------------------------------------------------------------
sgm020's Profile:
http://www.excelforum.com/member.php...o&userid=26226
View this thread:
http://www.excelforum.com/showthread...hreadid=395244



  #3   Report Post  
Domenic
 
Posts: n/a
Default


_ASSUMPTIONS:_

1) You have 5 lookup tables

2) Each table is located in a different sheet

3) On each sheet, A1:B100 contains your lookup table


_FORMULA:_

1) If Column B of your lookup tables contains numerical values...

=SUMPRODUCT(SUMIF(INDIRECT("'"&A1:A5&"'!A1:A100"), B1,INDIRECT("'"&A1:A5&"'!B1:B100")))

2) If Column B of your lookup tables contains text (or numerical)
values...

=VLOOKUP(B1,INDIRECT("'"&INDEX(A1:A5,MATCH(TRUE,CO UNTIF(INDIRECT("'"&A1:A5&"'!A1:A100"),B1)0,0))&"' !A1:B100"),2,0)

...confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

For both formulas, A1:A5 contains a list of sheet names, and B1
contains the lookup value.

Hope this helps!

sgm020 Wrote:
Hi,
How can use Vlookup formula for searching in Workbook in Al Sheets.

Will You help me.

Thanks.



--
Domenic
------------------------------------------------------------------------
Domenic's Profile: http://www.excelforum.com/member.php...o&userid=10785
View this thread: http://www.excelforum.com/showthread...hreadid=395244

  #4   Report Post  
sgm020
 
Posts: n/a
Default


Thanks, everybody.


--
sgm020
------------------------------------------------------------------------
sgm020's Profile: http://www.excelforum.com/member.php...o&userid=26226
View this thread: http://www.excelforum.com/showthread...hreadid=395244

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macros for Protect/Unprotect all sheets in a workbook Paul Sheppard Excel Discussion (Misc queries) 2 August 4th 05 04:30 PM
How to total itmes if they fall between a date range cel Excel Worksheet Functions 1 May 17th 05 07:39 PM
How to total items if they fall between a date range cel Excel Discussion (Misc queries) 1 May 17th 05 07:30 PM
calculating excel spreadsheet files for pensions and life insurance (including age calculation sheets) RICHARD Excel Worksheet Functions 1 March 15th 05 05:49 PM
Multiple sheets selected twa14 Excel Discussion (Misc queries) 2 December 21st 04 11:15 AM


All times are GMT +1. The time now is 05:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"