+ Reply to Thread
Results 1 to 9 of 9

Delete Rows based on cell value and then Insert rows alternatively with a formula

  1. #1
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Delete Rows based on cell value and then Insert rows alternatively with a formula

    Hi Friends & Gurus,

    I am having a workbook consists a number of formulas & functions. I would like to do the following:

    1) In (Ranges A2:Z1000) if cell value is 0 in column A, then the entire row should be deleted.

    2) Then, in between two rows, one row must be inserted with a formula.


    I have attached a sample file and explained the problem also.

    As like earlier, I hope someone will help me to solve this problem.

    Thanks in advance.

    acsishere.
    Attached Files Attached Files
    Last edited by VBA Noob; 05-10-2008 at 05:49 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    If you are in a hurry then you really should search the Forum. There's numerous entries for deleting specific rows.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Smile Dear Mr. Roy

    Thanks for your reply.

    Yes, I too got a macro to delete the rows based on cell value.

    But, I need to insert row in alternate rows and then to calculate percentage of few columns based on a cell value also.

    I will highly appreciate your help in this regard.

    Thanks in advance,

    acsishere.

  4. #4
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Smile Dear Friends,

    Any solution for the above?

    Thanks in advance.

    acsishere.

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    acsishere,

    Please read forum rules below. If you wish to cross post the question on other forums feel free however we ask you always provide a link here

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  6. #6
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Smile Dear VBA Noob,

    Thanks for the given link. I read it now.

    Actually I was not aware of these rules and hence cross-posted. One will do things in right way only by experience. Henceforth, I will try to stick to rules.

    However, basically the intention is that to get the answer quickly. Not to violate the rules. Still, I feel sorry.

    Thanks for your suggestions.

    acsishere.
    Last edited by acsishere; 05-11-2008 at 08:05 AM.

  7. #7
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Smile Dear Sir,

    That's it. You did it. Thank you very much for your code.

    Please Login or Register  to view this content.
    Can you please tell me the way make the inserted rows with number format (as it meant percentage) as "0.00".

    Please help me to find the solution.

    Thanks a lot.

    acsishere.

  8. #8
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe

    Please Login or Register  to view this content.
    VBA Noob

  9. #9
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Smile Dear Sir,

    Thank you very much for your quick & prompt code.

    Thanks a lot for the support.

    acsishere.

+ 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