+ Reply to Thread
Results 1 to 25 of 25

count specific object form comma separated data.

  1. #1
    Registered User
    Join Date
    02-20-2017
    Location
    nepal
    MS-Off Ver
    google sheet
    Posts
    13

    count specific object form comma separated data.

    suppose i have enter::
    apple,ball,apple,apple in A1
    apple,apple,apple,ball in A2
    ball,ball,ball,apple in A3

    Now i need total number of apple in entire column A.
    please help me.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: count specific object form comma separated data.

    try
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    where in C1 type your word, eg. apple
    I don't know it will work on Google Sheet

  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,364

    Re: count specific object form comma separated data.

    Try

    =SUMPRODUCT((LEN(A1:A3)-LEN(SUBSTITUTE(A1:A3,"apple",""))))/LEN("apple")

  4. #4
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: count specific object form comma separated data.

    first split, then count
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-20-2017
    Location
    nepal
    MS-Off Ver
    google sheet
    Posts
    13

    Re: count specific object form comma separated data.

    Great,, Thanks A Lot,, my problem is solved.

  6. #6
    Registered User
    Join Date
    02-20-2017
    Location
    nepal
    MS-Off Ver
    google sheet
    Posts
    13

    Re: count specific object form comma separated data.

    Thanks all my problem is solved.

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: count specific object form comma separated data.

    If the basic problem is solved
    - it's always a good practice to show respect to the person(s) who have helped you
    - is a click on the Add Reputation first (left lower corner of the post of person(s) who helped you) and then
    - mark the thread as SOLVED (top right corner over your first post - Thread Tools). This is important for all of us,

    Thanks

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: count specific object form comma separated data.

    Glad to help and thanks for the feedback

  9. #9
    Registered User
    Join Date
    02-20-2017
    Location
    nepal
    MS-Off Ver
    google sheet
    Posts
    13

    Re: count specific object form comma separated data.

    I need another help too can you help me?

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: count specific object form comma separated data.

    If next problem is similar to your first post , ok, but if different - create new thread

  11. #11
    Registered User
    Join Date
    02-20-2017
    Location
    nepal
    MS-Off Ver
    google sheet
    Posts
    13

    Re: count specific object form comma separated data.

    its like same

  12. #12
    Registered User
    Join Date
    02-20-2017
    Location
    nepal
    MS-Off Ver
    google sheet
    Posts
    13

    Re: count specific object form comma separated data.

    it will be easy if you will provide me your gmail so that i can share you my google sheet then you will put formula there.

  13. #13
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: count specific object form comma separated data.

    Save your work from Google Sheet to local file and....

    with description

    Attach a sample workbook. (Not a picture!)
    Make sure there is just enough data to demonstrate your need. Include a BEFORE (original) sheet and an AFTER (required output) sheet in the workbook if needed to show the process you're trying to complete or automate.
    Make sure your desired results are shown, mock them up manually if necessary. Remember, it should reflect original structure of your data.
    Remember to desensitize the data.
    Note:
    • Please do not attach password protected workbooks/worksheets
    • Please do not attach file(s) from exterior servers
    • Please do not attach file(s) with enabled any Workbook Open/Autorun macros!

    20 rows of data is enough (probably)

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    If link is not from FORUM server you have to wait until someone will want to watch the file from an external server.

  14. #14
    Registered User
    Join Date
    02-20-2017
    Location
    nepal
    MS-Off Ver
    google sheet
    Posts
    13

    Re: count specific object form comma separated data.

    Now i want to count delivered Product
    Attached Files Attached Files

  15. #15
    Registered User
    Join Date
    02-20-2017
    Location
    nepal
    MS-Off Ver
    google sheet
    Posts
    13

    Re: count specific object form comma separated data.

    hey can anyone help me to find number of only delivered product on this sheet?
    Attached Files Attached Files

  16. #16
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: count specific object form comma separated data.

    try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  17. #17
    Registered User
    Join Date
    02-20-2017
    Location
    nepal
    MS-Off Ver
    google sheet
    Posts
    13

    Re: count specific object form comma separated data.

    can you please provide me that sheet in which you work??
    it did not work here..

  18. #18
    Registered User
    Join Date
    02-20-2017
    Location
    nepal
    MS-Off Ver
    google sheet
    Posts
    13

    Re: count specific object form comma separated data.

    it return same answer as in "total number of required product" column,, product on second row are canceled,, i want to count product of only delivered row.

  19. #19
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: count specific object form comma separated data.

    look at attachment
    or see second
    Attached Files Attached Files
    Last edited by sandy666; 02-20-2017 at 10:46 AM. Reason: 2nd file added

  20. #20
    Registered User
    Join Date
    02-20-2017
    Location
    nepal
    MS-Off Ver
    google sheet
    Posts
    13

    Re: count specific object form comma separated data.

    yeah i looked,, i found total delivered apple is 7, but it must be 4, because 3 are canceled...
    and delivered ball are zero.. and cat is ...........................
    what i need is,,
    count product of that row which status is delivered....

  21. #21
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: count specific object form comma separated data.

    try
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by sandy666; 02-20-2017 at 11:11 AM.

  22. #22
    Registered User
    Join Date
    02-20-2017
    Location
    nepal
    MS-Off Ver
    google sheet
    Posts
    13

    Re: count specific object form comma separated data.

    I think my question was not fair so i m making you confuse.. in this attached sheet i have put there all detail and requirements.. please check that and send me that file after putting formula..
    Attached Files Attached Files

  23. #23
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: count specific object form comma separated data.

    see attachment
    Attached Files Attached Files

  24. #24
    Registered User
    Join Date
    02-20-2017
    Location
    nepal
    MS-Off Ver
    google sheet
    Posts
    13

    Re: count specific object form comma separated data.

    you are really great,, thanks a lot for giving me this much time and helping me... really i m so happy to get this help....
    again thanks a lot...

  25. #25
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: count specific object form comma separated data.

    You are welcome

    If the all problems are solved
    - it's always a good practice to show respect to the person(s) who have helped you
    - is a click on the Add Reputation first (left lower corner of the post of person(s) who helped you) and then

    - mark the thread as SOLVED (top right corner over your first post - Thread Tools). This is important for all of us,
    Thanks
    Last edited by sandy666; 02-20-2017 at 11:39 AM.

+ 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] Comma separated string element count
    By icyrius in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-30-2017, 10:58 AM
  2. Count occurrences of comma separated text from a range
    By rra1968 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-17-2015, 09:37 AM
  3. Count number appear in single column with comma separated
    By cheeyap91 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-29-2014, 12:38 AM
  4. [SOLVED] How to count values separated by a comma
    By PlamSa in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 11-19-2013, 09:10 AM
  5. Count number of occurrences separated by comma
    By Niclal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-23-2013, 03:39 AM
  6. count of comma separated values
    By bujji1305 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-01-2012, 07:33 PM
  7. count comma separated information
    By fjosef87 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 04-04-2010, 10:47 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