+ Reply to Thread
Results 1 to 4 of 4

SUMPRODUCT that ignores strikethrough

  1. #1
    Registered User
    Join Date
    07-12-2018
    Location
    New Mexico
    MS-Off Ver
    2016
    Posts
    2

    SUMPRODUCT that ignores strikethrough

    So, I know it has to be a custom function. I have tried building one in VBA and have not real luck. Any ideas how to build a function that works just like SUMPRODUCT but ignores cells that are strike through.

    I guess we could make it a cell fill color function instead, the important issue is being able to see the data but not have it calculated in the SUMPRODUCT function.

    Am I dreaming that this can be done? I am very new to the world of custom functions and have used a few, but this one is kicking my rear.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: SUMPRODUCT that ignores strikethrough

    Hi, welcome to the forum

    What would determine if a cell gets strikethrough?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-12-2018
    Location
    New Mexico
    MS-Off Ver
    2016
    Posts
    2

    Re: SUMPRODUCT that ignores strikethrough

    At this point it is manually selected and changed to strike through when the task is complete. I am contemplating having to add another column with a data validation list set that will allow
    for a "complete" to be selected for a row and that would conditionally format the row to strike-through font. In that case, I would just key if off that column. Just trying to add some new
    functionality that was presented as a want. If the strike-through dependent custom function is too much of a pain I may just take the easy way out.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: SUMPRODUCT that ignores strikethrough

    Seeing as ST is a format, and most formulas cant see formatting, I think either a test to see if the task is complete, or base the SP (or some other function) on the other cells "qualifying" as complete?

    What is your SP, and can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. COUNTIF ignores pre zero's
    By ArnolddG in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-30-2014, 04:52 PM
  2. If then strikethrough
    By kosheboy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-25-2013, 04:49 PM
  3. [SOLVED] Strikethrough a specified row
    By fatalcore in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-15-2012, 09:22 AM
  4. Replies: 2
    Last Post: 07-11-2012, 08:58 AM
  5. strikethrough
    By herbzee in forum Excel General
    Replies: 7
    Last Post: 03-14-2006, 09:10 PM
  6. Re:strikethrough
    By newbie in forum Excel General
    Replies: 2
    Last Post: 07-17-2005, 09:05 PM
  7. Min Value using array ignores Zero
    By mauddib in forum Excel General
    Replies: 2
    Last Post: 02-16-2005, 03:04 PM

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