+ Reply to Thread
Results 1 to 7 of 7

formula that counts characters in multiple cells, and returns only the wrong cells

  1. #1
    Registered User
    Join Date
    07-18-2017
    Location
    miami
    MS-Off Ver
    2010
    Posts
    3

    formula that counts characters in multiple cells, and returns only the wrong cells

    hi again,
    First of all, thank you for all the help you have given me so far. You have significantly improved my work.

    All the details in the picture attached.
    Thank you very much for the help, very appreciate !!!

    Attachment 584477
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by etansatlan; 08-06-2018 at 09:12 AM. Reason: Add Excel file

  2. #2
    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,980

    Re: formula that counts characters in multiple cells, and returns only the wrong cells

    As this is your first post, I wonder what help we have given you before. Do you have another user profile with us?

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    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.

  3. #3
    Registered User
    Join Date
    07-18-2017
    Location
    miami
    MS-Off Ver
    2010
    Posts
    3

    Re: formula that counts characters in multiple cells, and returns only the wrong cells

    Thanks for the tutorial. Hope this helps to understand.
    I added an Excel file.
    Great day
    Last edited by AliGW; 08-06-2018 at 09:20 AM.

  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,980

    Re: formula that counts characters in multiple cells, and returns only the wrong cells

    How much wider can your real data be? Or is this it - just the columns shown? If the latter, it's just a case of concatenating the results from the table and hiding the table.

    =IF(LEN(B2)<5,"",B$1&" "&-LEN(B2)+4)&IF(LEN(C2)<5,"",", "&C$1&" "&-LEN(C2)+4)&IF(LEN(D2)<5,"",", "&D$1&" "&-LEN(D2)+4)&IF(LEN(E2)<5,"",", "&E$1&" "&-LEN(E2)+4)&IF(LEN(F2)<5,"",", "&F$1&" "&-LEN(F2)+4)&IF(LEN(G2)<5,"",", "&G$1&" "&-LEN(G2)+4)
    Last edited by AliGW; 08-06-2018 at 09:30 AM.

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: formula that counts characters in multiple cells, and returns only the wrong cells

    Hello and welcome to the forum.

    Here's one option:

    Q2 =IFERROR(INDEX($1:$1&"= "&2:2,SMALL(IF($J2:$O2<>"",COLUMN($J2:$O2)),COLUMNS($A:A))),"") Ctrl Shift Enter

    Drag through V2 then down as far as needed.

  6. #6
    Registered User
    Join Date
    07-18-2017
    Location
    miami
    MS-Off Ver
    2010
    Posts
    3

    Re: formula that counts characters in multiple cells, and returns only the wrong cells

    Quote Originally Posted by AliGW View Post
    How much wider can your real data be? Or is this it - just the columns shown? If the latter, it's just a case of concatenating the results from the table and hiding the table.

    =IF(LEN(B2)<5,"",B$1&" "&-LEN(B2)+4)&IF(LEN(C2)<5,"",", "&C$1&" "&-LEN(C2)+4)&IF(LEN(D2)<5,"",", "&D$1&" "&-LEN(D2)+4)&IF(LEN(E2)<5,"",", "&E$1&" "&-LEN(E2)+4)&IF(LEN(F2)<5,"",", "&F$1&" "&-LEN(F2)+4)&IF(LEN(G2)<5,"",", "&G$1&" "&-LEN(G2)+4)
    WOWWWWWWWWW tnxxxxx AliGW!!!!
    I hope it will help more people
    From an initial and not thorough examination it works fine. It will greatly facilitate my work.
    Thank you very much really appreciate the help !!!

  7. #7
    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,980

    Re: formula that counts characters in multiple cells, and returns only the wrong cells

    You're welcome!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Replies: 7
    Last Post: 01-10-2017, 12:49 PM
  2. Formula that counts whether two cells in a row contain data.
    By hotdogbuns in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-23-2015, 04:37 PM
  3. [SOLVED] Formula that counts if a cell has more than 5 characters.
    By danielneedssomehelp in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-21-2015, 10:00 PM
  4. Need formula to add + sign between characters in multiple cells
    By zarab in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-03-2013, 02:47 AM
  5. Replies: 4
    Last Post: 11-28-2012, 01:43 PM
  6. Formula that counts cells and returns a number
    By blburden in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-20-2012, 10:43 PM
  7. [SOLVED] Average Formula that counts blank cells
    By ChrisHallas in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-01-2012, 08:20 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