+ Reply to Thread
Results 1 to 17 of 17

create a list of articles (also duplicates) of a database with 2 conditions

  1. #1
    Registered User
    Join Date
    06-26-2015
    Location
    italy
    MS-Off Ver
    Ms Office Professional Plus 2010
    Posts
    24

    create a list of articles (also duplicates) of a database with 2 conditions

    Hi everybody!!!
    I already get help from the forum few days before about create a list of articles of a db with one conditions, and it works perfectly!!!
    So I've tried to follow this formula to get also a list of articles with 2 conditions simply adding the second conditions after the first one but i didn't get any result, or even I get the wrong value.
    Here is the file report and stats 2.0.xlsx
    I want to make a list of all the trucks of the column "FROM" in imported data sheet (all the trucks have in their value the "-" character) reported in the "CODE" sheet in "FROM" table only once that also have in "TYPE" column the value "0".
    After this, I want to know in the following cell how many times these value of the trucks are in the imported data also in the "code" column = 0
    I hope I explained pretty well the situations.
    Thank you all in advance
    Superutz

  2. #2
    Registered User
    Join Date
    06-26-2015
    Location
    italy
    MS-Off Ver
    Ms Office Professional Plus 2010
    Posts
    24

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    Is it possible?

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    Try this: AND condition is done by multiplying the criteria.

    Use SEARCH to find "-" in your string

    Enter with Ctrl+Shift+Enter

    =IFERROR(INDEX('imported data'!$M$2:$M$20,SMALL(IF(ISNUMBER((SEARCH("-",'imported data'!$M$2:$M$20)))*('imported data'!$C$2:$C$20=0),ROW('imported data'!$M$2:$M$20)-1),ROWS($A$1:A1))),"")

  4. #4
    Registered User
    Join Date
    06-26-2015
    Location
    italy
    MS-Off Ver
    Ms Office Professional Plus 2010
    Posts
    24

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    JohnToplay, thank you! finally it shows me the values...Just one thing, I don't want to have in the list the duplicate values do you think it's possible???
    Thanks

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    Not sure if/how to do this.

  6. #6
    Registered User
    Join Date
    06-26-2015
    Location
    italy
    MS-Off Ver
    Ms Office Professional Plus 2010
    Posts
    24

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    thank you anyway!!!
    Does anybody know if it could be done???


    Sorry also for my English

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    If you can use (for example) column A as a "helper" column you can remove duplicates. I changed some data just to test it.
    Attached Files Attached Files

  8. #8
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    Hi

    To remove duplicates?

    B10
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Non-array! Just press enter, then copy down.
    Last edited by micope21; 07-11-2015 at 02:27 PM.
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    Please don't PM forummembers.

    Hello!!! Sorry for disturbing you but I'm in a mess with oner formula...
    You gave me the solution in a thread of some days ago and considerring that it's almost the same formula (but with 2 conditions and creating a list without reporting more than one time the same value) I'm writing you for a help...
    Could you have a look and be so kindly to tell me if what I need to do is possible?
    Thank you in advance and sorry for my English.
    here is the link of my thread:
    http://www.excelforum.com/excel-form...ml#post4128151

    Thank you!!!
    Superutz

    I think I already sent you this message one minute ago but in Sent Items there isn't any message
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  10. #10
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    Minor typo: COUNTIF should be B$9:B9

  11. #11
    Registered User
    Join Date
    06-26-2015
    Location
    italy
    MS-Off Ver
    Ms Office Professional Plus 2010
    Posts
    24

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    Could this formula recognise for example both "bot-25-tc" and "245-sp-31" values (because i've just realized that the name of the trucks could starts either with a letter and a number)??? Thank you

  12. #12
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,189

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    Any of the formula will work with trucks starting with number or letter. See the excellent formula submitted by Micope21 but change the COUNTIF reference from C to B (see my previous post).

  13. #13
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    Thank you John point out!

    My fault as I working next to Column B

    Superutz. Copy and paste it on your files above #8 post as I put it right this time?

    Should be on COUNTIF(B$9:B9 not COUNTIF(C$9:C9

  14. #14
    Registered User
    Join Date
    06-26-2015
    Location
    italy
    MS-Off Ver
    Ms Office Professional Plus 2010
    Posts
    24

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    Ok thank you micope21 and JohnTopley I try and I will let you know the outcome

  15. #15
    Registered User
    Join Date
    06-26-2015
    Location
    italy
    MS-Off Ver
    Ms Office Professional Plus 2010
    Posts
    24

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    I have tried but I'm wrong in something... (no value!)
    This is the file report and stats 2.0.xlsx

  16. #16
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    See the files
    Attached Files Attached Files

  17. #17
    Registered User
    Join Date
    06-26-2015
    Location
    italy
    MS-Off Ver
    Ms Office Professional Plus 2010
    Posts
    24

    Re: create a list of articles (also duplicates) of a database with 2 conditions

    That's perfect!!! Thanks a lot!!! I will study this formula to understand how it works!!! Tha's amazing!!!

+ 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. [SOLVED] create a list of articles (also duplicates) of a database with one condition
    By Superutz in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 06-30-2015, 11:26 AM
  2. [SOLVED] Create list of duplicates based on occurances in another list
    By dancing-shadow in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-27-2014, 07:26 AM
  3. Problems removing duplicates from a LONG list based on conditions
    By metalpoker in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-10-2011, 06:36 AM
  4. Need Help to build a news articles database
    By sandydude4u in forum Excel General
    Replies: 1
    Last Post: 05-13-2009, 06:53 AM
  5. filter list of duplicates to create new list
    By DaveNEC in forum Excel General
    Replies: 4
    Last Post: 05-08-2008, 07:54 AM

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