+ Reply to Thread
Results 1 to 8 of 8

If formula that will check certain conditons

Hybrid View

  1. #1
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    400

    If formula that will check certain conditons

    Hi All,

    i need all your expertise for this issue that i have...


    I have here the list of customers provided from column A to D:

    data 1.JPG

    These customers are external customers and i have the extracted data from column F to K.

    Capture.JPG

    In column F, this is where the customers in from column A is linked.

    Now, what i have to do is to to unlink the customers in column A to the customers in column F.
    If the organization, distribution channel and divison of the customer in column F is = to the organization, distribution channel and divison of the customer in column A then the validation should be "UNLINK".

    das.JPG


    If the organization, distribution channel and division is not equal, the validation should be "No action".

    last.JPG

    Can someone help me regarding this matter?
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,352

    Re: If formula that will check certain conditons

    M3:
    Formula: copy to clipboard
    =IF(COUNTIFS($B$3:$B$4,$G3,$C$3:$C$4,$H3,$D$3:$D$4,$I3),"Unlink","No Action")
    and copy down.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    400

    Re: If formula that will check certain conditons

    Hi TMS, thanks alot for your immediate response. is it actually possible to add the the customer number in Column K - just to be sure that we are cehcking same customer as per column A?

  4. #4
    Registered User
    Join Date
    09-24-2015
    Location
    Delhi, India
    MS-Off Ver
    MS Office 2013
    Posts
    65

    Re: If formula that will check certain conditons

    Hi geliedee,

    Try This

    =IF(IFERROR(VLOOKUP($G3,$B$2:$B$1048576,1,0),"")=$G3,"Unlink","No Action")

    thanks
    Rohit

  5. #5
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    400

    Re: If formula that will check certain conditons

    hI Rohit_Raj, I think i cant use vlookup in this case since there are multiple criteria - org. channel and division.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,352

    Re: If formula that will check certain conditons

    You can, by adding another criterion range and criterion to the COUNTIFS. But, in your example, the Customer is NOT the same so you'd just get "No Action".

    Formula: copy to clipboard
    =IF(COUNTIFS($A$3:$A$4,$F3,$B$3:$B$4,$G3,$C$3:$C$4,$H3,$D$3:$D$4,$I3),"Unlink","No Action")



    Regards, TMS

  7. #7
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    400

    Re: If formula that will check certain conditons

    Thanks TMS! worked fine. And thanks again for the explanation

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,352

    Re: If formula that will check certain conditons

    You're welcome. Thanks for the rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 9
    Last Post: 03-20-2015, 04:32 AM
  2. Lookup Value With Duplicate and Conditons Problems
    By svatz in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-10-2013, 12:00 PM
  3. [SOLVED] Multiple conditons in a formula
    By ThomasCarter in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-22-2012, 05:08 PM
  4. Matching Multiple Conditons
    By Azam Ali in forum Excel General
    Replies: 8
    Last Post: 06-13-2011, 06:42 AM
  5. Average if two conditons are met
    By shilloh in forum Excel - New Users/Basics
    Replies: 12
    Last Post: 05-18-2011, 12:07 PM
  6. Formula with conditons
    By dhampatel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-25-2006, 10:20 PM
  7. Replies: 1
    Last Post: 03-15-2006, 08:35 PM

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