Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default do not increment variables in excel

I can't seem to get certain values in my OR and IF statements to NOT
increment when I copy the equation down a column
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 367
Default do not increment variables in excel

On Nov 7, 10:21 am, mknappenb
wrote:
I can't seem to get certain values in my OR and IF statements to NOT
increment when I copy the equation down a column


Write the formula in the second cell also manually and then copy both
down.

hth
Carlo

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 417
Default do not increment variables in excel

Did you use the <F4 key to change the addressing style when creating the
formula?

In other words,
=IF(A1=1,B1,C1)
....will adjust all references when copied or filled down the column.

=IF($A$1=1, B1, C$2)
....will NOT adjust the $A$1 reference and WILL adjust the B1 reference when
filling down. The C$2 reference will NOT change the row number of when
filling down, but WILL change when filling horizontally to the right or
left.

Select each reference, then press the <F4 key to cycle the reference style
from absolute to relative (there are 4 different combinations).

--
Regards,
Bill Renaud



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
How do I increment a column in Excel Legion Man Excel Discussion (Misc queries) 2 February 7th 10 04:10 AM
How to Increment Time using EXCEL ?? Crackles McFarly New Users to Excel 3 August 20th 07 07:46 AM
How to Increment Time using EXCEL ?? Stan Brown Excel Programming 0 August 20th 07 07:46 AM
Increment/Increment letter in alphabetical order Neil Goldwasser Excel Programming 3 January 25th 06 09:07 AM
Increment a counter in Excel COSdl Excel Worksheet Functions 2 March 4th 05 09:47 PM


All times are GMT +1. The time now is 11:08 PM.

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"