+ Reply to Thread
Results 1 to 3 of 3

Calcaulate multiple columns with In and Out quantities

  1. #1
    Registered User
    Join Date
    05-16-2019
    Location
    Birmingham, England
    MS-Off Ver
    2016
    Posts
    1

    Calcaulate multiple columns with In and Out quantities

    Hi

    I have an excel sheet where I have different products in the rows and in each of the columns I have the quantity of a batch number. However, after every column with these quantities, I have another column with a minus and then another number. If we have no stock, then the minus number will match the number in the column before it and if there is stock left, the minus will be less that the positive.

    Image.jpg

    Is it possible that a formula can tell me if there are multiple columns where there is spare stock?

    Thanks

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Calcaulate mutiple columns with In and Out quantities

    Would this work for you?

    =SUM(B3,D3,F3)+SUM(C3,E3,G3)

    or if the columns were to expand beyond the three...

    =SUMIF($B$1:$G$1,"IN",B3:G3)+SUMIF($B$1:$G$1,"OUT",B3:G3)
    Last edited by jeffreybrown; 05-16-2019 at 07:58 AM.
    HTH
    Regards, Jeff

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Calcaulate multiple columns with In and Out quantities

    maybe =SUM(B3:G3)
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

+ 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. Group material and then multiple quantities
    By Saftyfast in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-30-2014, 04:59 AM
  2. Using SUMIFS with multiple criteria and subtotal quantities
    By pellway in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-09-2014, 01:02 PM
  3. [SOLVED] Subtract multiple quantities sold from multiple worksheets from master inventory worksheet
    By grammydeb52 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-01-2013, 03:01 AM
  4. Finding total quantities in multiple lines of data
    By robbo46 in forum Excel General
    Replies: 1
    Last Post: 01-06-2012, 12:13 PM
  5. How to add whole & decimel quantities in separate columns?
    By Superflybriguy in forum Excel General
    Replies: 3
    Last Post: 11-15-2011, 02:47 PM
  6. Calculating totals for items with associated quantities over multiple rows
    By drewship in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-04-2009, 01:26 PM
  7. How to plot multiple quantities on the same axis?
    By ady_mech in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-30-2006, 11: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