+ Reply to Thread
Results 1 to 3 of 3

Help with row_lookup_number in hookup

  1. #1
    Registered User
    Join Date
    09-17-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1

    Help with row_lookup_number in hookup

    =HLOOKUP(D$2,'P&L'!$5:200,136-5+1,FALSE)

    I am working on a personal financial statement and looking at my friends model. Why does the row_index_number have addition and subtraction in it? I am very lost about it.

  2. #2
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Help with row_lookup_number in hookup

    HLOOKUP( value, table_array, index_number, [not_exact_match] )
    =HLOOKUP(D$2,'P&L'!$5:200,136-5+1,FALSE)

    table_array = 'P&L'!$5:200 (incorrect), something like 'P&L'!A$5:C200
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  3. #3
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Help with row_lookup_number in hookup

    Although acceptable you are reffering to 195 whole rows and 136-5+1 can be replaced by 132
    So
    =HLOOKUP(D$2,'p&L'!$E5:E200,136-5+1,FALSE)
    Shoudl work
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

+ 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