+ Reply to Thread
Results 1 to 6 of 6

Need help with this Formula to SUM orders

  1. #1
    Registered User
    Join Date
    04-16-2020
    Location
    NM
    MS-Off Ver
    2015
    Posts
    4

    Need help with this Formula to SUM orders

    I have this formula which SUMS the number of products ordered. It
    is able to count each item based on a string, however when there
    are multiple items in one cell it is unable to count pass the
    initial item.
    I can have separate cells for each item, but keeping all ordered
    ones in one cell is best to separate customers.

    Each formula is in Column I 14-16 as an example.

    =SUM(IF(ISNUMBER(FIND(H15,$F$5:$F$12)),VALUE(LEFT($F$5:$F$12,FIND(H15,$F$5:$F$12)-1)),0))

    Attachment 672965
    Attached Files Attached Files
    Last edited by AliGW; 04-18-2020 at 01:36 AM.

  2. #2
    Registered User
    Join Date
    04-16-2020
    Location
    California, CA
    MS-Off Ver
    2017
    Posts
    12

    Re: Need help with this Formula to SUM orders

    try this

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

  3. #3
    Registered User
    Join Date
    04-16-2020
    Location
    NM
    MS-Off Ver
    2015
    Posts
    4

    Re: Need help with this Formula to SUM orders

    Unfortunately, this did not work.
    The number and string are in the same cell so reading two different columns wont work.

    I uploaded the Excel so that it was easier to see what I was trying to do, since the PDF did not show cells
    Last edited by Vyere; 04-17-2020 at 12:16 PM.

  4. #4
    Registered User
    Join Date
    04-16-2020
    Location
    Istanbul
    MS-Off Ver
    365
    Posts
    13

    Re: Need help with this Formula to SUM orders

    In F7; Length of "2 - Key" is not matching with formula. I mean, as it is at the second line of a cell, value(left(... combination starts to count from the first line and cannot find the data at the second line.
    Is it not possible to divide them into two different cells?

  5. #5
    Registered User
    Join Date
    04-16-2020
    Location
    NM
    MS-Off Ver
    2015
    Posts
    4
    Quote Originally Posted by macen View Post
    In F7; Length of "2 - Key" is not matching with formula. I mean, as it is at the second line of a cell, value(left(... combination starts to count from the first line and cannot find the data at the second line.
    Is it not possible to divide them into two different cells?
    As of now, I am putting them into separate cells. But keeping each in a single cell would be the easiest way to distinguish different orders.

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,607

    Re: Need help with this Formula to SUM orders

    You did not give a representative sample of your actual workbook, but,
    "... keeping all ordered ones in one cell is best to separate customers...."
    can't possible be true. Each customer, and each invoice/record per customer should be a separate row.
    Please Login or Register  to view this content.
    stock =Sheet1!$F$7:$I$11
    Attached Files Attached Files
    Ben Van Johnson

+ 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: 1
    Last Post: 05-10-2017, 12:11 PM
  2. [SOLVED] Apply rate1 to the 2 highest orders and rate2 to all other orders
    By Aland2929 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-09-2016, 01:03 PM
  3. Find Each Days Orders by Associate ID, input into Master Orders COmpleteWorksheet
    By bbell2219 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-09-2016, 02:14 AM
  4. Help calculating monthly orders depending on cumulative orders to date
    By nats2412 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 02-03-2015, 03:18 AM
  5. [SOLVED] Formula for Forecasting Orders
    By caf20012 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-21-2013, 05:11 AM
  6. Create orders log and monthly report for all orders
    By adfo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-20-2013, 09:39 AM
  7. Need a formula that counts orders
    By Watercolor artist in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-24-2005, 12:05 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