+ Reply to Thread
Results 1 to 3 of 3

How to insert a blank cell base on a condidition?

  1. #1
    Registered User
    Join Date
    08-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    1

    How to insert a blank cell base on a condidition?

    Hi,

    I am planning to automate the following process. I have document with three columns. Column A and B are values, Column C1 is the result of =EXACT(A1,B1), C2 = '=EXACT(A2,B2)'........ C4 is the result of =EXACT(A4,B4)

    A B C
    1 1 TRUE
    3 1 FALSE
    d 3 FALSE
    f d FALSE

    I need to insert a blank cell in the first FALSE so column A2 above become A3 at the same time C3 become TRUE.One problem with the formula in column C is that after you sift down column A also change the formula =EXACT(A3,B3) and becomes =EXACT(A4,B3).

    What I am doing now is sort column A and B and using conditional formation to find the unique value in cell B and insert a cell manually to column A but it is time consuming especially with one thousand rows to check .

    King regards


    Al

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: How to insert a blank cell base on a condidition?

    attach please a sample before and after
    Last edited by patel45; 08-15-2012 at 02:25 AM.

  3. #3
    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
    52,938

    Re: How to insert a blank cell base on a condidition?

    let me see if i understand you correctly. you want to move ALL the values in column B down, but you dont want the formula to change? why not just move the data down before you input/copy-down the formula?
    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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