Attempting to Copy a IF Function

A

Andrew Holzman

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.
 
T

T. Valko

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)
 
A

Andrew Holzman

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

IF nested problem ..! 2
IF and OR Function 3
#DIV/0! 3
If Formula Help 3
Mod Function 4
Sum if not blank 2
Logical AND function 5
Conditional formating. 1

Top