+ Reply to Thread
Results 1 to 4 of 4

Don't want last number to show.

  1. #1
    Registered User
    Join Date
    03-26-2012
    Location
    Indiana USA
    MS-Off Ver
    Excel 2012
    Posts
    2

    Don't want last number to show.

    Hello all,
    I just finished solving most of the problems creating my 1st check book register. One thing I still can't get is how to stop the number in the formula colum from showing. I saw it done on a tutorial at another sight but I can't get it done for the life of me! I tried not putting in a number before the formula was created but no go either. Anyway when I click and drag down as far as I want to go, I release the mouse button and there it is! The same number all the way down!

    Thanks in advance for your help John

    PS I see in my info where it says I am using 2012 my error, I am using 2010
    Last edited by john504; 04-09-2012 at 08:06 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Don't want last number to show.

    Please explain a little more? What formula do you have in the cell that you are dragging down?

    If you are just talking about a number like 1 that you are dragging down and getting only 1 all the way down your column, then hold the ctrl key and drag down. It should increment by 1 for each cell.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    03-26-2012
    Location
    Indiana USA
    MS-Off Ver
    Excel 2012
    Posts
    2

    Re: Don't want last number to show.

    I am using the formula that calculates the balance in a check ledger where you sometimes have debit or credit entries. The formul in the balance colum shows the last balance when I click and drag down the colum.

    Like if I have $500.00 in the balance and then say make a debit of $25.00. The balance would be $500.00 -25.00=$475.00. Now if I wanted to make the formula useful all the way down the sheet, I would hold down the copy button and drag it down the colum. When I get to the place where I want to stop, I release the button and the colum shows $500.00 continuiosly. When I make a debit it would change to the last balance number like $475.00. and all the numbers down the colum would be $475.00.

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Don't want last number to show.

    If we assume:

    A2 = amount
    B2 = debit or credit
    C2 = running balance

    You might use:

    =IF(A2>0,C1+A2*LOOKUP(B2,{"credit","debit"},{1,-1}),"")

    Where C1 contains the starting balance.

    The formula checks to see oif A2 contains a value greater than zero (assumes number entries only), if true then check to see if the entry is a debit or credit. If it is a credit the value of C1 is multiplied by 1, if it is a debit the value of C1 is multiplied by a negative 1. In each case the result is added to C1. Because debits are converted to a negative number the balance will decrease.

    There are more ways to do this. If the above is not suitable, provide more details about your worksheet or upload a sample workbook (dummy data, of course)
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ 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