Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have a spreadsheet set up to track the outcome of various spread bet
position. The profit/loss of each individual position is in column I, and in Column H I have a running total profit/loss using the formula =SUM(H4,I3)etc. My problem is that the formula extends to the bottom of the page, which I haven't filled up with positions yet, and so once it gets past the point where the individual totals run out, the same value repeats ad infinitum. Is there any way I can stop this, or at least hide the repeating values? I have managed this in my running average column using =IF(ISERROR(AVERAGE(J6,K5)),"",AVERAGE(J6,K5)) but this obviously only works because an average involving a zero or empty value returns an error, whereas the sum command simply adds zero to the total. I apologise if this seems a long winded way of explaining a simple problem, but its more complex than it looks when you think about it for as long as I have. Any help greatly appreciated Jake |
#2
![]() |
|||
|
|||
![]()
=if(len(h4)=0,"",i3+h4)
Assumes there's nothing in H4 until you calculate the profit for that row. "jake" wrote: I have a spreadsheet set up to track the outcome of various spread bet position. The profit/loss of each individual position is in column I, and in Column H I have a running total profit/loss using the formula =SUM(H4,I3)etc. My problem is that the formula extends to the bottom of the page, which I haven't filled up with positions yet, and so once it gets past the point where the individual totals run out, the same value repeats ad infinitum. Is there any way I can stop this, or at least hide the repeating values? I have managed this in my running average column using =IF(ISERROR(AVERAGE(J6,K5)),"",AVERAGE(J6,K5)) but this obviously only works because an average involving a zero or empty value returns an error, whereas the sum command simply adds zero to the total. I apologise if this seems a long winded way of explaining a simple problem, but its more complex than it looks when you think about it for as long as I have. Any help greatly appreciated Jake |
#3
![]() |
|||
|
|||
![]()
thanks
"Duke Carey" wrote: =if(len(h4)=0,"",i3+h4) Assumes there's nothing in H4 until you calculate the profit for that row. "jake" wrote: I have a spreadsheet set up to track the outcome of various spread bet position. The profit/loss of each individual position is in column I, and in Column H I have a running total profit/loss using the formula =SUM(H4,I3)etc. My problem is that the formula extends to the bottom of the page, which I haven't filled up with positions yet, and so once it gets past the point where the individual totals run out, the same value repeats ad infinitum. Is there any way I can stop this, or at least hide the repeating values? I have managed this in my running average column using =IF(ISERROR(AVERAGE(J6,K5)),"",AVERAGE(J6,K5)) but this obviously only works because an average involving a zero or empty value returns an error, whereas the sum command simply adds zero to the total. I apologise if this seems a long winded way of explaining a simple problem, but its more complex than it looks when you think about it for as long as I have. Any help greatly appreciated Jake |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hiding 0 values in line charts | Charts and Charting in Excel | |||
Hiding Values Below Z Axis Minimum Value on Axis Charts | Charts and Charting in Excel | |||
how can i fill a table with values from repeated regressions | Excel Worksheet Functions | |||
To find different values in Col B corresp. to repeated vaues in c | Excel Worksheet Functions | |||
hiding values that havent been used yet | New Users to Excel |