Indirect funcion and tab name

Leviatano80

New Member
Joined
Nov 22, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi, I hope that you can help with this.
I use Indirect function to calculate sum if I mees specific conditions. =SUMPRODUCT(SUMIFS(INDIRECT("'"&$Y$1:$Y$34&"'!j2:j103");INDIRECT("'"&$Y$1:$Y$34&"'!e2:e103");'Global Forecast'!$E2))
using F9 and selecting only this part of formula SUMIFS(INDIRECT("'"&$Y$1:$Y$34&"'!j2:j103");INDIRECT("'"&$Y$1:$Y$34&"'!e2:e103");'Global Forecast'!$E2) I am able to see all the elements of my matrix {0;0;0;0;0;0;0;22;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0} but for me it would be more useful to see the name of the TAB so that I can understand from which tab we have a value. in this case I should check that value 22 comes from tab 8.
any solution?
thank you
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
You wouldn't be able to see it at that point but you might be able to by adding some extra steps (please note that I haven't tested this, it is a theory that should do what you need).

The tab names will come up about 4 steps after the array that you have shown in your post.

Excel Formula:
=LET(what;SUMIFS(INDIRECT("'"&$Y$1:$Y$34&"'!j2:j103");INDIRECT("'"&$Y$1:$Y$34&"'!e2:e103");'Global Forecast'!$E2);where;IF(what;$Y$1:$Y$34;"");SUMPRODUCT(what))
 
Upvote 0

Forum statistics

Threads
1,214,896
Messages
6,122,132
Members
449,066
Latest member
Andyg666

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