+ Reply to Thread
Results 1 to 9 of 9

Thread: hiding numbers when drag formulas

  1. #1
    Registered User
    Join Date
    03-28-2008
    Posts
    71

    hiding numbers when drag formulas

    Hello,
    New to Excel.Have put correct formula in ,but when I drag this down the result number in the first row continues to show down all the way.It is a simple formula which adds profit/loss to starting bank.
    What is happening is the first recorded total is replicated when I drag the formula down.Is there a way to hide this number in the rows that do not yet have the infromation recorded?

  2. #2
    Extremely Helpful member
    Join Date
    12-23-2006
    Location
    Belgium
    MS-Off Ver
    XL2003
    Posts
    6,127
    Hi,
    could you post your formula please ( it probably contains absolute refernces where you need relative ones)
    Quoting entire posts clutters the forum and makes threads hard to read !

    If you are pleased with a member's answer then use the Star icon to rate it

    Click here to see forum rules

  3. #3
    "Eagle Eyed" Forum Moderator oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Work) and 2007 (Home)
    Posts
    7,130
    Hi,

    Probably arthurbr is right, remove the $ sign from within the formula
    oldchippy
    -------------


    If you are happy with the help you have received, please click the blue scales icon in the blue bar of the post.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  4. #4
    Registered User
    Join Date
    03-28-2008
    Posts
    71
    The formula I have put in the H column is =H3+G4,and then dragged this down.It works ok but :
    This is what it looks like.After the twenty I have not entered any information as this will come on a wekly basis.Thus column is showing the latest figure all the way down as far as I have dragged the formula.
    profit/loss bank
    1000
    9 1009
    10 1019
    -20 999
    999
    999

  5. #5
    "Eagle Eyed" Forum Moderator oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Work) and 2007 (Home)
    Posts
    7,130
    Hi,

    Try this formula

    =IF(G4="","",H3+G4) and copy down the column
    oldchippy
    -------------


    If you are happy with the help you have received, please click the blue scales icon in the blue bar of the post.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  6. #6
    Registered User
    Join Date
    03-28-2008
    Posts
    71
    Hello,
    Thans for response.Unfortunately that formula did not prevent the balnces from showing.
    The two columns I am working with are G and H .G works out the profit or loss and then H is the updatwed bank balance.
    The formula I have been using in column H is =H3+G4 where H3 is the opening bank balance and to this is added any profit from column G.
    Now I drag this formula down and column H shows the last calculated balance all the way down.
    For example if my opening balance in H 3 is 1000 and G4 is 10 then H4 =1010.Now if there are not any entries in G5 ,G6,G7 the balance of 1010 still shows all the way down.What I want is to not have balance showing when there are as yet no entires.

  7. #7
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    02-15-2008
    Location
    Grappenhall, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    6,566
    Quote Originally Posted by plato
    Hello,
    Thans for response.Unfortunately that formula did not prevent the balnces from showing.
    The two columns I am working with are G and H .G works out the profit or loss and then H is the updatwed bank balance.
    The formula I have been using in column H is =H3+G4 where H3 is the opening bank balance and to this is added any profit from column G.
    Now I drag this formula down and column H shows the last calculated balance all the way down.
    For example if my opening balance in H 3 is 1000 and G4 is 10 then H4 =1010.Now if there are not any entries in G5 ,G6,G7 the balance of 1010 still shows all the way down.What I want is to not have balance showing when there are as yet no entires.
    In which case try:

    =IF(G4=0,"",H3+G4)
    Rgds

  8. #8
    "Eagle Eyed" Forum Moderator oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Work) and 2007 (Home)
    Posts
    7,130
    Quote Originally Posted by plato
    Hello,
    Thans for response.Unfortunately that formula did not prevent the balnces from showing.
    The two columns I am working with are G and H .G works out the profit or loss and then H is the updatwed bank balance.
    The formula I have been using in column H is =H3+G4 where H3 is the opening bank balance and to this is added any profit from column G.
    Now I drag this formula down and column H shows the last calculated balance all the way down.
    For example if my opening balance in H 3 is 1000 and G4 is 10 then H4 =1010.Now if there are not any entries in G5 ,G6,G7 the balance of 1010 still shows all the way down.What I want is to not have balance showing when there are as yet no entires.
    Hi,

    Works OK for me?
    oldchippy
    -------------


    If you are happy with the help you have received, please click the blue scales icon in the blue bar of the post.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  9. #9
    Registered User
    Join Date
    03-28-2008
    Posts
    71
    Hello,
    I would like to thank all for your prompt assistance.This is a very efficient forum.I do not know what I did wrong the first time but Old Chippys solution worked perfectly the second time.
    Once again thanks everyone.

+ 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.2.0