+ Reply to Thread
Results 1 to 17 of 17

How to make 2 different cells, cumulative in another, on another sheet?

  1. #1
    Forum Contributor
    Join Date
    01-20-2012
    Location
    Texas
    MS-Off Ver
    Office 365
    Posts
    128

    How to make 2 different cells, cumulative in another, on another sheet?

    I have a materials list that I am trying to figure out the formula for. I want to take part quantities from one sheet, and put them on an order sheet. With part numbers referenced from another sheet. Here is some screen shots.assemblies.PNG I would like to take the quantities from Column D of the assembly sheet and Accumulate like parts into one line on the material order sheet. And if I have blank cells, with no quantities, how can I keep them from being on my material order sheet? I can do the vlookup on the part number from the material order sheet. Just stuck on those 2 problems. Thanks in advance for any help.

  2. #2
    Forum Contributor
    Join Date
    01-20-2012
    Location
    Texas
    MS-Off Ver
    Office 365
    Posts
    128

    Re: How to make 2 different cells, cumulative in another, on another sheet?

    here is the other screen shot. Material order.PNG

  3. #3
    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
    53,050

    Re: How to make 2 different cells, cumulative in another, on another sheet?

    Please do not upload a picture of your file...rather, upload a sample of your workbook, showing what data you are working with, a few samples of your expected outcome is (manually entered is ok) and how you arrived at that. (exclude sensitive info). Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you

    Take a look at using sumif() and sumifS()
    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

  4. #4
    Forum Contributor
    Join Date
    01-20-2012
    Location
    Texas
    MS-Off Ver
    Office 365
    Posts
    128

    Re: How to make 2 different cells, cumulative in another, on another sheet?

    Quote Originally Posted by FDibbins View Post
    Please do not upload a picture of your file...rather, upload a sample of your workbook, showing what data you are working with, a few samples of your expected outcome is (manually entered is ok) and how you arrived at that. (exclude sensitive info). Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you

    Take a look at using sumif() and sumifS()
    I was told on another thread how to screenshot. I thought that was what people preferred. I would gladly post up my workbook, if someone can tell me how? I don't mind sharing at all. As a matter of fact, I will share the finished product, with anyone who might find it useful. I really appreciate you helping me, and in return, I will make available what I have with others. So, how do I put my worksheet on here? And Thanks for the help, as always.

  5. #5
    Forum Contributor
    Join Date
    01-20-2012
    Location
    Texas
    MS-Off Ver
    Office 365
    Posts
    128

    Cool Re: How to make 2 different cells, cumulative in another, on another sheet?

    Job sheet.xlsx I think, I figured it out? If this opens, let me know. I will explain what I am wanting to do.

  6. #6
    Forum Contributor
    Join Date
    01-20-2012
    Location
    Texas
    MS-Off Ver
    Office 365
    Posts
    128

    Re: How to make 2 different cells, cumulative in another, on another sheet?

    When I use the drop down lists in "Materials" tab column "C" to choose a component. I then fill in a quantity in column "D".
    I would like for it to add that part to "Primary Material Order" Tab Columns "B" and quantity to Column "F". If on "Materials" Tab, the part is duplicated in other assemblies, I would like for it to add to parts already on the "Primary Material Order" tab. Instead of making a new line. If lines are left blank on "Materials" tab, how do I make the "Primary Material Order" tab ignore them? I don't want my "Primary Material Order" having a bunch of blank lines, or duplicate parts and quantities, is the easiest way to say it. But, I want to transpose parts from "Materials" tab to "Primary Materials Order" Tab. ?????Sounds complicated to me, hope it doesn't to somebody? LOL Thanks for the help.

  7. #7
    Forum Contributor
    Join Date
    01-20-2012
    Location
    Texas
    MS-Off Ver
    Office 365
    Posts
    128

    Re: How to make 2 different cells, cumulative in another, on another sheet?

    Play thing TEMP.xlsxThis should be a better representation of what is wrong with my spreadsheet. And, what I am trying to accomplish. All cells are unlocked so you can see the formulas, that I have in place. What do I need to do to make it simple to use, that is the key. Thanks

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to make 2 different cells, cumulative in another, on another sheet?

    Is this close to what you are looking for?
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  9. #9
    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
    53,050

    Re: How to make 2 different cells, cumulative in another, on another sheet?

    Not sure what NewDoverman offered (will look later), but see if this will get you headed in the right diredction?

    It used a helper in materials to remove blank rows, andthen uses sumif to calc the costs
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    01-20-2012
    Location
    Texas
    MS-Off Ver
    Office 365
    Posts
    128

    Re: How to make 2 different cells, cumulative in another, on another sheet?

    Thanks to Both of you! I wanted to calc qnty, not costs. But, I figured that much out. I really appreciate your help. Starring both of you, and calling this solved!

  11. #11
    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
    53,050

    Re: How to make 2 different cells, cumulative in another, on another sheet?

    Happy to help and thanks for the feedback

  12. #12
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to make 2 different cells, cumulative in another, on another sheet?

    Thanks for the feedback. Glad that you have a solution.

  13. #13
    Forum Contributor
    Join Date
    01-20-2012
    Location
    Texas
    MS-Off Ver
    Office 365
    Posts
    128

    Re: How to make 2 different cells, cumulative in another, on another sheet?

    Quote Originally Posted by FDibbins View Post
    Not sure what NewDoverman offered (will look later), but see if this will get you headed in the right diredction?

    It used a helper in materials to remove blank rows, andthen uses sumif to calc the costs
    I know this is closed, but I have a question. I have redone some of my spread sheet. I need to change around some of the formulas, you added in. I would like for you to explain the function of the formula? What it means, so I will understand, what it does? I am attaching my new excel sheet.8044.xlsx

  14. #14
    Forum Contributor
    Join Date
    01-20-2012
    Location
    Texas
    MS-Off Ver
    Office 365
    Posts
    128

    Re: How to make 2 different cells, cumulative in another, on another sheet?

    The idea of this sheet is to be able to randomly name assemblies in column "A" of the "***" Tab, I need to change that ones name!. Pick from the drop down list of groups in Column "C", Then pick from the dropdown list in column "D", then enter a quantity in column "E", Which calculates a total price in Column "D". It also is supposed to Build a "1st PO" on the tab named so. Tabulating the parts quantities on that tab for order. It used to work, before I started monkeying with it. If you could explain what the fomulas in column "F" do, it would hopefully make me understand how to fix it. Thanks

  15. #15
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to make 2 different cells, cumulative in another, on another sheet?

    I take it that this is the formula that you are requiring help with on the 1ST PO column F: =IFERROR(VLOOKUP(B16,Data!$B$3:$D$240,2,0)," " )

    This means to lookup the value in B16 in the range B3 to D240 on the DATA worksheet, the second column of the range and it must be an exact match. The IFERROR part will return a blank cell if the formula results in an error.

  16. #16
    Forum Contributor
    Join Date
    01-20-2012
    Location
    Texas
    MS-Off Ver
    Office 365
    Posts
    128

    Re: How to make 2 different cells, cumulative in another, on another sheet?

    Assembly Tab.jpgThis is a screen shot of what I have. I just don't understand the formula? Or what it does? Only thing I realize, is, my end result is not right.

  17. #17
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to make 2 different cells, cumulative in another, on another sheet?

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


    This is a "nested IF" formula. The first part of the first IF =IF(OR(D6="",ISNUMBER(SEARCH("assembly #",A6,1))) is the condition that looks at D6 and A6 and if either one is true, return the TRUE part of the formula which is "" or a blank cell. If D6 is blank OR ISNUMBER gives TRUE or FALSE looking for numeric values in its argument which in this case is the search for the string: assembly # in cell A6. If assembly # is found by the SEARCH, 1 is returned and therefore the ISNUMBER will be TRUE.

    The second IF conditionally counts a dynamic range starting in D6 for the value D6 (which will also change as the range expands). If this value is greater than 1, take the MAX value of the dynamic range that starts in G5. If the value is FALSE, then take the max value of the range starting in G5 and add 1 to that value.

    If the formula is dragged down the column, values in A7, D7 etc are evaluated along with the ranges that start in D6 and G5.

    I hope this helps.

+ 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] How to make this code work even if the cells are locked and sheet is protected
    By nenadmail in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-22-2012, 01:14 PM
  2. How to make the code to print 250 cells t o another sheet more shorter
    By nader in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-14-2007, 01:36 PM
  3. Who can I make a Cumulative calculation in Excel sheet?
    By Ahmed in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-27-2006, 06:45 AM
  4. How do I make a 5th sheet to total cells from previous sheets in .
    By Chuck-Baby in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-03-2005, 12:06 AM
  5. Replies: 1
    Last Post: 01-17-2005, 05:06 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