Consulting

Results 1 to 6 of 6

Thread: Solved: Array Formula Question

  1. #1

    Solved: Array Formula Question

    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!

  2. #2
    VBAX Contributor GarysStudent's Avatar
    Joined
    Aug 2012
    Location
    Lakehurst, NJ, USA
    Posts
    127
    Location
    just drop the "=" in the second line
    Have a Great Day!

  3. #3
    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))}

  4. #4
    VBAX Contributor GarysStudent's Avatar
    Joined
    Aug 2012
    Location
    Lakehurst, NJ, USA
    Posts
    127
    Location
    Its only a single array formula.
    Have a Great Day!

  5. #5
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    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.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  6. #6
    Thanks for your help. It worked exactly how I wanted it. I appreciate it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •