+ Reply to Thread
Results 1 to 4 of 4

Questions regarding what appear to be automatic formula replication.

  1. #1
    Registered User
    Join Date
    12-16-2012
    Location
    Northern California
    MS-Off Ver
    Excel 2011 For Mac
    Posts
    23

    Questions regarding what appear to be automatic formula replication.

    This title may be a bit confusing but I couldn't figure any other way to state my question.

    I have a spreadsheet that keeps track of my investments. I simply list the number of shares of a particular stock in cell 1A, the value of that stock at the end of each week in cell 1B, and a formula (1A*1B) goes in cell 1C. Each row then, represents the status or value of a stock at the end of any given week (row one = week one, row two = week two, etc.)

    Strangely, even though I do not copy the formula all the way down column C (because it created a #VALUE statement in those future week cells), excel sometimes (but not always) magically knows the formula and applies it as soon as I enter the number of shares and the stock value for a given week. I have no idea how this works.
    Does anyone know why this happens, and more importantly how I can get excel to do this for all my entries? It's pretty cool when it happens, but it doesn't always happen.

    Bill

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,743

    Re: Questions regarding what appear to be automatic formula replication.

    use an if statement

    IF( A1="", "" A1*B1)
    and copy down

    now if no entry in the column A - in C will be blank
    when you enter a value into A it will then do the calc

  3. #3
    Registered User
    Join Date
    12-16-2012
    Location
    Northern California
    MS-Off Ver
    Excel 2011 For Mac
    Posts
    23

    Re: Questions regarding what appear to be automatic formula replication.

    Had a problem at first but, if I put a comma behind the second set of quotation marks, it works perfectly. Thanks for your help

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,743

    Re: Questions regarding what appear to be automatic formula replication.

    excellent , sorry about that - missed the syntax

+ 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