#1   Report Post  
Tuesfutu
 
Posts: n/a
Default IF function

The "IF" function allows for up to seven nested values, what would I use if I
needed more options

The example below has 6 values, once again, what would I use if I needed 10
values?

Example:
=IF(D1650=22,"Upper Ottawa",IF(D1650=23,"Upper Gage",IF(D1650=24,"Upper
Sherman",IF(D1650=25,"Upper Wentworth",IF(D1650=26,"Upper
Wellington",IF(D1650=27,"Upper James",""))))))
  #2   Report Post  
bj
 
Posts: n/a
Default

for situations like you have below you could use something like
=choose(d1650-21,"Upper Ottawa","Upper Gage","Upper
Sherman","Upper Wentworth","Upper
Wellington")

and continue up to 29 items in the choose.

a Vlookup could have been used by seting your options in different columns.

in other words there are nomally work arounds to the different limits.

"Tuesfutu" wrote:

The "IF" function allows for up to seven nested values, what would I use if I
needed more options

The example below has 6 values, once again, what would I use if I needed 10
values?

Example:
=IF(D1650=22,"Upper Ottawa",IF(D1650=23,"Upper Gage",IF(D1650=24,"Upper
Sherman",IF(D1650=25,"Upper Wentworth",IF(D1650=26,"Upper
Wellington",IF(D1650=27,"Upper James",""))))))

Reply
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
Function Won't Calculate -- Sometimes Bill Martin -- (Remove NOSPAM from address) Excel Discussion (Misc queries) 4 April 13th 05 04:38 PM
Need a ISWorkday Function -- Any Ideas Mark Excel Worksheet Functions 5 March 29th 05 01:58 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM


All times are GMT +1. The time now is 09:25 AM.

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"