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: 11

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
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,223,884
Messages
6,175,177
Members
452,615
Latest member
bogeys2birdies

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