name a formula

daveturner80

New Member
Joined
May 11, 2011
Messages
18
In our fire company we give out service pins for every 5 years of service.
I know that I can only have 7 nested formulas.
I am using the following formulas, but would like to use them as names.
=if(r3=5,5,if(r3=10,10,if(r3=15,15,if(r3=20,20,if(r3=25,25,if(r3=30,30,if(r3=35,35)))))))
=if(r3=40,40,if(r3=50,50,if(r3=55,55,if(r3=60,60,if(r3=65,65))))
<table border="0" cellpadding="0" cellspacing="0" width="80"><colgroup><col width="80"></colgroup><tbody><tr height="21"> <td class="xl65" style="height:15.75pt;width:60pt" height="21" width="80"> </td> </tr></tbody></table>Is there anyway I could name the top formula something like five to 35 and the second one forty to 65, and use this formula?
=if(fiveto35,fiveto35,fortyto65)
I thought I read somewhere that this could be done, or there easier formula that could be used?
Thanks for any help you can provide.
Dave
<table style="width: 80px; height: 1px;" border="0" cellpadding="0" cellspacing="0"><colgroup><col width="80"></colgroup><tbody><tr height="21"> <td class="xl63" style="height:15.75pt;width:60pt" height="21" width="80"> <table border="0" cellpadding="0" cellspacing="0" width="80"><colgroup><col width="80"></colgroup><tbody><tr height="21"> <td class="xl65" style="height:15.75pt;width:60pt" height="21" width="80">
</td> </tr></tbody></table></td> </tr></tbody></table>
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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
Back
Top