34sweetness
Board Regular
- Joined
- Oct 7, 2002
- Messages
- 136
I need help with writing a formula to summarize data from a named range.
Let me try to explain my situation (I tried to download the Html Utility, but it is not working, so I will try and convey my problem through words, please bear with me!)
I have a sheet named “Data” that has 29 columns w/ column headings in row 1. Row 2 thru 1785 contains information that is input row by row thru a “UserForm”. The entire 29 columns and 1785 rows is a range named “DataSheet”. This range will increase in size by one row each time the “update” button is pressed on the UserForm (basically the range is dynamic and changes each time new information is entered).
Column 1 on the “Data” sheet is titled “Machine” and can be one of three number: 370, 445, and 452. Column 2 is titled “Size” and can be one of seven numbers: 16, 19, 21, 23, 25, 27, and 29. Column 3 is titled “Date Released” and is a date (02/24/2002, etc.) Column 6 is titled “QtyInsp” and can be any whole number (0, 1, 2….25…31…whatever).
I have a second sheet in the same workbook named “Sept” and basically is a summary of the information from the “Data” sheet for the month of September. Cell A1 contains the word “SIZE” and B1-H1 have the 7 sizes (16, 19, etc.). Cell A2 contains the words “Total Inspected”.
Now on to my question. What would be the formula in Cell B2 that would give me this:
The SUM of “QtyInsp” IF “Machine”=370 AND “Size”=16 AND “Date Released” is between 08/24/2002 and 09/27/2002.
(Note: these dates are one cell ranges named “Sept_Begin” and “Sept_End” respectively)
I want to include all the data in the named range “DataSheet” that would be changing over time. I want the summary to be “automatically” updated as new information is entered onto the “Data” sheet.
Can anyone help me?
Let me try to explain my situation (I tried to download the Html Utility, but it is not working, so I will try and convey my problem through words, please bear with me!)
I have a sheet named “Data” that has 29 columns w/ column headings in row 1. Row 2 thru 1785 contains information that is input row by row thru a “UserForm”. The entire 29 columns and 1785 rows is a range named “DataSheet”. This range will increase in size by one row each time the “update” button is pressed on the UserForm (basically the range is dynamic and changes each time new information is entered).
Column 1 on the “Data” sheet is titled “Machine” and can be one of three number: 370, 445, and 452. Column 2 is titled “Size” and can be one of seven numbers: 16, 19, 21, 23, 25, 27, and 29. Column 3 is titled “Date Released” and is a date (02/24/2002, etc.) Column 6 is titled “QtyInsp” and can be any whole number (0, 1, 2….25…31…whatever).
I have a second sheet in the same workbook named “Sept” and basically is a summary of the information from the “Data” sheet for the month of September. Cell A1 contains the word “SIZE” and B1-H1 have the 7 sizes (16, 19, etc.). Cell A2 contains the words “Total Inspected”.
Now on to my question. What would be the formula in Cell B2 that would give me this:
The SUM of “QtyInsp” IF “Machine”=370 AND “Size”=16 AND “Date Released” is between 08/24/2002 and 09/27/2002.
(Note: these dates are one cell ranges named “Sept_Begin” and “Sept_End” respectively)
I want to include all the data in the named range “DataSheet” that would be changing over time. I want the summary to be “automatically” updated as new information is entered onto the “Data” sheet.
Can anyone help me?