+ Reply to Thread
Results 1 to 20 of 20

Google Spreadsheets- characters in a row

  1. #1
    Registered User
    Join Date
    09-18-2021
    Location
    Sweden
    MS-Off Ver
    Google Spreadsheets/2010
    Posts
    59

    Unhappy Google Spreadsheets- characters in a row

    11x2221111xx1
    false 4 (should be 1) =SUBSTITUTE(O19;REPT("1";P20);"";"4")=LEN(O19)-LEN(O20)
    false 3 (should be 0) =SUBSTITUTE(O20;REPT("1";P21);"";"3")=LEN(O20)-LEN(O21)
    false 2 (should be 1) =SUBSTITUTE(O21;REPT("1";P22);"";"2")=LEN(O21)-LEN(O22)
    false 1 (should be 1) =SUBSTITUTE(O22;REPT("1";P23);"";"1")=LEN(O22)-LEN(O23)

    How to get the right numbers instead of False?
    I want to know how many times number 1 has been in a row
    4 times a row
    3 times a row
    2 times a row
    1 times a row

  2. #2
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Google Spreadsheets- characters in a row

    are you able tp attach a txt file that has link to a shared version (without sensitive info) of your spreadsheet?

  3. #3
    Registered User
    Join Date
    09-18-2021
    Location
    Sweden
    MS-Off Ver
    Google Spreadsheets/2010
    Posts
    59

    Re: Google Spreadsheets- characters in a row

    i wish i could but im not allowed to post a link

    (You are not allowed to post any kinds of links, images or videos until you post a few times.)

    ok, i have more questions so i start a new thread
    Last edited by KentaTippar; 09-18-2021 at 09:36 AM. Reason: more text

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Google Spreadsheets- characters in a row

    Actually, you can, but you will have to enter the URL with maybe TWO (no more) gaps in it.

    This question needs to be answered in this thread.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    09-18-2021
    Location
    Sweden
    MS-Off Ver
    Google Spreadsheets/2010
    Posts
    59

    Re: Google Spreadsheets- characters in a row

    aha, good it comes from you bec u are moderator, then lets do it :-)
    Last edited by KentaTippar; 09-19-2021 at 06:03 AM. Reason: removing link i share

  6. #6
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Google Spreadsheets- characters in a row

    in cell O6, im not sure what you are trying to do with this formula:
    Please Login or Register  to view this content.
    1. the formula asks if one part equals another, which can only return true or false.
    2. part of that comparison is using itself to deduct from another cell, which will always return false

  7. #7
    Registered User
    Join Date
    09-18-2021
    Location
    Sweden
    MS-Off Ver
    Google Spreadsheets/2010
    Posts
    59

    Re: Google Spreadsheets- characters in a row

    I dont know either, im very new to this and that formula was written by another forum but it was in excel, and i was kicked out because it was to google spreadsheets, not excel.

    if there is 2 or more in a row of number 1 i want it to return how many in a row. But ok, if that formula only returns false, thats wrong

  8. #8
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Google Spreadsheets- characters in a row

    it appears that the above mentioned formula in O6, is actually meant to be two (2) separate formulas:

    in theory....

    O6 should be:
    Please Login or Register  to view this content.
    and R6 should be the remaining:
    Please Login or Register  to view this content.
    however, this give a difference in length, rather than the count, so it is fails to give the correct results.

    instead, use the formula in O6 (as above), and drag down, then....

    in R6 use the following formula:
    Please Login or Register  to view this content.
    and drag down
    Last edited by janmorris; 09-18-2021 at 12:47 PM.

  9. #9
    Registered User
    Join Date
    09-18-2021
    Location
    Sweden
    MS-Off Ver
    Google Spreadsheets/2010
    Posts
    59

    Re: Google Spreadsheets- characters in a row

    very tricky to get it correct but its still not solved
    Last edited by KentaTippar; 09-18-2021 at 03:24 PM. Reason: more

  10. #10
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Google Spreadsheets- characters in a row

    Please check your google spreadsheet for the formulas already applied, and if it takes care of your question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Google Spreadsheets- characters in a row

    Quote Originally Posted by KentaTippar View Post
    very tricky to get it correct but its still not solved
    What isn't working? Be specific. "Still not solved" tells us nothing useful.

  12. #12
    Registered User
    Join Date
    09-18-2021
    Location
    Sweden
    MS-Off Ver
    Google Spreadsheets/2010
    Posts
    59

    Re: Google Spreadsheets- characters in a row

    11X222111XXX1

    there is one in a row of 1(1)
    one in a row of 2 (11)
    one in a row of 3(111)
    0 of 4 in a row

    4 0
    3 1
    2 1
    1 1

    that is the correct return

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Google Spreadsheets- characters in a row

    Provide a link to the Google Sheet - you can do this by adding two spaces to the URL.

  14. #14
    Registered User
    Join Date
    09-18-2021
    Location
    Sweden
    MS-Off Ver
    Google Spreadsheets/2010
    Posts
    59

    Re: Google Spreadsheets- characters in a row

    i already did that yesterday

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Google Spreadsheets- characters in a row

    Is that the version showing the issues?

  16. #16
    Registered User
    Join Date
    09-18-2021
    Location
    Sweden
    MS-Off Ver
    Google Spreadsheets/2010
    Posts
    59

    Re: Google Spreadsheets- characters in a row

    yes, its the same question as yesterday

  17. #17
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Google Spreadsheets- characters in a row

    I know it's the same question - that's not what I asked.

  18. #18
    Registered User
    Join Date
    09-18-2021
    Location
    Sweden
    MS-Off Ver
    Google Spreadsheets/2010
    Posts
    59

    Re: Google Spreadsheets- characters in a row

    the new formula you guys helped me yesterday is not correct
    in Q6:Q9 it returns wrong
    in S6:S9 is what it should return

    or maybe i dont understand your answers,

    ok, its working, i didnt see it was done in 2 sheets

    thank you
    Last edited by KentaTippar; 09-19-2021 at 05:57 AM. Reason: CORRECT

  19. #19
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Google Spreadsheets- characters in a row

    Thanks for letting us know.

  20. #20
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Google Spreadsheets- characters in a row

    it has already been explained to look at column R.

    column Q is all variations, column R is exclusive variations.

    the duplicate/copy of the sheet was only to use as a working sheet while others were working on the main sheet.

    because you have removed the file link there is no way for me to do a screenshot of the proof of results.

    have another look and you will see the data is the same for columns Q and R on both sheets.
    Last edited by janmorris; 09-19-2021 at 07:28 AM.

+ 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. Publish multiple google spreadsheets simultaneously
    By TBurgum in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 01-02-2018, 06:12 AM
  2. dependent dropdown list in google spreadsheets
    By tsshivaprakash in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 01-02-2018, 05:42 AM
  3. dependent dropdown list in google spreadsheets
    By tsshivaprakash in forum Excel General
    Replies: 0
    Last Post: 01-02-2018, 05:42 AM
  4. Excel data to Google Spreadsheets
    By mongoose36 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-07-2014, 03:18 PM
  5. Google Spreadsheets, how do I make an array formula?
    By puretppc in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 02-02-2014, 08:13 PM
  6. Rotating Spreadsheets in Google Drive
    By Simone1234 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-22-2013, 03:56 PM
  7. Replies: 0
    Last Post: 08-12-2010, 07:52 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