LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Need help with Excel formula

How do I create a formula that will return a number 1-10 depending on data
entered ranging from 1-57. Example. I have 10 fire districts. Each district
has about 5 Fire Stations in no particular order. If I put in fire station
number 10 then the fire district 2 will auto fill-in. Here is my formula
that i am trying to build but it's limited to a certain number I think 8.
=IF(H26=3,1,IF(H26=4,1,IF(H26=6,1,IF(H26=18,1,IF(H 26=24,1,IF(H26=7,2,IF(H26=10,2,IF(H26=20,2,0)))))) ))

Can I group numbers together in the formula such as
Fire Stations
3, 4, 6, 18, or 24 = 1
7, 10, 13, 20 or 56 =2
8, 11, 17, 19 or 44 = 3
...... = 4
...... = 5
...... = 6
...... = 7
...... = 8
...... = 9
...... = 10

Thanks very much!



--
Firefighter Instructor
 
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
When I enter a formula, Excel shows the formula not the results Pat Adams Excel Worksheet Functions 5 April 4th 23 11:18 AM
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 02:31 PM
Converting an Excel formula to an Access query formula Adam Excel Discussion (Misc queries) 1 December 15th 04 03:38 AM


All times are GMT +1. The time now is 12:36 PM.

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"