Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formula not working 2

Status
Not open for further replies.

istone

IS-IT--Management
Jan 24, 2007
139
US
Hi,
Can anyone tell me why this formula is not working.

IIf(([Assets]<=1000000,18500/4), IIF(([Assets] between 1000000 and 2000000),14500/4),10500/4)

I tried to make it work but in vain.
thanks in advance
 
The IIf() function takes three arguments.
Code:
IIf( [Assets] <= 1000000, 
     18500/4,
     IIf( [Assets] between 1000000 and 2000000,
          14500/4, 
          10500/4 
        )
   )
 

Too many opening ('s. How about...
[blue]
=IIf(Assets <= 1000000, 4625, IIf(Assets Between 1000000 and 2000000, 3625, 2625))[/blue]



Randy
 
Worked. thank you so much guys.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top