+ Reply to Thread
Results 1 to 6 of 6

Is it possible to exclude a specific cell in an array of data from a formula?

  1. #1
    Registered User
    Join Date
    08-04-2011
    Location
    Hillsboro, OR
    MS-Off Ver
    Excel 2003
    Posts
    14

    Is it possible to exclude a specific cell in an array of data from a formula?

    Every so often, there is a single cell of data that we want to "hide" from the data summary. Is it possible to set the properties for this cell in a way that the formula does not see it? We don't want to delete the cell or change its value.


    the formula below refers to one spreadsheet of several "Avastin100".
    Each Spreadsheet has multiple rows of data. Each column in the sheet represents a specific monitor. In this case, the data of interest is in column X. It is not feasible to modify the formula to exclude one cell in the column. If the data was deleted fromt the cell, it would solve the problem but, that is not desired.
    =IF($E6=0,"N/A",(SUMIFS(Avastin100!$X:$X,Avastin100!$I:$I,"1st Inspection", Avastin100!$A:$A,"*SSF*",Avastin100!$AZ:$AZ,"="&"Y",Avastin100!$D:$D,">="&EDATE(G$4,-12),Avastin100!$D:$D,"<"&EDATE(G$4,0)))/E6)

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Is it possible to exclude a specific cell in an array of data from a formula?

    So what do you want to exclude from the formula?
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Registered User
    Join Date
    08-04-2011
    Location
    Hillsboro, OR
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Is it possible to exclude a specific cell in an array of data from a formula?

    The formula is looking at possibly 50 or 60 cells...rather than add more complexity to the formula, I would rather change the properties of the one cell to make it unavailable. The other option is to delete the information in the cell but the company does not want to do that.

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Is it possible to exclude a specific cell in an array of data from a formula?

    Changing the properties of the cell doesn't affect the formula, that might require VBA.

    Is there any specific condition to exclude certain cells or are you manually defining which cell needs to exclude?

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Is it possible to exclude a specific cell in an array of data from a formula?

    Changing the property of the cell from numeric to text will prevent it from being summed.
    Adding a trailing spacing to a text value will eliminate it from the SUMIF() criteria.

  6. #6
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Is it possible to exclude a specific cell in an array of data from a formula?

    with some difficulty, you could setup Forms Control checkboxes for appropriate rows. when a checkbox is checked on, it displays the value TRUE in its linked cell, and FALSE when it is checked of. you could use this property in the SUMIF (or SUMPRODUCT) to leave any number of values out of mathematical calculations.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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