+ Reply to Thread
Results 1 to 6 of 6

I have a problem with my array

Hybrid View

punter I have a problem with my array 08-29-2012, 03:15 PM
ChemistB Re: I haev a problem with my... 08-29-2012, 03:46 PM
punter Re: I haev a problem with my... 08-29-2012, 04:31 PM
ChemistB Re: I haev a problem with my... 08-29-2012, 04:32 PM
punter Re: I haev a problem with my... 08-29-2012, 04:54 PM
ChemistB Re: I have a problem with my... 08-30-2012, 09:13 AM
  1. #1
    Forum Contributor
    Join Date
    10-28-2003
    Location
    Happyville, USA
    MS-Off Ver
    365
    Posts
    300

    I have a problem with my array

    Hello all...thank you in advance your help.

    I am having a bit of a problem with below array:

    HTML Code: 
    It is working well enough in many ways. However, I need the cell that the array is in (AU) to return a blank cell if cell AV is anything but "Yes".

    So I need I need AU to be blank if AV is anything but "Yes".

    How can I modify my the above array to do that?

    Thank you very much.

    Eddie
    Last edited by punter; 08-30-2012 at 10:46 AM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: I haev a problem with my array

    What version of Excel are you using?
    If it's Excel 2007 and up,
    IFERROR(Your formula,"")
    If it < Excel 2007
    Maybe IF(SUMIFS(AS:AS,AV:AV,"Yes")<>0,Your formula, "")
    Either of those work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Contributor
    Join Date
    10-28-2003
    Location
    Happyville, USA
    MS-Off Ver
    365
    Posts
    300

    Re: I haev a problem with my array

    Thank you so much for your help.

    I am using a new version of excel. I have tried the IFERROR but I can't get it work. Where would you put it?

    HTML Code: 

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: I haev a problem with my array

    =IFERROR((SUMPRODUCT((AM:AM),(AS:AS), --(AV:AV="Yes")))/(SUMIFS(AS:AS,AV:AV,"Yes")),"")

  5. #5
    Forum Contributor
    Join Date
    10-28-2003
    Location
    Happyville, USA
    MS-Off Ver
    365
    Posts
    300

    Re: I haev a problem with my array

    I am trying the formula below:

    HTML Code: 
    It is still returning a value in AU even if AV has something besides "Yes". Any thoughts?

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: I have a problem with my array

    A value other than zero? This part of your formula
    Formula: copy to clipboard
    SUMPRODUCT(AM:AM),(AS:AS),--(AV:AV="Yes"))
    should only return values if the value in AV is Yes in any given row. Can you upload an example spreadsheet (Go Advanced> Manage Attachments)?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1