sumifs with multiple tables

Luc1997NL

New Member
Joined
Aug 20, 2021
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hello,
I have a question and i hope someone can help me out.
I want to use the indirect function. I already used it in F1. I did =VLOOKUP(E1,INDIRECT(D1),2,0)
Now I want to do it the same way in F3 but now with sumifs or maybe another function? I actually want a value of 18 in F3. How can I do this?
Kind regards,
Luc
 

Attachments

  • Capture.JPG
    Capture.JPG
    49 KB · Views: 10

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
How about
Excel Formula:
=LET(Tbl,SWITCH(D3,"Table1",Table1,"Table2",Table2),SUMIFS(INDEX(Tbl,,2),INDEX(Tbl,,1),E3))
 
Upvote 0
How about
Excel Formula:
=LET(Tbl,SWITCH(D3,"Table1",Table1,"Table2",Table2),SUMIFS(INDEX(Tbl,,2),INDEX(Tbl,,1),E3))
Thank you for your answer but do you also know the solution for excel 2013? because sometimes I use a older version of excel. I hope you have a formula? Thanks
Kind regards,
Luc
 
Upvote 0
Try
Excel Formula:
=SUMIFS(INDEX(INDIRECT(D3),,2),INDEX(INDIRECT(D3),,1),E3)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,945
Messages
6,127,844
Members
449,411
Latest member
adunn_23

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