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 Nested if/and

trying to exceed the if statement max in excel 2000. I don't have the
experience necessary to write a function in vba. Can someone please help me.
This is what I am trying to accomplish.
I have 40 worksheets set up as bonus reviews. The review bonus dollar
amounts are based on the number of hours worked and the performance score.
Here is a shot in the dark at what I need in the vba module.
If $B$7 1000 AND $C$13 = "Good" Then
200
ElseIf $B$7 1000 AND $C$13 = "Excel" Then
400
ElseIf $B$7 1000 AND $C$13 = "Outst" Then
500
Elself $B$7750 AND $C$13 = "Good" Then
100
Elself $B$7750 AND $C$13 = "Excel" Then
350
Elself $B$7750 AND $C$13 = "Outst" Then
400
Elself $B$7500 AND $C$13 = "Good" Then
100
Elself $B$7500 AND $C$13 = "Excel" Then
225
Elself $B$7500 AND $C$13 = "Outst" Then
275
Elself $B$7350 AND $C$13 = "Good" Then
100
Elself $B$7350 AND $C$13 = "Excel" Then
200
Elself $B$7350 AND $C$13 = "Outst" Then
250
Elself $B$7155 AND $C$13 = "Good" Then
50
Elself $B$7155 AND $C$13 = "Excel" Then
75
Elself $B$7155 AND $C$13 = "Outst" Then
100
Else
0
End If
===================
$B$7 contains the hours and $C$13 contains the performance rating.
Thank you.
Bill

 
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
Nested IFs Alvaro Excel Worksheet Functions 4 August 12th 07 10:33 PM
nested if based on nested if in seperate sheet. how? scouserabbit Excel Worksheet Functions 5 March 2nd 07 04:03 PM
Nested If with And TheLeafs Excel Worksheet Functions 2 August 24th 05 05:24 PM
Nested IF Keith in Australia Excel Discussion (Misc queries) 3 August 22nd 05 04:44 AM
What is quicker? Nested or non nested ifs andycharger[_17_] Excel Programming 2 February 25th 04 03:58 PM


All times are GMT +1. The time now is 10:28 AM.

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"