+ Reply to Thread
Results 1 to 4 of 4

INDEX or VLOOKUP + extra formula/value

Hybrid View

  1. #1
    Registered User
    Join Date
    09-25-2007
    Posts
    38

    INDEX or VLOOKUP + extra formula/value

    Hi there

    =INDEX('Call Rates'!C:C,MATCH(E5,'Call Rates'!B:B,FALSE),1)
    or

    =VLOOKUP(E5,'Call Rates'!B:C,2,0)
    *Which one is better?

    The only problem with both of these is that I can't refence a formula in another cell, I get a 0 value. The formula that I would like to reference relates to column D where the INDEX or VLOOKUP formula is located.

    *Can either of them incorporate the following -

    =MIN(2,MOD(D31,"0:05")*864)+INT(D31/"0:05")*2
    and
    =ROUNDUP(D100*2880,0)*0.08

    Thank you Quesa

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Regarding the first issue, I prefer the second option for its brevity.

    In the first option, the use of False as the match_type argument is spurious. The match_type enumerations are -1, 0, or 1 for match descending, exact, or ascending respectively.

    Regarding the second issue, I can't guess what you're trying to do.
    Last edited by shg; 11-29-2007 at 11:09 PM.

  3. #3
    Registered User
    Join Date
    09-25-2007
    Posts
    38
    I have attached my spreadsheet.

    See the cells r12-r18 need to give the same results as j12-j18, the same with r155 & j155.

    At the moment I am getting a 0 value.

    Thank you
    Attached Files Attached Files

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    The formulas in J12:J18 return zero because the lookup result ('Call Rates'!C8) is zero. And that is zero because the precedent to its formula ('Call Rates'!D31) is blank.

+ 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