Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Attempting to Copy a IF Function

I need to know how to cascade a IF formula down that will only change the
first value of the Logical Test and will leave the true and false statements
unchanged. Example in the formula =IF(B2 = "080012",H2, H3) I need B2 to
update as I cascade (copy) down the spreadsheet but I need H2, H3 to remain
unchanged. I am not able to find anything on the website to handle this. Even
when I copy and paste it updates all three values and not just the one. Can
anyone please help me update the function so that only the Logical Test value
changes.

--
Andrew Holzman
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Attempting to Copy a IF Function

Try it like this:

=IF(B2="080012",H$2, H$3)

The $ keep the rows from changing.

You can do the same thing for the columns:

=IF(B2="080012",$H2, $H3)

The $ keep the colimns from changing.

You can also do it for both rows and columns:

=IF(B2="080012",$H$2, $H$3)

Or, you can even "mix and match":

=IF(B2 = "080012",$H2, H$3)

--
Biff
Microsoft Excel MVP


"Andrew Holzman" wrote in message
...
I need to know how to cascade a IF formula down that will only change the
first value of the Logical Test and will leave the true and false
statements
unchanged. Example in the formula =IF(B2 = "080012",H2, H3) I need B2 to
update as I cascade (copy) down the spreadsheet but I need H2, H3 to
remain
unchanged. I am not able to find anything on the website to handle this.
Even
when I copy and paste it updates all three values and not just the one.
Can
anyone please help me update the function so that only the Logical Test
value
changes.

--
Andrew Holzman



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Attempting to Copy a IF Function

I knew it was going to be something simple that I was forgetting. Thanks for
the help.
--
Andrew Holzman


"T. Valko" wrote:

Try it like this:

=IF(B2="080012",H$2, H$3)

The $ keep the rows from changing.

You can do the same thing for the columns:

=IF(B2="080012",$H2, $H3)

The $ keep the colimns from changing.

You can also do it for both rows and columns:

=IF(B2="080012",$H$2, $H$3)

Or, you can even "mix and match":

=IF(B2 = "080012",$H2, H$3)

--
Biff
Microsoft Excel MVP


"Andrew Holzman" wrote in message
...
I need to know how to cascade a IF formula down that will only change the
first value of the Logical Test and will leave the true and false
statements
unchanged. Example in the formula =IF(B2 = "080012",H2, H3) I need B2 to
update as I cascade (copy) down the spreadsheet but I need H2, H3 to
remain
unchanged. I am not able to find anything on the website to handle this.
Even
when I copy and paste it updates all three values and not just the one.
Can
anyone please help me update the function so that only the Logical Test
value
changes.

--
Andrew Holzman




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Attempting to Copy a IF Function

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Andrew Holzman" wrote in message
...
I knew it was going to be something simple that I was forgetting. Thanks
for
the help.
--
Andrew Holzman


"T. Valko" wrote:

Try it like this:

=IF(B2="080012",H$2, H$3)

The $ keep the rows from changing.

You can do the same thing for the columns:

=IF(B2="080012",$H2, $H3)

The $ keep the colimns from changing.

You can also do it for both rows and columns:

=IF(B2="080012",$H$2, $H$3)

Or, you can even "mix and match":

=IF(B2 = "080012",$H2, H$3)

--
Biff
Microsoft Excel MVP


"Andrew Holzman" wrote in
message
...
I need to know how to cascade a IF formula down that will only change
the
first value of the Logical Test and will leave the true and false
statements
unchanged. Example in the formula =IF(B2 = "080012",H2, H3) I need B2
to
update as I cascade (copy) down the spreadsheet but I need H2, H3 to
remain
unchanged. I am not able to find anything on the website to handle
this.
Even
when I copy and paste it updates all three values and not just the one.
Can
anyone please help me update the function so that only the Logical Test
value
changes.

--
Andrew Holzman






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
Attempting to weight japc90 Excel Discussion (Misc queries) 2 July 28th 08 11:58 AM
I am attempting to create a summary sheet Liana Excel Discussion (Misc queries) 14 February 13th 08 12:57 PM
Password prompt while attempting to save from website NC_Brownoat Excel Discussion (Misc queries) 0 January 12th 06 04:24 PM
ATTEMPTING TO CHANGE MY WATERMARK, BUT SOFTWARE WON'T LET ME Action4now Excel Discussion (Misc queries) 0 September 14th 05 03:04 PM
Attempting Excel Template jlr New Users to Excel 3 May 15th 05 09:45 PM


All times are GMT +1. The time now is 05:12 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"