LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Is there a better way?

The only way I know how to do this is with a really ugly nested IF
statement. Is there a better way?

I have 8 "zones" of numbers and I need to determine which zone this
number fits into.

zn1 zn2 zn3
zn4 zn5 zn6 zn7
zn8
1410 1416 1416 1421 1421 1423 1423 1436 1436 1437 1437
1439 1439 1445 1445 1450

If I need to know what zone number 1422 fits into I can only to think
of a nested IF statement:

IF(P2G2,IF(P2<H2,"ZN3").......................... .................................................. ......................................)

I am thinking there must be an easier more efficient way. Any ideas?
Thanks!
 
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



All times are GMT +1. The time now is 08:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"