INDIRECT or alternative

Luke777

Board Regular
Joined
Aug 10, 2020
Messages
246
Office Version
  1. 365
Platform
  1. Windows
Hi,

I can’t quite figure out how to do this despite numbers attempts.

I’m creating a formula on a sheet. This formula refers to another sheet. The sheet it refers to is selected by the user.

B1 contains the month
B2 contains the year

The sheet (for simplicity) being referenced will be August 2023.

I’m struggling to get indirect to look at B1 AND B2 before the “!” WITH a space (“ “) between B1 and B2.

The formula without the indirect is just =COUNTIF(N:N,”Validated”).

I’m building a simplistic report page where the count of “Validated” can be user selected by month-year

Thanks all
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
How about
Excel Formula:
=COUNTIF(indirect("'"&b1&" "&b2&"'!N:N"),"Validated")
 
Upvote 0
Solution

Forum statistics

Threads
1,215,143
Messages
6,123,277
Members
449,093
Latest member
Vincent Khandagale

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