INDEX array problems!

cardinal_steve

New Member
Joined
Sep 23, 2018
Messages
3
Hi All

I have a formula, that works! Hooray! But only with a manual entered INDEX array..

The working formula is..

[FONT=&quot]=COUNTIF(INDEX(OCTOBER_2018,MATCH(INVOICE_CHILD,Children,0),),"07:30")


However I want it to be entered 'on the fly' and when it is the following...[/FONT]

[FONT=&quot]=COUNTIF(INDEX(INVOICE_MONTH,MATCH(INVOICE_CHILD,Children,0),),"07:30")

...I get a REF error but only with the INVOICE_MONTH


Basically, I have a drop down list (named INVOICE_MONTH) that I want to change for every month (!) but if INVOICE MONTH contains e.g OCTOBER_2018 it errors.


Is there anyway to be able to used a named array via text from elsewhere? INVOICE_CHILD works in the same work, but works!


Thanks in advance!




It works with


[/FONT]
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi. Thanks for your reply.

October_2018 is just a name for a range, let's say... A2:G30

INVOICE_MONTH is a cell which has the text October_2018 in it.

But the formula only works with October_2018 in it.

It's very frustrating.
 
Upvote 0
Hi. Thanks for your reply.

October_2018 is just a name for a range, let's say... A2:G30

INVOICE_MONTH is a cell which has the text October_2018 in it.

But the formula only works with October_2018 in it.

It's very frustrating.

Try:

=COUNTIF(INDEX(INDIRECT(INVOICE_MONTH),MATCH(INVOICE_CHILD,Children,0),),"07:30")
 
Upvote 0

Forum statistics

Threads
1,224,798
Messages
6,181,038
Members
453,013
Latest member
Shubashish_Nandy

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