#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 85
Default Nested If

I need some help creating a nested if formula. The goal is to get a score 0
through 5 for different parameters.

Condition Result (Score)
S83=0 0
S83<=AD83 5
S83AD83<=AC83 4
S83AC83<=AB83 3
S83AB83<=Z83 2
S83Z83 1

Does this make sense?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Nested If

Hi,
something make no sense what if S83 is < than AC83, could you give an
example. thanks

"Jeremy" wrote:

I need some help creating a nested if formula. The goal is to get a score 0
through 5 for different parameters.

Condition Result (Score)
S83=0 0
S83<=AD83 5
S83AD83<=AC83 4
S83AC83<=AB83 3
S83AB83<=Z83 2
S83Z83 1

Does this make sense?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 85
Default Nested If

I will clarify. I am tracking how long it takes to process a request. The
less time it takes the higher the score. The goals are different based on
the reason for the request. The cells populate based on a VLOOKUP and a
dropdown.

Score Time
1 Greater than or equal to Z83
2 Greater than or equal to AA83 but less than Z83
3 Greater than or equal to AB33 but less than AA83
4 Greater than or equal to AD33 but less than AB83
5 Less than or equal to AD

The below formula was what I started with, until I noticed that it was not
right


=IF(S86=0,0,IF(S86<AD86,5,IF(S86AD86<AC86,4,IF(S8 6AC86<AB86,3,IF(S86AB86<AA86,2,IF(S86AA86<Z86,2 ,IF(S86Z86,1)))))))
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Nested If

Hi Jeremy,
Could you provide with the # you have in Z83 to AC83

"Jeremy" wrote:

I will clarify. I am tracking how long it takes to process a request. The
less time it takes the higher the score. The goals are different based on
the reason for the request. The cells populate based on a VLOOKUP and a
dropdown.

Score Time
1 Greater than or equal to Z83
2 Greater than or equal to AA83 but less than Z83
3 Greater than or equal to AB33 but less than AA83
4 Greater than or equal to AD33 but less than AB83
5 Less than or equal to AD

The below formula was what I started with, until I noticed that it was not
right


=IF(S86=0,0,IF(S86<AD86,5,IF(S86AD86<AC86,4,IF(S8 6AC86<AB86,3,IF(S86AB86<AA86,2,IF(S86AA86<Z86,2 ,IF(S86Z86,1)))))))

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Nested If

Hi Jeremy, I figure out use
=+IF(S83=Z83,1,IF(S83=AA83,2,IF(S83=AB83,3,IF(S 83=AC83,4,5))))

"Jeremy" wrote:

I will clarify. I am tracking how long it takes to process a request. The
less time it takes the higher the score. The goals are different based on
the reason for the request. The cells populate based on a VLOOKUP and a
dropdown.

Score Time
1 Greater than or equal to Z83
2 Greater than or equal to AA83 but less than Z83
3 Greater than or equal to AB33 but less than AA83
4 Greater than or equal to AD33 but less than AB83
5 Less than or equal to AD

The below formula was what I started with, until I noticed that it was not
right


=IF(S86=0,0,IF(S86<AD86,5,IF(S86AD86<AC86,4,IF(S8 6AC86<AB86,3,IF(S86AB86<AA86,2,IF(S86AA86<Z86,2 ,IF(S86Z86,1)))))))



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Nested If

But you don't need the + sign, Jeremy
Eduardo keeps forgetting that we're talking Excel, not Lotus. :-(

And it would be AD83 (or AD33 ?), not AC83, if that is what you wanted. You
seem to have a rather different expression of the problem each time, but
hopefully you'll get the hang of the syntax of the IF function, and can
adjust according to what you do really want.
--
David Biddulph

Eduardo wrote:
Hi Jeremy, I figure out use
=+IF(S83=Z83,1,IF(S83=AA83,2,IF(S83=AB83,3,IF(S 83=AC83,4,5))))

"Jeremy" wrote:

I will clarify. I am tracking how long it takes to process a
request. The less time it takes the higher the score. The goals
are different based on the reason for the request. The cells
populate based on a VLOOKUP and a dropdown.

Score Time
1 Greater than or equal to Z83
2 Greater than or equal to AA83 but less than Z83
3 Greater than or equal to AB33 but less than AA83
4 Greater than or equal to AD33 but less than AB83
5 Less than or equal to AD

The below formula was what I started with, until I noticed that it
was not right


=IF(S86=0,0,IF(S86<AD86,5,IF(S86AD86<AC86,4,IF(S8 6AC86<AB86,3,IF(S86AB86<AA86,2,IF(S86AA86<Z86,2 ,IF(S86Z86,1)))))))



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Nested If

=IF(S83=0,0,IF(S83<=AD83,5,IF(S83<=AC83,4,IF(S83<= AB83,3,IF(S83<=Z83,2,1)))))
--
David Biddulph

Jeremy wrote:
I need some help creating a nested if formula. The goal is to get a
score 0 through 5 for different parameters.

Condition Result (Score)
S83=0 0
S83<=AD83 5
S83AD83<=AC83 4
S83AC83<=AB83 3
S83AB83<=Z83 2
S83Z83 1

Does this make sense?



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
nested ifs not enough Vincent Excel Discussion (Misc queries) 1 August 23rd 07 03:58 PM
nested if based on nested if in seperate sheet. how? scouserabbit Excel Worksheet Functions 5 March 2nd 07 04:03 PM
More than 16 nested IFs!!!! Meltad Excel Worksheet Functions 11 October 6th 06 09:49 AM
Nested Ifs Sal Excel Worksheet Functions 5 April 16th 06 10:43 AM
Run out of nested Ifs Clive Williamson Excel Worksheet Functions 8 April 10th 06 12:36 PM


All times are GMT +1. The time now is 09:03 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"