+ Reply to Thread
Results 1 to 8 of 8

Google Sheets: function for counting down based on strike through

Hybrid View

  1. #1
    Registered User
    Join Date
    03-30-2015
    Location
    new york
    MS-Off Ver
    2010
    Posts
    15

    Google Sheets: function for counting down based on strike through

    Hello,

    I am creating an Excel spreadsheet in Google Sheets.

    I have one column that has numbers in it:

    i.e.

    1
    2
    1
    5

    The numbers represent fixes. When a fix is made, the number will receive a strikethrough in the cell.

    I want the header for that column to read "x of 9 fixes remaining" where "x" automatically counts down when a strike through is applied in the cell. (i.e. When the first cell receives a strikethrough, it should say "8 of 9 fixes remaining".)

    Please let me know if this is possible.

    Thanks!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,765

    Re: Excel function for counting down based on strike through

    Welcome to the forum.

    You cannot create an Excel spreadsheet in Google Sheets - will you be using Excel or Google Sheets to use the spreadsheet once built?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    03-30-2015
    Location
    new york
    MS-Off Ver
    2010
    Posts
    15

    Re: Excel function for counting down based on strike through

    My first sentence was not worded correctly. I will be using Google Sheets to host the spreadsheet.

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

    Re: Excel function for counting down based on strike through

    I don't think it's possible. It is only possible in Excel if you use an old Macro 4 command (Get.Cell) or use VBA.
    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

  5. #5
    Registered User
    Join Date
    03-30-2015
    Location
    new york
    MS-Off Ver
    2010
    Posts
    15

    Re: Excel function for counting down based on strike through

    Google Sheets has a free template called the "To Do" list.

    It uses the formula below to change the value of "x" in (x/3 completed) when a row receives a strike through:

    =CONCATENATE(COUNTIF($A$4:$A$51,TRUE), "/", COUNTA($C$4:$C$51), " completed ")

    i.e. When a row receives a strike through, x turns into 1/3 completed.

    I need to create a similar formula where it counts down based on the value in the cell.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2504
    Posts
    19,295

    Re: Google Sheets: function for counting down based on strike through

    Perhaps the following will work:
    Formula: copy to clipboard
    =CONCATENATE(COUNTA($C$4:$C$51)-COUNTIF($A$4:$A$51,TRUE), "/", COUNTA($C$4:$C$51), "  fixes remaining ")

    Hope that this is helpful.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  7. #7
    Registered User
    Join Date
    03-30-2015
    Location
    new york
    MS-Off Ver
    2010
    Posts
    15

    Re: Google Sheets: function for counting down based on strike through

    Quote Originally Posted by JeteMc View Post
    Perhaps the following will work:
    Formula: copy to clipboard
    =CONCATENATE(COUNTA($C$4:$C$51)-COUNTIF($A$4:$A$51,TRUE), "/", COUNTA($C$4:$C$51), "  fixes remaining ")

    Hope that this is helpful.

    Thank you! This works if each cell only contains one fix. However each cell can have any number in it.

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2504
    Posts
    19,295

    Re: Google Sheets: function for counting down based on strike through

    It may help us better understand what you are attempting if you could upload a sample .xlsx file (instructions in the banner at the top of the page).
    Let us know if you have any questions.

+ 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. Google Apps Script for Google Sheets Pulling Formulas from Master to Several Slave Sheets
    By excelroofing in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 08-22-2018, 02:06 AM
  2. COUNTUNIQUE Function in Google Sheets; Excel lacks a direct counterpart to this function?
    By PivotTablePSHomage in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2018, 05:27 AM
  3. UDF that performs like google sheets SPLIT function
    By reynastus2 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-21-2016, 05:57 PM
  4. email row contents based on cell values (google sheets populated by google forms)
    By reedg in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 01-13-2016, 02:55 PM
  5. Import function in Google Sheets
    By Bielbo in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 10-27-2014, 06:15 AM
  6. need 'continue' function. how to update to new google sheets?
    By eusair in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 10-15-2014, 11:36 PM
  7. Stop counting days and strike through
    By stevieaim in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-28-2009, 06:01 AM

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