+ Reply to Thread
Results 1 to 5 of 5

Formula for repeating cells

  1. #1
    Registered User
    Join Date
    04-22-2018
    Location
    orlando
    MS-Off Ver
    2013
    Posts
    33

    Formula for repeating cells

    Hey guys. In column a I have a bunch of dates. Some of them repeat. I’m column b I have a bunch of text. I want to pull the number of times a specific word
    Appears in column b the first time it corresponds with a date. So if column a was 10/1/18 and 10/1/18 and column b was test and test, it would only count it once. Is there a single formula for that?

  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
    53,048

    Re: Formula for repeating cells

    Take a look at using the COUNTIFS() function

    Something like...
    =countifs($A$2:A2,A2,$B$2:B2,B2)-1
    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
    04-22-2018
    Location
    orlando
    MS-Off Ver
    2013
    Posts
    33

    Re: Formula for repeating cells

    Thanks FDibbins. I don't think I understand that one. Do you think you could suggest something using the following terms. Lets say the text im trying to count in Column B is "Test". If I pull every row with the word "test" in column B, Column A will have a bunch of dates, but some of the dates repeat. So I only want to count those dates once. So I want to count the number of times "Test" is in column B with a unique date in Column A. Thanks in advance!

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Formula for repeating cells

    Just try upload your excel file and your expected results

  5. #5
    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
    53,048

    Re: Formula for repeating cells

    I agree with azumi, to best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

+ 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. Cells repeating
    By faisal.ta in forum Excel General
    Replies: 1
    Last Post: 03-28-2014, 11:15 AM
  2. [SOLVED] Repeating an ID in multiple cells dependent on another cells value
    By Georgia1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-24-2013, 02:54 PM
  3. [SOLVED] Formula for Repeating Cell Value in Blank Cells
    By sbhattacharya99 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-19-2012, 04:49 PM
  4. Formula for Repeating Cell Value in Blank Cells
    By sbhattacharya99 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-19-2012, 04:43 PM
  5. formula to copy cells with a repeating pattern
    By jgaynor in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-20-2011, 09:58 AM
  6. creating a repeating formula that doesn't show repeating values
    By cybershot in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 12-09-2010, 06:12 PM
  7. Formatting repeating cells
    By Winterburn in forum Excel General
    Replies: 7
    Last Post: 01-02-2010, 04:44 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