LOGO
General Discussion Undecided where to post - do it here.

Reply to Thread New Thread
Old 09-12-2006, 07:14 PM   #1
Attarderb

Join Date
Oct 2005
Posts
496
Senior Member
Default Stuck in Excel
It should be easy enough, but the main difficulty is to find a way to avoid a circular reference, because obviously Excel wants to verify if the cell in which I enter the formula fits the criterion. And that cell appears to be in the same row as the data to multiply.
Attarderb is offline


Old 09-12-2006, 08:17 PM   #2
cwgwowcom

Join Date
Oct 2005
Posts
425
Senior Member
Default
cwgwowcom is offline


Old 09-12-2006, 08:45 PM   #3
TeemFilla

Join Date
Oct 2005
Posts
491
Senior Member
Default
I also have an Excel question.

I have a list that's constantly growing. Now it's from, say, A1 to A45.

I also have a bunch of statistics i'm deriving from this list. For example: AVERAGE(A1:A45). Now, every time I add another cell to list, I have to go over all the statistics cells and update A45 to A46 in every one of them. I have a hunch that this is not the most efficient method.

Is there a way to get all the statistics cells to update automatically whenever the list grows?
TeemFilla is offline


Old 09-12-2006, 08:51 PM   #4
Cheaperisdeeper

Join Date
Oct 2005
Posts
555
Senior Member
Default
Do AVERAGE(A1:A1000000000000000000000000000)

if there's nothing in the cell, it won't use it

edit: maybe not 10000000000000000000000000
something more realistic
Cheaperisdeeper is offline


Old 09-12-2006, 09:07 PM   #5
JesikaFclq

Join Date
Oct 2005
Posts
428
Senior Member
Default
Originally posted by Japher
Do AVERAGE(A1:A1000000000000000000000000000)

if there's nothing in the cell, it won't use it

edit: maybe not 10000000000000000000000000
something more realistic A1:A65536
JesikaFclq is offline


Old 09-12-2006, 09:12 PM   #6
Sierabiera

Join Date
Oct 2005
Posts
499
Senior Member
Default
Originally posted by Saras
can you do an average for the whole column? Uncomfortable, since some of the statistics are in the same column below the data, but I can move them. It will look less pretty but it'll work.

But wont the empty cells screw up the results?
Sierabiera is offline


Old 09-12-2006, 09:22 PM   #7
leadmoffer

Join Date
Oct 2005
Posts
479
Senior Member
Default
Originally posted by Eli
I also have an Excel question.

I have a list that's constantly growing. Now it's from, say, A1 to A45.

I also have a bunch of statistics i'm deriving from this list. For example: AVERAGE(A1:A45). Now, every time I add another cell to list, I have to go over all the statistics cells and update A45 to A46 in every one of them. I have a hunch that this is not the most efficient method.

Is there a way to get all the statistics cells to update automatically whenever the list grows? Man, dynamic ranges are your friend. Most people don't know about it, but the OFFSET function can return ranges, and not only single cells. So when you define a name for a group of cells(Insert, Name, Define), instead of having the name refer to a fixed group of cells, have it refer to OFFSET(x,...)

The following link is a good introduction to the vast possibilities it offers: http://www.ozgrid.com/Excel/DynamicRanges.htm
leadmoffer is offline


Old 09-13-2006, 03:29 AM   #8
mXr8icOB

Join Date
Oct 2005
Posts
472
Senior Member
Default
I generally add in the middle or towards the bottom
mXr8icOB is offline


Old 09-14-2006, 10:57 PM   #9
Enladalusange

Join Date
Oct 2005
Posts
332
Senior Member
Default
Let me rephrase it then. The TRIM column is filled by values that were fetched by a VBA procedure. These numbers are quarterly rate of returns. But I also want to fill the YTD (year-to-date) and Début (beginning) columns with the corresponding rates of return, which need to be calculated from the quarterly data.

Thinking about it now, the easiest and fastest route probably would have been to compute everything with the subroutine, instead of fetching some numbers and then calculate the rest with a spreadsheet formula.
Enladalusange is offline



Reply to Thread New Thread

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

All times are GMT +1. The time now is 01:58 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 PL2
Design & Developed by Amodity.com
Copyright© Amodity