Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Formula Fill Problems

I have a formula that I want to implement for a series of data points. For
the first cell(A1) the formula would be "IF(E5=0, NA(), E6/E5)" The next cell
in the series (A2) would be "IF(E8=0, NA(), E9/E8)". So each time the formula
is iterated it increases each cell value by three. So, continuing the example
the next cell (A3) would contain "IF(E11=0, NA(), E12/E11)".

However, when I try the click-fill method it iterates by 1. I also cannot
have excel do this using the Edit -Fill- Series method either.

How may I iterate formulas by values different than 1?

excelBRISKbaby
  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Formula Fill Problems

try in A1
if(indirect("E"&(2+row()*3)=0,NA(),indirect("E"&(3 +row()*3)/indirect("E"&(2+row()*3))

"excelBRISKbaby" wrote:

I have a formula that I want to implement for a series of data points. For
the first cell(A1) the formula would be "IF(E5=0, NA(), E6/E5)" The next cell
in the series (A2) would be "IF(E8=0, NA(), E9/E8)". So each time the formula
is iterated it increases each cell value by three. So, continuing the example
the next cell (A3) would contain "IF(E11=0, NA(), E12/E11)".

However, when I try the click-fill method it iterates by 1. I also cannot
have excel do this using the Edit -Fill- Series method either.

How may I iterate formulas by values different than 1?

excelBRISKbaby

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,718
Default Formula Fill Problems

Cell references always increment by 1 so you have to approach this
differently. This works I think:

-Enter your first formula in A1
-Select A1:A3 and drag the fill handle until you have all the formulas you
want
-With the range still selected do a {F5}, Special, Blanks, OK
-Press Ctrl-Minus and select Shift Cells Up.

--
Jim
"excelBRISKbaby" wrote in message
...
|I have a formula that I want to implement for a series of data points. For
| the first cell(A1) the formula would be "IF(E5=0, NA(), E6/E5)" The next
cell
| in the series (A2) would be "IF(E8=0, NA(), E9/E8)". So each time the
formula
| is iterated it increases each cell value by three. So, continuing the
example
| the next cell (A3) would contain "IF(E11=0, NA(), E12/E11)".
|
| However, when I try the click-fill method it iterates by 1. I also cannot
| have excel do this using the Edit -Fill- Series method either.
|
| How may I iterate formulas by values different than 1?
|
| excelBRISKbaby


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Formula Fill Problems

BJ,
The formula works for a single cell but I'm not sure it fills correctly.

Also, the indirect function that you are using can't be used in my setup
according to Excel Help. Here's what follows in the Excel Help.

"If you always want the formula to refer to the same cell regardless of
whether the row above the cell is deleted or the cell is moved, use the
INDIRECT worksheet function. For example, if you always want to refer to cell
A10, use the following syntax:

=INDIRECT("A10")
"
My program needs to be able to insert new rows to accept new data.

Thank you very much for your help, it is appreciated!

excelBRISKbaby
"bj" wrote:

try in A1
if(indirect("E"&(2+row()*3)=0,NA(),indirect("E"&(3 +row()*3)/indirect("E"&(2+row()*3))

"excelBRISKbaby" wrote:

I have a formula that I want to implement for a series of data points. For
the first cell(A1) the formula would be "IF(E5=0, NA(), E6/E5)" The next cell
in the series (A2) would be "IF(E8=0, NA(), E9/E8)". So each time the formula
is iterated it increases each cell value by three. So, continuing the example
the next cell (A3) would contain "IF(E11=0, NA(), E12/E11)".

However, when I try the click-fill method it iterates by 1. I also cannot
have excel do this using the Edit -Fill- Series method either.

How may I iterate formulas by values different than 1?

excelBRISKbaby

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Formula Fill Problems

Jim,
This method works! Thank you very much. I'll just need to leave enough room
so that when new rows are entered I can use this method without over running
into other data.

Thank you again for your out-of-the-box thinking!

excelBRISKbaby

"Jim Rech" wrote:

Cell references always increment by 1 so you have to approach this
differently. This works I think:

-Enter your first formula in A1
-Select A1:A3 and drag the fill handle until you have all the formulas you
want
-With the range still selected do a {F5}, Special, Blanks, OK
-Press Ctrl-Minus and select Shift Cells Up.

--
Jim
"excelBRISKbaby" wrote in message
...
|I have a formula that I want to implement for a series of data points. For
| the first cell(A1) the formula would be "IF(E5=0, NA(), E6/E5)" The next
cell
| in the series (A2) would be "IF(E8=0, NA(), E9/E8)". So each time the
formula
| is iterated it increases each cell value by three. So, continuing the
example
| the next cell (A3) would contain "IF(E11=0, NA(), E12/E11)".
|
| However, when I try the click-fill method it iterates by 1. I also cannot
| have excel do this using the Edit -Fill- Series method either.
|
| How may I iterate formulas by values different than 1?
|
| excelBRISKbaby





  #6   Report Post  
Posted to microsoft.public.excel.misc
sri sri is offline
external usenet poster
 
Posts: 37
Default Formula Fill Problems

Great Stuff Jim
--

Regards

Sri


"Jim Rech" wrote:

Cell references always increment by 1 so you have to approach this
differently. This works I think:

-Enter your first formula in A1
-Select A1:A3 and drag the fill handle until you have all the formulas you
want
-With the range still selected do a {F5}, Special, Blanks, OK
-Press Ctrl-Minus and select Shift Cells Up.

--
Jim
"excelBRISKbaby" wrote in message
...
|I have a formula that I want to implement for a series of data points. For
| the first cell(A1) the formula would be "IF(E5=0, NA(), E6/E5)" The next
cell
| in the series (A2) would be "IF(E8=0, NA(), E9/E8)". So each time the
formula
| is iterated it increases each cell value by three. So, continuing the
example
| the next cell (A3) would contain "IF(E11=0, NA(), E12/E11)".
|
| However, when I try the click-fill method it iterates by 1. I also cannot
| have excel do this using the Edit -Fill- Series method either.
|
| How may I iterate formulas by values different than 1?
|
| excelBRISKbaby



  #7   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Formula Fill Problems

The formula will increment by a factor of three for each row you move down
just paste into as many rows as you need.
Since it references row() which will change as you insert or delete rows, it
will allow you to insert or delete rows.
as you insert rows which would affect the active cells in column A all you
have to do is to copy and paste into the new empty cells in column A


"excelBRISKbaby" wrote:

BJ,
The formula works for a single cell but I'm not sure it fills correctly.

Also, the indirect function that you are using can't be used in my setup
according to Excel Help. Here's what follows in the Excel Help.

"If you always want the formula to refer to the same cell regardless of
whether the row above the cell is deleted or the cell is moved, use the
INDIRECT worksheet function. For example, if you always want to refer to cell
A10, use the following syntax:

=INDIRECT("A10")
"
My program needs to be able to insert new rows to accept new data.

Thank you very much for your help, it is appreciated!

excelBRISKbaby
"bj" wrote:

try in A1
if(indirect("E"&(2+row()*3)=0,NA(),indirect("E"&(3 +row()*3)/indirect("E"&(2+row()*3))

"excelBRISKbaby" wrote:

I have a formula that I want to implement for a series of data points. For
the first cell(A1) the formula would be "IF(E5=0, NA(), E6/E5)" The next cell
in the series (A2) would be "IF(E8=0, NA(), E9/E8)". So each time the formula
is iterated it increases each cell value by three. So, continuing the example
the next cell (A3) would contain "IF(E11=0, NA(), E12/E11)".

However, when I try the click-fill method it iterates by 1. I also cannot
have excel do this using the Edit -Fill- Series method either.

How may I iterate formulas by values different than 1?

excelBRISKbaby

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula problems dew244 Excel Discussion (Misc queries) 2 April 6th 07 12:14 PM
Formula problems Lago2004 Excel Worksheet Functions 7 January 20th 07 10:59 PM
Problems with auto-fill of dates artemis1027 Excel Discussion (Misc queries) 5 January 9th 07 10:26 PM
Formula Problems Ted Excel Worksheet Functions 13 November 21st 05 08:14 PM
autoshape fill problems in Excel 2003 kcole Excel Discussion (Misc queries) 0 June 2nd 05 10:14 PM


All times are GMT +1. The time now is 04:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"