PDA

View Full Version : Solved: Array Formula Question



akreidler
03-07-2013, 01:18 PM
Not sure where to put this question but I am looking to nest another If statement inside an array formula where if the Array Formula answer = "01/01/2020" then I want it to return "No Start Date". Here is my array formula:

{=MIN(IF('Perform Billing Audit Report'!$B$2:$B$1500=Details!$D7,'Perform Billing Audit Report'!$E$2:$E$1500))}

So here is the formula I would want to see:

If({=MIN(IF('Perform Billing Audit Report'!$B$2:$B$1500=Details!$D7,'Perform Billing Audit Report'!$E$2:$E$1500))}="01/01/2020","No Start Date",{=MIN(IF('Perform Billing Audit Report'!$B$2:$B$1500=Details!$D7,'Perform Billing Audit Report'!$E$2:$E$1500))}

Hope someone can help me!

GarysStudent
03-07-2013, 01:25 PM
just drop the "=" in the second line

akreidler
03-07-2013, 01:54 PM
Does the whole formula need to become an array? Do you mean:

If({=MIN(IF('Perform Billing Audit Report'!$B$2:$B$1500=Details!$D7,'Perform Billing Audit Report'!$E$2:$E$1500))}="01/01/2020","No Start Date",{MIN(IF('Perform Billing Audit Report'!$B$2:$B$1500=Details!$D7,'Perform Billing Audit Report'!$E$2:$E$1500))}

Or do you mean

{If(MIN(IF('Perform Billing Audit Report'!$B$2:$B$1500=Details!$D7,'Perform Billing Audit Report'!$E$2:$E$1500))="01/01/2020","No Start Date",MIN(IF('Perform Billing Audit Report'!$B$2:$B$1500=Details!$D7,'Perform Billing Audit Report'!$E$2:$E$1500))}

GarysStudent
03-07-2013, 02:51 PM
Its only a single array formula.

Bob Phillips
03-07-2013, 03:58 PM
Like this

=IF(MIN(IF('Perform Billing Audit Report'!$B$2:$B$1500=Details!$D7,'Perform Billing Audit Report'!$E$2:$E$1500))=--"2020/01/01",
"No Start Date",
MIN(IF('Perform Billing Audit Report'!$B$2:$B$1500=Details!$D7,'Perform Billing Audit Report'!$E$2:$E$1500)))

array entered.

akreidler
03-07-2013, 08:22 PM
Thanks for your help. It worked exactly how I wanted it. I appreciate it