MAXIFS Substitute, no Array to be used in an INDEX function

Lyryx

New Member
Joined
Aug 18, 2015
Messages
45
Hi everyone,

I just finished writing a decent TO-DO list that was to be used at the office while working on my home computer.
Unfortunately my office doesn't have working MAXIFS functions with their version of Excel... I've looked up a few alternatives but I don't think an array will work because the function needs to be nested in an INDEX function.

Essentially, the formula looks at the priority weights of different tasks in a list, and selects the highest priority item that is either on the same day as today or older and displays that task.

Here's the code I was using for my home version of the workbook if it helps.

Code:
=INDEX(TaskList[File],MATCH(MAXIFS(TaskList[!],TaskList[Due Date],"<="&TODAY()),TaskList[!],FALSE),)&" - "&INDEX(TaskList[Task],MATCH(MAXIFS(TaskList[!],TaskList[Due Date],"<="&TODAY()),TaskList[!],FALSE),)

Where:
  • TaskList = Table name
  • [File] = the column that lists the name of the files to be looked at
  • [!] = is the priority column that is being evaluated by the soon to be replaced MaxIFS function :laugh:
  • [Due Date] = the date the items are due.

Thanks in advance! :)
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Untested, but try substituting this:
Code:
=MAX(IF(TaskList[Due Date]<=TODAY(),TaskList[!],0))
for this:
Code:
MAXIFS(TaskList[!],TaskList[Due Date],"<="&TODAY())
and confirm the entire formula with ctrl+shift+enter.
 
Upvote 0
Thanks for the prompt Reply Joe!

I gave it a shot but i's kicking back with a #Value ! issue...

Code:
=INDEX(TaskList[File],MATCH(MAX(IF(TaskList[Due Date]<=TODAY(),TaskList[!],0)),TaskList[!],FALSE),)&" - "&INDEX(TaskList[Task],MATCH(MAXIFS(TaskList[!],TaskList[Due Date],"<="&TODAY()),TaskList[!],FALSE),)
 
Upvote 0
Oh wait, I swapped it to an Array CTRL + Shift + Enter and that worked great!

I figured because it were nested I'd be SOL but this is awesome.

Thanks :)
 
Upvote 0
Oh wait, I swapped it to an Array CTRL + Shift + Enter and that worked great!

I figured because it were nested I'd be SOL but this is awesome.

Thanks :)
You are welcome - thanks for the reply.
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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