+ Reply to Thread
Results 1 to 5 of 5

+2 Value for the text written twice on the same cell

  1. #1
    Registered User
    Join Date
    07-15-2016
    Location
    manila, philippines
    MS-Off Ver
    2013
    Posts
    5

    +2 Value for the text written twice on the same cell

    Hi!

    I have made a huge step forward from the formula i am currently using:

    HTML Code: 
    all thanks to TMS!

    However, I dont know what to do if the same text is written twice on the same cell the return value is still 1.

    I need the 2 return value if the text is written twice on a single cell.
    Attached is the excel file for further reference.

    Thanks!

    Kind regards,
    Rael

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: +2 Value for the text written twice on the same cell

    No attachment.

  3. #3
    Registered User
    Join Date
    07-15-2016
    Location
    manila, philippines
    MS-Off Ver
    2013
    Posts
    5

    Re: +2 Value for the text written twice on the same cell

    oops! heres the attachment.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: +2 Value for the text written twice on the same cell

    Try

    in G2

    =SUMPRODUCT(((LEN($B$2:$B$25)-LEN(SUBSTITUTE($B$2:$B$25,$E3,"")))/LEN($E3)*(DATE(YEAR($E$1),MONTH($E$1),G$2)=$A$2:$A$25)))

    Copy across and down
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-15-2016
    Location
    manila, philippines
    MS-Off Ver
    2013
    Posts
    5

    Re: +2 Value for the text written twice on the same cell

    JohnTopley,

    Thanks a lot! I don't know how, but it works

    Best Regards!
    Rael

+ 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. [SOLVED] Formula to count the number of spaces before text/number is written in a cell.
    By kmis in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-12-2013, 05:05 PM
  2. [SOLVED] How to address copy destination cell in VBA if cell adress is written as a text elswhere
    By flyman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-08-2013, 05:29 PM
  3. [SOLVED] How to disallow Particular text to be written in a cell?
    By caabdul in forum Excel General
    Replies: 4
    Last Post: 11-14-2012, 08:50 AM
  4. Replies: 20
    Last Post: 04-16-2012, 10:39 AM
  5. Auto execute a macro to trigger when text is written in a cell
    By mhickey in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 03-02-2012, 04:56 PM
  6. Making text appear in cell as written
    By SnoLepard in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-25-2006, 07:40 PM
  7. how can I check if there is text written in a cell?
    By hendersson in forum Excel General
    Replies: 4
    Last Post: 10-12-2005, 09:38 AM

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