+ Reply to Thread
Results 1 to 21 of 21

Lookup across multiple worksheets

  1. #1
    Forum Contributor
    Join Date
    03-24-2005
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    378

    Lookup across multiple worksheets

    Is it possible to use a lookup function across multiple sheets?

    Example:
    A workbook contains 26 sheets. Can a function on Sheet1 look across sheet2 through sheet26 and if sheet9 cell A1 contains a specific value (only one of the sheets can contain the value) return the contents of sheet9 cell A2.
    Thanks!
    Dennis

    I am using Windows 7 and Office 2007, all of my posts are based on this.

  2. #2
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  3. #3
    Forum Contributor
    Join Date
    03-24-2005
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    378

    Thanks!!

    Thanks for the tip!

    Sounds like an array formula using a named list.

    I am not familiar with list names, but I am going to see what I can find and try to make this work for me.

    Thanks for the help!!

  4. #4
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  5. #5
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  6. #6
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  7. #7
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  8. #8
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  9. #9
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  10. #10
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  11. #11
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  12. #12
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  13. #13
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  14. #14
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  15. #15
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  16. #16
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  17. #17
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  18. #18
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  19. #19
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  20. #20
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




  21. #21
    Biff
    Guest

    Re: Lookup across multiple worksheets

    Hi!

    Yes, it's possible if you're meaning a V or H lookup. Sounds like you need a
    HLOOKUP.

    The lookup range must be EXACTLY the same on ALL of the sheets.

    Create a lst of your sheet names and give that list a name. Something like
    SheetList

    Enter this formula using the key combo of CTRL,SHIFT,ENTER:

    =HLOOKUP(A1,INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,COUNTIF(INDIRECT("'"&SheetList&"'!A1:E1"),A1)>0,0))&"'!A1:E5"),2,0)

    The lookup value is in cell A1. The lookup range on each sheet is A1:E5. The
    row_index_number is 2.

    Biff

    "DCSwearingen" <DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com>
    wrote in message
    news:DCSwearingen.1ue6ej_1125093940.7609@excelforum-nospam.com...
    >
    > Is it possible to use a lookup function across multiple sheets?
    >
    > Example:
    > A workbook contains 26 sheets. Can a function on Sheet1 look across
    > sheet2 through sheet26 and if sheet9 cell A1 contains a specific value
    > (only one of the sheets can contain the value) return the contents of
    > sheet9 cell A2.
    >
    >
    > --
    > DCSwearingen
    >
    >
    > ------------------------------------------------------------------------
    > DCSwearingen's Profile:
    > http://www.excelforum.com/member.php...o&userid=21506
    > View this thread: http://www.excelforum.com/showthread...hreadid=399630
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1