+ Reply to Thread
Results 1 to 7 of 7

How I can find numbers in sum in the 1 column

  1. #1
    Registered User
    Join Date
    01-03-2019
    Location
    Jakarta
    MS-Off Ver
    Microsoft office 365 ProPlus
    Posts
    5

    How I can find numbers in sum in the 1 column

    Hi All,

    case:
    I have data in column A1 with text format

    "Manggo","quantity":1,"Orange","quantity":5,"Cake","quantity":4;

    I want to some total of quantity, the value is should be 1+5+4 = 10

    I have about 1000 rows, and I don't know how I can find and calculate it.

    really appreciate your help.

    Zanis

  2. #2
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: How I can find numbers in sum in the 1 column

    Try this array formula
    Please Login or Register  to view this content.
    ❖ Please mark your thread is SOLVED if there has been offered a solution that works fine for you.

    ❖ If you like solutions provided by anyone, feel free to add reputation by clicking on ✶ Add Reputation bottom left of their posts.

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: How I can find numbers in sum in the 1 column

    Try

    =SUM(IFERROR(1*MID(A1,ROW($1:$99),1),))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  4. #4
    Registered User
    Join Date
    01-03-2019
    Location
    Jakarta
    MS-Off Ver
    Microsoft office 365 ProPlus
    Posts
    5

    Re: How I can find numbers in sum in the 1 column

    Hi Bro,


    Thanks for help, its work, but I have more question on that,

    I will only counting numbers after "quantity":

    because sometimes there are the others number but does not need to counting

    example:
    "Manggo","quantity":1,"Orange","price":1000,"quantity":5,"price":3000,"Cake","quantity":4,"price":2000

    same, the result should be 10,

  5. #5
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: How I can find numbers in sum in the 1 column

    Try again
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    01-03-2019
    Location
    Jakarta
    MS-Off Ver
    Microsoft office 365 ProPlus
    Posts
    5

    Re: How I can find numbers in sum in the 1 column

    Hi bro,

    I think still cannot solve my problem,

    So there are many number, but I only will take the number after word "quantity":XX, and also there are >=1 the quanitity, and i need to some all quantity

    "available":true,"comment":"","name":"Es Teler 77","priceInMajorUnit":"34000.00","quantity":2,"simplePriceInMajorUnit":"34000.00","quantity":3,

    from this case the sum is 5,

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: How I can find numbers in sum in the 1 column

    The formula that huuthand_bd suggests in post #5 is an array entered formula and needs to be activated by holding the Ctrl and Shift keys while pressing the Enter key and before being copied to other cells.
    Once that is done then the formula yields the expected results for the text strings in posts #4 and #6.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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: 4
    Last Post: 10-19-2017, 08:12 AM
  2. [SOLVED] Re: Find lowest 5 numbers in column A with highest values in column B
    By jd16 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-05-2013, 02:08 AM
  3. Replies: 4
    Last Post: 10-06-2013, 10:40 AM
  4. Find lowest 5 numbers in column A with highest values in column B
    By dmccoy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-06-2013, 09:22 AM
  5. Search for column header and find all values and their row numbers in that column
    By woody83 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-14-2012, 03:11 PM
  6. Replies: 0
    Last Post: 02-08-2012, 06:39 PM
  7. [SOLVED] I need to find odd numbers in a column
    By whouser in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-27-2005, 03:06 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