Hi, I'm using Microsoft Office 365 on a managed, Windows-based machine.
I have a dataset (A6:I25) with seven fields, one per column in columns A through H, making up an account number. Not all account numbers contain all seven fields. There are charges in column I for each distinct account number combination. At the top (in row 3), I have an entry section where I can enter in any of the criteria found within the account numbers. I would like to be able to get a sum if I enter just one, or two, or any number of those criterium. I don't want it to look for a match to those blank cells in the dataset. But rather, I want it to ignore that field and return results for only the field(s) entered.
I've asked a somewhat similar question before and the solution to that, which was adding &"" to the end of some of the cell references, doesn't seem to be working here. The formula I'm trying is:
=SUMIFS(I7:I25,A7:A25,A3&"",B7:B25,B3&"",C7:C25,C3&"",D7:D25,D3&"",E7:E25,E3&"",F7:F25,F3&"",G7:G25,G3&"",H7:H25,H3&"")
I'm uploading an image of a sample dummy dataset with some color coding to group the distinct account number combinations. Pay particular attention to the bottom three sample on the right side of the sheet.
I have a dataset (A6:I25) with seven fields, one per column in columns A through H, making up an account number. Not all account numbers contain all seven fields. There are charges in column I for each distinct account number combination. At the top (in row 3), I have an entry section where I can enter in any of the criteria found within the account numbers. I would like to be able to get a sum if I enter just one, or two, or any number of those criterium. I don't want it to look for a match to those blank cells in the dataset. But rather, I want it to ignore that field and return results for only the field(s) entered.
I've asked a somewhat similar question before and the solution to that, which was adding &"" to the end of some of the cell references, doesn't seem to be working here. The formula I'm trying is:
=SUMIFS(I7:I25,A7:A25,A3&"",B7:B25,B3&"",C7:C25,C3&"",D7:D25,D3&"",E7:E25,E3&"",F7:F25,F3&"",G7:G25,G3&"",H7:H25,H3&"")
I'm uploading an image of a sample dummy dataset with some color coding to group the distinct account number combinations. Pay particular attention to the bottom three sample on the right side of the sheet.