racookpe1978
Nuclear
- Feb 1, 2007
- 5,984
Request your guidance in this: I am a long-time "basic" user of spreadsheets since Windows 3.1 began, but am at best only a "amateur" and certainly am not a programmer
Assume I have a multi-sheet Excel 2007 spreadsheet.
I know can declare several "Variables" in specific cells on that sheet specifically, or for all of the sheets in the file:
For example: B1 = LAT (latitude), B2 = DOY (day-of-year), B3 = HRA (hour angle),
From those named variables, in the past, I have simply typed very long-winded, very complex formulas into an array of cells, and then copied every formula "down" to the 24 rows underneath to repeat the equation into lower rows (Ctrl+D) using either row references (cell B10 = cell A10/2 for example) or a mix of row reference cells and fixed reference cells (B10 =cell A10/2 + cell $d$4 for example).
But how can I write my cells in a 24-hour table so I do not have to duplicate all of the formulas into every cell?
I would prefer to edit and test these very complex formulas for the many cells once, not endlessly use ctrl-d for copying the formula?
2. to support the final table, I will need to edit equations for declination angle (a function of DOY), solar elevation angle SEA (a function of DOY, LAT, HRA), albedo of water (A function of SEA), albedo of ice (a function of DOY), Air_Temp (a function of DOY and LAT and HRA again), Direct-to-Diffuse ratio (also a function of SEA), etc.
Is there a simple solution, or is the most productive way to just copying the formulas down from cell-to-cell down as i have always done in the past?
So, if in cell C3 i have a long formula that uses named variables and the results from cells A6, B6, and C6, how do I write the results of that formula into cell D6?
When I want to use that same formula in C3 for the next row down (D7), how do I call the results for the row down: How do cells A7, B7, C7 get into the formula in C3 to populate cell D7?
Assume I have a multi-sheet Excel 2007 spreadsheet.
I know can declare several "Variables" in specific cells on that sheet specifically, or for all of the sheets in the file:
For example: B1 = LAT (latitude), B2 = DOY (day-of-year), B3 = HRA (hour angle),
From those named variables, in the past, I have simply typed very long-winded, very complex formulas into an array of cells, and then copied every formula "down" to the 24 rows underneath to repeat the equation into lower rows (Ctrl+D) using either row references (cell B10 = cell A10/2 for example) or a mix of row reference cells and fixed reference cells (B10 =cell A10/2 + cell $d$4 for example).
But how can I write my cells in a 24-hour table so I do not have to duplicate all of the formulas into every cell?
I would prefer to edit and test these very complex formulas for the many cells once, not endlessly use ctrl-d for copying the formula?
2. to support the final table, I will need to edit equations for declination angle (a function of DOY), solar elevation angle SEA (a function of DOY, LAT, HRA), albedo of water (A function of SEA), albedo of ice (a function of DOY), Air_Temp (a function of DOY and LAT and HRA again), Direct-to-Diffuse ratio (also a function of SEA), etc.
Is there a simple solution, or is the most productive way to just copying the formulas down from cell-to-cell down as i have always done in the past?
So, if in cell C3 i have a long formula that uses named variables and the results from cells A6, B6, and C6, how do I write the results of that formula into cell D6?
When I want to use that same formula in C3 for the next row down (D7), how do I call the results for the row down: How do cells A7, B7, C7 get into the formula in C3 to populate cell D7?