+ Reply to Thread
Results 1 to 5 of 5

Not sure how to word my problem properly

  1. #1
    Registered User
    Join Date
    10-21-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    18

    Not sure how to word my problem properly

    I tried googling this, and I'm sure I can find it, but I have no idea what keywords to use.

    Basically I have a formula that can be dragged down. Ideally I can drag down to all 100000 rows, but that creates a huge file that lags. Is there way to add the same formula to the row below only if the current row is not empty?

    So saying cell A1 has formula =if(A2="","","3")

    i want A1 to A1048576 to have this formula. But that creates a big file.
    So only when A1 or A2 is not empty, then will this formula be copied down to B1

    Thanks in advance!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Not sure how to word my problem properly

    You're using Excel 2007 so convert your data to a Sructured Table (Insert | Table). That will propagate formulae, formatting, Conditional Formatting and Data Validation to cells in new rows.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-21-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    18

    Re: Not sure how to word my problem properly

    Crap I'm actually on 13. Forgot to update.

    I know of the table method, but it is not exactly feasible in my situation. Kinda hard to explain why.

    Would a nested formula be better?

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Not sure how to word my problem properly

    Try using VBA

    But I am not clear (from the below statement) about what you are trying to do

    Quote Originally Posted by streamofmight View Post
    So only when A1 or A2 is not empty, then will this formula be copied down to B1


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Not sure how to word my problem properly

    If you copy a formula down a column ... for over a million cells ... the workbook will become bloated and slow. Not sure what you have in mind for a nested formula, but that is only likely to make the situation worse. Especially if you have similar formulae in multiple columns.

    Your choices, if you don't want slow and bloated are:
    1. Only copy the formula for as many rows as you think you will need
    2. Use a Structured Table, or
    3. Have a Worksheet Change Event to monitor column A and insert the formula in cells in the Target row.

    You probably need to clarify the reasons for excluding options proposed.

    Regards, TMS

+ 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. constructing table of VB codes in word...... or printing properly in excel!
    By Jet Black in forum Word Formatting & General
    Replies: 4
    Last Post: 02-12-2013, 06:25 AM
  2. Word 2007 - How do I use columns properly?
    By DarkSoul in forum Word Formatting & General
    Replies: 3
    Last Post: 04-28-2011, 02:54 AM
  3. [SOLVED] linking to Word not working properly
    By Kyle in forum Excel General
    Replies: 0
    Last Post: 03-07-2006, 12:45 PM
  4. [SOLVED] Word Wrap does not seem to display properly
    By news.microsoft.com in forum Excel General
    Replies: 1
    Last Post: 03-21-2005, 07:06 PM
  5. Excel Pivot Tables not sorting the word SUN properly
    By natheem in forum Excel General
    Replies: 2
    Last Post: 02-07-2005, 07:06 PM

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