+ Reply to Thread
Results 1 to 3 of 3

Thread: vblookup and hblookup combo problem

  1. #1
    Registered User
    Join Date
    12-14-2010
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    12

    vblookup and hblookup combo problem

    Hi everyone,

    I have 2 worksheets. One (#1) has data automatically added and appended daily, the second (#2) is a worksheet where the data is analyzed.

    I need to get one value from #1 into #2.

    Worksheet #1 is set up like this

    A B C
    1..date..............time....level
    2..12/01/2010....0:00......1
    3 ....................1:00 .....2
    4......................2:00......3
    5......................3:00......4

    ...and so on.

    The date is only displayed next to midnight.

    I'm hoping I could use VBlookup to find the date, go down to 3:00 then use hblookup to go horizontally to column C and then display "4"

    So far I have no luck. Hopefully my question is clear and any help or suggestions are greatly appreciated.

    thanks
    Last edited by chachie22; 12-15-2010 at 08:58 AM.

  2. #2
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    10,786

    Re: vblookup and hblookup combo problem

    =INDEX(sheet1!C1:C100,MATCH(E1,sheet1!A1:A100,0)+3)
    where E1= your date
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and a dabbler in Cisco
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    12-14-2010
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: vblookup and hblookup combo problem

    thank you so much for the help

+ 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.2.0