Hello,
I have a worksheet that has 1000+ non-adjacent named cells that contain detail data that needs to be summarized via multiple sub categories.
Each of these named cells adhere to a strict naming convention, and I've attempted to use =SUMIF (w absolutely no luck, hence this question) to locate all of the cells on the worksheet that match a portion of the cell's name that I need to summarize. For instance...
Sample cell names...
rskgbwSales - contains Sales detail data for a given quarter
rskgbwSalesM1 - contains Sales detail data for the 1st MM of the qtr
rskgbwSalesM2 - ... for 2nd MM of qtr
rskgbwSalesM3 - ... for 3rd MM of qtr
etc, etc.
Here's an example of a particular sub category that needs summarized, and the erroneous SUMIF formula that I attempted to use.
=SUMIF("D6:AO76", (If (InStr(1, Range.Name.Name) = "gbw") And (InStrRev(Range.Name.Name, "M1") > 0) )
If SUMIF can't do what I want, is there an alternative either using VBA or some other built-in function that will solve my problem?
Thank you!