+ Reply to Thread
Results 1 to 6 of 6

Using IF AND to track quantity totals

  1. #1
    Forum Contributor
    Join Date
    06-27-2013
    Location
    Nebraska
    MS-Off Ver
    Office 365
    Posts
    115

    Using IF AND to track quantity totals

    Hello,
    I am currently trying to find a better way to track quantities of delivered material from multiple suppliers. I have a attached a sample of what I am trying to do. In the "totals" sheet Row 3 is working as planned. There are a couple of issues that I am having with my formatting as is. First off in my "raw" data sheet there is an empty row between each row of numbers (this is they way I am sent the information from the supplier). This empty row causes my totals to place a Q everywhere column A on "Raw" is not filled with "B". Is there a way to have the totals sheet only pull from the cells with values in them?

    My other question is how I would be able to get the values for material, Net wt., and Charges to populate if Column A in "Raw" is Q?

    I hope I explained this clear enough, if not let me know and I will try to ellaborate more.

    Thanks,

    Eric
    Quantity Tracking.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Using IF AND to track quantity totals

    Hi
    I would suggest removing the blank rows from the raw data first as follows:
    1. Select the cells in one column from the top of your list to the bottom.
    2. Make sure that all the blank cells in this selected range are the rows you want to delete.
    3. Press the F5 key on your keyboard (or select Edit, Goto).
    4. Click the Special... button.
    5. Click the Blanks option and click OK. This will select all blank cells in the range you had previously selected.
    6. Now choose Edit, Delete, select the Entire Row option and click OK.

    Hope this helps.
    Tony

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Using IF AND to track quantity totals

    On the Totals Sheet, in B3 try this Array Formula which requires confirmation with Ctrl+Shift+Enter instead of just Enter.
    Is that something you can work with?
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Using IF AND to track quantity totals

    Find the attached sheet to see if this takes care of your second query to show the records for Q only.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    06-27-2013
    Location
    Nebraska
    MS-Off Ver
    Office 365
    Posts
    115

    Re: Using IF AND to track quantity totals

    Tony,
    Thank you for the advice on how to remove the blank cells from my document. That drastically reduced the number of false results I was getting.

    sktneer,
    The formula that you provided seems to be working just fine, the only problem is that I do not understand what it is doing. Could you explain a little on what the IFERROR is doing as well as the INDEX.

    Thanks,
    Eric

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Using IF AND to track quantity totals

    IFERROR is an error trapping function that only activates if the formula inside it gives an error...
    =IFERROR(your-formula,what-to-do-if-the-formula-gives-an-error)

    in pre-2007 versions, you would use IF(ISERROR())
    =IF(ISERROR(your-formula),what-to-do-if-the-formula-gives-an-error,what-to-do-if-the-formula-does-not-give-an-error)

    INDEX is a function for pulling specified data from a table...
    =index(criteria-to-find,row-to-search-in,column-to-search-in)....so table range,row-number,column-number
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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-21-2014, 02:46 AM
  2. [SOLVED] What is the formula used to keep track of totals for a column?
    By Arenlor in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-06-2006, 03:35 PM
  3. [SOLVED] Make inventory sheet to track, order & reduce quantity from master
    By drc536 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-23-2005, 01:05 PM
  4. Replies: 2
    Last Post: 10-23-2005, 01:05 PM
  5. [SOLVED] track my totals
    By Marlis in forum Excel General
    Replies: 0
    Last Post: 08-26-2005, 05:05 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