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

Lyryx

New Member
Joined
Aug 18, 2015
Messages
42
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 :LOL:
  • [Due Date] = the date the items are due.

Thanks in advance! :)
 

JoeMo

MrExcel MVP
Joined
May 26, 2009
Messages
16,691
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.
 

Lyryx

New Member
Joined
Aug 18, 2015
Messages
42
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),)
 

Lyryx

New Member
Joined
Aug 18, 2015
Messages
42
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 :)
 

JoeMo

MrExcel MVP
Joined
May 26, 2009
Messages
16,691
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.
 

Forum statistics

Threads
1,085,956
Messages
5,386,932
Members
402,025
Latest member
saresum

Some videos you may like

This Week's Hot Topics

Top