Sumifs/Index/Match or Sumifs criterial range 1 multiple columns

kalyan46

New Member
Joined
Mar 13, 2017
Messages
21
Office Version
  1. 365
I am trying to figure out how to use Sumifs/Index/Match or Sumifs (using criteria range 1(multiple columns).
I can get it to work referencing only 1 column in the criteria selection, however I need the logic to change based on a validation list drop down (Cell Z1) to choose the correct column (Q-U).

Please see attachment as reference.

Thank you for your time
 

Attachments

  • Example.jpg
    Example.jpg
    154.6 KB · Views: 30
When I tried to use this formula, it is only summing on the date, it is not calculating based on Z1 selection
 

Attachments

  • Ex2.jpg
    Ex2.jpg
    186.8 KB · Views: 8
Upvote 0

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
That suggest that the 1st 2 rows in col Q are not empty. What is in them?
 
Upvote 0
Can you post the actual formula
 
Upvote 0
Ok, how about
Excel Formula:
=SUMIFS(I:I,B:B,Y4,INDEX(Q:U,,MATCH(Z1,Q1:U1,0)),"?*")
as long as the entries are always text
 
Upvote 0
Solution
Ok, how about
Excel Formula:
=SUMIFS(I:I,B:B,Y4,INDEX(Q:U,,MATCH(Z1,Q1:U1,0)),"?*")
as long as the entries are always text
Worked!
Thank you, I really appreciate it
Can you explain the wildcard using the ?* logic?
 
Upvote 0
It's looking for any cell with 1 or more characters, so it ignores the nullstring from the formula, but doesn't work with numbers.
 
Upvote 0

Forum statistics

Threads
1,214,568
Messages
6,120,272
Members
448,953
Latest member
Dutchie_1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top