Excel/Harvest Multiple RowLabel criteria with one Excel formula?
Hi Jerry. I have a very large range that is a Pivot Table Source. Within this range are a myriad of Date RowLabel fields such as "2012-M5" or "2012-W51" or "2012-Q2" (M=month, W=week, Q=quarter). I want to use an Excel Formula such as SUMIF to harvest the Value-field data from these Row Labels.
For example, I want to have two Master Input cells where the user can enter a START DATE and an END DATE, and then have those input data linked to a SUMIF (or other) formula to gather the range of data. However, I want to gather all Row Label data containing dates between the input Start Date and End Date into one place. Let's say that I enter 1/8/2010 into the Start Date input and 12/18/2012 into the End Date input. I will want to see data gathered from EVERY ROW LABEL criteria between 1/8/2010 and 12/18/2012 which could be hundreds of rows worth of data summarized in one place.
Jerry, is it possible to gather multiple Row Label Data between two dates with one SUMIF or SUMIFS formula? Or is there a better formula or technique to use that can take a DATE RANGE and pull multiple Pivot Row Label data from that date range into one Summary cell? I know that SUMIF does well with gathering all the data for a specific date criteria, but what about my situation where I want the data summed for a date-range of multiple date criteria?
Thanks so much for your help here!
I can't imagine any simple way to extract data using row labels like yours. Before you can do anything "normal", you would need to do something to convert those row labels into standard simple date references.
Perhaps adding a column to your data that is designed to convert those strings into a standard date. You could create a two-column lookup table that lists those labels in one column and the date to convert it to in the next column. Then a simple VLOOKUP could be used to lookup the approprate date from that table.
Once that new column is in place, you can create simple SUMIFS() formulas to gather the date from within the specified date range.
That's the only thing that comes to mind.
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here