# Copying an \if formula

#### Dolby51ex

##### New Member
I just made my 1st "IF" formula. I am having trouble copying it the way I want it to. When I copy it changes things in it I don't want changed in that way.

Here is my formula:
=IF(B1>0,IF(B1<H2,"LOW",IF(B1<H6,"MEDSCH",IF(B1<H10"MED",IF(B1<H14,"HIGH","MAX")))),"")

Here is what I GET when I copy it:
=IF(B2>0,IF(B2<H3,"LOW",IF(B2<H7,"MEDSCH",IF(B2<H11,"MED",IF(B2<H15,"HIGH","MAX")))),"")

Here is what I WANT:
=IF(B2>0,IF(B2<I2,"LOW",IF(B2<I6,"MEDSCH",IF(B2<I10,"MED,IF(B2<I14,"HIGH","MAX")))),"")

I want the b column to shift down rows. I want the H column to shift right to next column.

Can this be done?

I don't want to write a different formula 365 times.

This message was edited by Dolby51ex on 2002-09-19 01:46
This message was edited by Dolby51ex on 2002-09-19 01:54

### Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Have to say that I can't see a difference between what you want and what your getting re:B2...

Use Help and look up mixed references, using a "\$" sign enables you to hold one or both values in the address constant...i.e. =\$A\$1

if you copied this into other cells all cells will =\$a\$1

thanks,

Well my formula didn't show up the way I typed it into the message body. I will look into the \$ thing.

Thanks

IT WORKED!

Thank you so much, your a life saver!

Replies
15
Views
434
Replies
1
Views
207
Replies
18
Views
584
Replies
4
Views
302
Replies
6
Views
398

1,218,539
Messages
6,143,082
Members
450,461
Latest member
Bosavon

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back