+ Reply to Thread
Results 1 to 3 of 3

populate number if matching unless blank

  1. #1
    Registered User
    Join Date
    03-07-2013
    Location
    zurich
    MS-Off Ver
    Excel 2010
    Posts
    99

    populate number if matching unless blank

    Hello everyone!

    In the attached sheet, if the data from col A and C are distinct, then i need to populate as 1 unless blank (for duplicate)


    see example data in row number 2 is distinct (USA, 23-JAN-2005) , so display as 1
    where as same data is populated in row number 5 and 9 (duplicate), so display as blank


    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: populate number if matching unless blank

    I used a helpcolumn (yellow cells) to get the result.

    The result is in the green cells.

    I used =if(countif....
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: populate number if matching unless blank

    An alternative...

    =IF(SUMPRODUCT(--($A$2:A2=A2),--($C$2:C2=C2))=1,1,"")
    Regards,
    Rudi

+ 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: 2
    Last Post: 09-20-2013, 01:43 PM
  2. [SOLVED] Use VBA to populate Progressive Number in blank cell if a corresponding cell is not blank
    By davegscott in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-05-2012, 09:40 AM
  3. Trying to populate a clumn by matching 2 others.
    By okcjeeper in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-02-2012, 10:57 AM
  4. Replies: 3
    Last Post: 08-11-2009, 09:45 AM
  5. detecting the first blank row in the spreadsheet and populate the blank row with data
    By racerrunner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-14-2006, 01:22 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