+ Reply to Thread
Results 1 to 3 of 3

Use of SUMPRODUCT or VLOOKUP??

Hybrid View

  1. #1
    Registered User
    Join Date
    11-21-2011
    Location
    Lisboa, Portugal
    MS-Off Ver
    Excel 2003
    Posts
    5

    Use of SUMPRODUCT or VLOOKUP??

    Hi to all,

    Would like some help to fill a column (Approval) that is dependent to the conditions of two other columns (Vlaue & Quantity) and should also comply with a conditional Approval type which is included in another Sheet "Países". I have tried the SUMPRODUCT, then I tried VLOOKUP and finally I have tried a looooong string of IFs and ANDs and got all mixed up!

    I attach the file for your perusal.

    Many thanks.
    Attached Files Attached Files
    Last edited by luissa01; 11-24-2011 at 09:47 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Use of SUMPRODUCT or VLOOKUP??

    Hi,

    In L3 and copied down
    =IF(OR(AND(G3="UK",K3<VLOOKUP(G3,Países!$A$4:$E$8,4,FALSE)),AND(OR(G3="China",G3="USA"),C3<VLOOKUP(G3,Países!$A$4:$E$8,5,FALSE))),"Denied","Approved")
    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    11-21-2011
    Location
    Lisboa, Portugal
    MS-Off Ver
    Excel 2003
    Posts
    5

    Smile Re: Use of SUMPRODUCT or VLOOKUP??

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    In L3 and copied down
    =IF(OR(AND(G3="UK",K3<VLOOKUP(G3,Países!$A$4:$E$8,4,FALSE)),AND(OR(G3="China",G3="USA"),C3<VLOOKUP(G3,Países!$A$4:$E$8,5,FALSE))),"Denied","Approved")
    Regards


    Many thanks Richards, that did the trick!!!!

+ 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