Welcome to Lockergnome.com!
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

In need of a formula

 
   Home -> Office -> General Discussions RSS
Next:  General Discussions: Burning to a CD  
Author Message
Jasos_23




Joined: Nov 30, 2007
Posts: 1



(Msg. 1) Posted: Fri Nov 30, 2007 1:41 pm
Post subject: In need of a formula

I am using Excel 2003 and have run up against the limit of embedded IF statements. I am currently using the formula:

=IF(D34="Legends Hall",(350*C34),IF(D34="Executive Level",(200*C34),IF(D34="Club House Lounge",(200*C34),IF(D34="Miller Suite 3",(150*C34),IF(D34="Miller Suite 2",(150*C34),IF(D34="Miller Suite 1",(150*C34),IF(D34="Miller Suites 1&2",(200*C34),IF(D34="Miller Suites 2&3",(200*C34),("")))))))))

The formula is doing exactly what I need it to do, but I have more rooms that I can't put in. Is there a different formula that will accomplish this for me?

Thanks in advance
Back to top
Login to vote
enjinn




Joined: Jan 14, 2008
Posts: 12



(Msg. 2) Posted: Mon Jan 14, 2008 4:12 pm
Post subject:

I would first create an index table which lists the suite levels and costs per day.

then use the formula:

=vlookup(d34,A1:B10[or where your index table is],2,0)*c34

the index table would look like

Legends hall || 350
Executive Level || 200
etc.
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> General Discussions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 General
 Microsoft Windows XP
 Microsoft Windows Vista
 Microsoft Windows (other)
  Microsoft Office
 Microsoft Office (other)
 Computer Security
 Linux
 Movies


[ Contact us | Terms of Service/Privacy Policy ]