+ Reply to Thread
Results 1 to 8 of 8

removing duplicates in cells that don't comply with formula.

  1. #1
    Registered User
    Join Date
    12-28-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    54

    removing duplicates in cells that don't comply with formula.

    Hello,

    I need assistance creating a formula. The formula needs to be something like this:

    Please Login or Register  to view this content.
    . Basically, I need the formula to read the value in cell A and if it is a "1" then the value in Cell G will remain, all other values in cell A will erase the values in cell G. Does anyone know a formula that will do this?

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: removing duplicates in cells that don't comply with formula.

    Do you insert the values in column G by a formula OR manually?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    12-28-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    54

    Re: removing duplicates in cells that don't comply with formula.

    Basically there are values in cell A and values in cell G. The formula in cell H will read the values in cell A and cell G and if the value in cell A is 1 then the value in cell H will remain and anything below cell H will have a Blank Space until the next line in cell A is a 1 again.
    Last edited by wyldjokre69; 09-16-2013 at 06:33 AM.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: removing duplicates in cells that don't comply with formula.

    If i get correctly your goal, then in H2 and copy down use this.

    =IF($a$1=1,g2,"")

    Hide column G.

  5. #5
    Registered User
    Join Date
    12-28-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    54

    Re: removing duplicates in cells that don't comply with formula.

    When I put the formula in cell H it doesn't transfer the value over. What I need the formula to do is read the value in A and if it is a 1 transfer the value in cell G over to cell H where the formula is but if the value in cell A is not 1 then the value shouldn't appear in cell H.

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: removing duplicates in cells that don't comply with formula.

    AAuming that your data start in row 2, in H2 anf copy down this one should works..

    =IF($a2=1,g2,"")

  7. #7
    Registered User
    Join Date
    12-28-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    54

    Re: removing duplicates in cells that don't comply with formula.

    Brilliant Fotis1991. Your formula worked. Thank you so very much it has saved me a lot of extra time.
    Last edited by wyldjokre69; 09-16-2013 at 06:53 AM.

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: removing duplicates in cells that don't comply with formula.

    You are welcome and thanks for the feed back.

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

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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] Remove duplicates without removing cells (leave blank)
    By RobertOHare in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-10-2013, 09:57 AM
  2. [SOLVED] Why is this formula removing duplicates?
    By naira in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-08-2013, 07:44 PM
  3. [SOLVED] REmoving duplicates formula?
    By controlfreak in forum Excel General
    Replies: 12
    Last Post: 06-19-2012, 12:10 PM
  4. Replies: 1
    Last Post: 07-15-2011, 08:36 AM
  5. Color cells those do not comply Data Validation
    By BiduraKumar in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-28-2010, 05:33 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