+ Reply to Thread
Results 1 to 3 of 3

use IF/Lookup function in multiple criteria

  1. #1
    Registered User
    Join Date
    04-29-2009
    Location
    Jakarta
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question use IF/Lookup function in multiple criteria

    Hi

    I have table product that include (wide 1,wide 2,thick 1,thick 2,long 1,long 2,Price)
    And I have table transaction than have wide, thick, long and price)

    I want that price in table transaction fill automaticly from table product where ( wide between wide 1 and wide 2 ) and
    ( thick between thick 1 and thick 2 ) and ( long between long 1 and long 2 )

    excelformula.gif

    pricing.xls

    Any help would be appreciated... Thanks
    Last edited by harboens; 04-30-2009 at 03:52 AM. Reason: solved my problem thanks for DonkeyOte

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: use IF/Lookup function in multiple criteria

    If I've understood...

    Please Login or Register  to view this content.
    You could use Sumproduct also but this would be prone to error should you have 1+ instances where all criteria are met (ie the Prices would be summed)... the LOOKUP approach in such instances would return the last price.

    Where no matches are found as is the case with row 28 you will get an #N/A error... to handle this and to avoid double evaluating what is a slow formula with an ISERROR/ISNA test I would myself opt for:

    Please Login or Register  to view this content.
    This approach will return 0 where no Price is found.

  3. #3
    Registered User
    Join Date
    04-29-2009
    Location
    Jakarta
    MS-Off Ver
    Excel 2003
    Posts
    2

    Thumbs up Re: use IF/Lookup function in multiple criteria

    thanks for the quick reply and this is what i search for 2 days

    thanks DonkeyOte

+ 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