+ Reply to Thread
Results 1 to 3 of 3

IF Cell Duplicated, Paste Value next to the First Duplicated Cell Excel Forumla

  1. #1
    Registered User
    Join Date
    10-07-2012
    Location
    Egypt
    MS-Off Ver
    Excel 2003
    Posts
    3

    IF Cell Duplicated, Paste Value next to the First Duplicated Cell Excel Forumla

    I am a newb and looking for a excel formula help. Here is a diagram just to make it easy

    ------ A -------- B -------- C -------- D
    1--- Jone ---- Yes ---- Nine ----------
    2--- Jone --------------- Nine ---- End
    3--- Peter ---- Yes ---------------- End
    4--- Mic ------- Yes --------------- End
    5--- Sarah ---- Yes --------------- End
    6--- Adam ---- Yes ---- Nine----------
    7--- Adam -------------- Nine ----- End
    8--- Edward ---- Yes -------------End

    I am try to create formula that will lookup for values in column A and If there is a repeated value, it past the word "Yes" next to the first duplicated value in Column B, Word "Nine" next to both duplicated values in Column C, and word "End" next to the last duplicated value in Column D. If the value is not duplicated, so it just past word "Yes" in column B and word "End" in column D.

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: IF Cell Duplicated, Paste Value next to the First Duplicated Cell Excel Forumla

    Try this,

    B1, copy down.

    =IF(COUNTIF(A$1:A1,A1)=1,"Yes","")

    C1, copy down.

    =IF(COUNTIF(A:A,A1)>1,"Nine","")

    D1, copy down.

    =IF(COUNTIF(A:A,A1)=COUNTIF(A$1:A1,A1),"End","")
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Registered User
    Join Date
    10-07-2012
    Location
    Egypt
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: IF Cell Duplicated, Paste Value next to the First Duplicated Cell Excel Forumla

    Thaaaanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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