Dynamic Range based on Financial Period?

khlau

New Member
Joined
Jan 22, 2018
Messages
13
Hi Guys,

Wondering if someone could help?

I am trying to create a formula string that will change dynamically depending on the financial period.

So for example, if it is in period 1, COUNTA(E3:E3), period 2 COUNTA(E3:F3) etc. all the way to Period 12 where range is E3:P3.

I need this to update for all rows and my string is:

=IF(D3="Bi-Monthly",IF(COUNTA(("E"&ROW()&":"&VLOOKUP($B$1,Formulae!A:C,3,0)&ROW()))=$B$1/2,"No Action","Action Required")) - Open to other ways of achieving the same outcome!

Currently, however when evaluated COUNTA returns 1.

I have attached the URL below:

Thanks for your time.

https://ufile.io/j0hy7
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Currently, however when evaluated COUNTA returns 1.
Yes, COUNTA evaluates the string to 1 every time. You probably need to use the INDIRECT function to convert the string to a cell ref.

=IF(D3="Bi-Monthly",IF(COUNTA(INDIRECT(("E"&ROW()&":"&VLOOKUP($B$1,Formulae!A:C,3,0)&ROW())))=$B$1/2,"No Action","Action Required"))
 
Upvote 0

Forum statistics

Threads
1,215,947
Messages
6,127,867
Members
449,410
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