Copying an \if formula

Dolby51ex

New Member
Joined
Sep 18, 2002
Messages
5
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.

I appreciate any help you can offer.
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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,123
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
 

Dolby51ex

New Member
Joined
Sep 18, 2002
Messages
5
thanks,

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

Thanks
 

Forum statistics

Threads
1,143,705
Messages
5,720,382
Members
422,281
Latest member
jantoooh

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Top