+ Reply to Thread
Results 1 to 9 of 9

need formula to solve the condition criteria from 2 column

  1. #1
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    need formula to solve the condition criteria from 2 column

    dear experts

    i have two column set of data in column a:a serialno
    in column b:b Parts

    1.If For Single So'S Refelects Multiple Time In A:A I Have Parts Status Like With Parts And With Out Parts I Want Result ""Double Business"

    2.If Parts Status Is With Parts Or Without Parts Only I Want Result (""Single Business"")

    3.If Serial No Is One Time And Business Type Is Either With Parts Or Without Parts I Want Result ""Part Business"")

    please find the attachment if you not able to understand
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: need formula to solve the condition criteria from 2 column

    May be this...

    In C2 Cell

    =IF(A2="","",IF(AND(COUNTIFS(A:A,A2,B:B,"with parts"),COUNTIFS(A:A,A2,B:B,"without parts")),"DOUBLE BUSINESS",IF(AND(COUNTIFS(A:A,A2,B:B,"with parts"),COUNTIFS(A:A,A2,B:B,"without parts")=0),"Single Business",IF(AND(COUNTIFS(A:A,A2,B:B,"with parts")=0,COUNTIFS(A:A,A2,B:B,"without parts")),"Part Business",""))))

    Drag it down...


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: need formula to solve the condition criteria from 2 column

    dude check those row only REST OF THE WORKS PERFECTLY

    CCC2222 with parts RESULT SHOULD BE PART BUSINESS
    TY8811 without parts RESULT SHOULD BE PART BUSINESS

    FIND THE ATTACHMENT
    Attached Files Attached Files

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: need formula to solve the condition criteria from 2 column

    hi breadwinner, try:
    =IF(A2="","",IF(COUNTIF(A:A,A2)=1,"PART BUSINESS",IF(COUNTIFS(A:A,A2,B:B,"<>"&B2)>0,"DOUBLE BUSINESS","SINGLE BUSINESS")))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: need formula to solve the condition criteria from 2 column

    Try this...

    =IF(A2="","",IF(AND(COUNTIFS(A:A,A2,B:B,"with parts"),COUNTIFS(A:A,A2,B:B,"without parts")),"Double Business",IF(SUM(COUNTIFS(A:A,A2,B:B,{"with parts","without parts"}))=1,"Part Business",IF(OR(AND(COUNTIFS(A:A,A2,B:B,"with parts"),COUNTIFS(A:A,A2,B:B,"without parts")=0),AND(COUNTIFS(A:A,A2,B:B,"with parts")=0,COUNTIFS(A:A,A2,B:B,"without parts"))),"Single Business",""))))

  6. #6
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: need formula to solve the condition criteria from 2 column

    thanks alot sixth senses and smart sense benishiryo efforts

    thread been solved!!!!

  7. #7
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: need formula to solve the condition criteria from 2 column

    OK.. solved..
    but still .. throwing my effort..

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  8. #8
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: need formula to solve the condition criteria from 2 column

    Dude welcome Thanks alot Some thing special at your formula!!! more advance

  9. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: need formula to solve the condition criteria from 2 column

    Pl see the file attached.
    USE this in D2 and drag down.

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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: 8
    Last Post: 01-30-2013, 02:58 PM
  2. Replies: 1
    Last Post: 12-20-2012, 04:18 PM
  3. Looking for help in vba to solve Sumproduct with condition
    By minuwaali in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-08-2012, 05:26 PM
  4. Replies: 11
    Last Post: 08-07-2012, 03:19 PM
  5. Condition Paste Formula in Column N based on Column A
    By tek9step in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-07-2009, 04:58 PM

Tags for this Thread

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