+ Reply to Thread
Results 1 to 8 of 8

Applying a formula to whole column

  1. #1
    Registered User
    Join Date
    08-08-2010
    Location
    Liverpool, UK
    MS-Off Ver
    Excel 2003
    Posts
    4

    Applying a formula to whole column

    Hi everyone

    I have worked out a formula to return a running total in column B, having typed an item of expenditure in column A.

    How do I apply the formula to the (presently unused) cells further down in column B, so it will continue to calculate as more items are entered in A? If I drag the fill handle it copies the total into all the cells, which I want to leave blank until used.

    Sorry if this is really pathetic question, but I've hunted through Help and this forum to no avail! Many thanks.

    P.
    Last edited by Pontorson; 08-08-2010 at 06:29 PM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Applying a formula to whole column

    what formula?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Applying a formula to whole column

    I wouldn't even consider it. All those formulas will calculate constantly, slowing the workbook's calculation

    You should fill in your user profile to say which version of Excel that you are using
    Hope that helps.

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

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    08-08-2010
    Location
    Liverpool, UK
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Applying a formula to whole column

    Martin, it's just =SUM(B14,-A15), where B14 is the last total and A15 is the amount spent.

    Roy, sorry - I thought I had - it's 2003.

    Looks like it's a no no - thanks for your help!

    P.

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Applying a formula to whole column

    i think roy thought you meant right down to the last row
    it is possible to show nothing in a cell until an entry is made in another
    post an example

  6. #6
    Registered User
    Join Date
    08-08-2010
    Location
    Liverpool, UK
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Applying a formula to whole column

    Hi Martin

    The rules suggested attaching a workbook - so here goes!

    The idea is that the cost in column E is subtracted from the running total in column F.

    Would be grateful to know how "to show nothing in a cell until an entry is made in another" so that an amount can be put in column I when a new surgery date is entered, for example.

    Cheers!


    P.
    Attached Files Attached Files

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Applying a formula to whole column

    change e6 to
    =IF(C6="M","£23.50",IF(C6="F","£30.00",""))
    then f6 to =IF(E6="","",SUM(F5,-E6))

  8. #8
    Registered User
    Join Date
    08-08-2010
    Location
    Liverpool, UK
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Applying a formula to whole column

    That is fantastic, Martin! Thank you so much for sparing the time and trouble to sort it out for me. Much appreciated.

    P.

+ 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