Results 1 to 5 of 5

Thread: Look up diagonally?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2008
    Location
    Guildford, UK
    Posts
    160

    Question Look up diagonally?

    Hi everyone,
    I'm using HLOOKUP to lookup a value in a table. (below)

    HLOOKUP('S_Victoria sections'!BV223,'7 fans'!I$11:BG$20,10)

    It looks along row 11 looking for the right number and (eg 2, circled green) and grabs the right flow rate from row 20 (circled red). What I also need is a formula to look up the value to it's left (circled blue).

    Any ideas?
    Attached Images Attached Images  

    "There'll be penguins on the moon"

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: Look up diagonally?

    The same formula that gives you the red circle, but add on an offset function. I think it can be used in normal excel -check the help on it.

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 2008
    Location
    Guildford, UK
    Posts
    160

    Re: Look up diagonally?

    Hmmm, it doesn't look like you can use an offset function with the Hlookup function as the hlookup function does not return a cell reference but instead a value. I tried placing the offset around the hlookup function but this did not work.

    Am I right in thinking this wont work or am I writing it wrong?

    "There'll be penguins on the moon"

  4. #4
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: Look up diagonally?

    The picture attached should be self explanatory...

    If you still have doubts, please ask
    Attached Images Attached Images  
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jul 2008
    Location
    Guildford, UK
    Posts
    160

    Re: Look up diagonally?

    Thanks Koolsid, that's similar to what I want but not quite.
    I have a table similar to the one below but larger. I'm looking up the reference number (1,2,3) and then looking up the the value of "Val a". So if I looked up reference 1 I would get 34.

    Any ideas?
    Attached Images Attached Images  

    "There'll be penguins on the moon"

Posting Permissions

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



Click Here to Expand Forum to Full Width