Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Nested if statement ?

I want to identify all emp id's that have had an increment of more than one
point - something like:

Emp ID= previous Emp ID and point previous point +1 ? Would this be a
nested if statement of some sort?


Emp ID Scale Point
00003 GD10 44
00003 GD10 44
00007 GD10 43
00007 GD10 44
00010 GD10 43
00010 GD10 44

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 329
Default Nested if statement ?

Hi Angelaf,

For employee ID 003, it could be as simple as:
=C3-C21
This will return 'True' if the increment is greater than 1, 'False' otherwise.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

"Angelaf" wrote in message ...
I want to identify all emp id's that have had an increment of more than one
point - something like:

Emp ID= previous Emp ID and point previous point +1 ? Would this be a
nested if statement of some sort?


Emp ID Scale Point
00003 GD10 44
00003 GD10 44
00007 GD10 43
00007 GD10 44
00010 GD10 43
00010 GD10 44

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Nested if statement ?

Try in D2:
=IF(COUNTIF(A$2:A2,A2)=2,IF(C2-INDEX(C:C,MATCH(A2,A:A,0))1,"x",""),"")
Copy down. Col D will flag it as "x" as specified, ie whe
Emp ID = previous Emp ID and point previous point +1 ?


Note that in your posted data, no line qualifies. Perhaps you meant "=",
not "" ? If so, just change the "1" part in the expression to "=1"
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Angelaf" wrote:
I want to identify all emp id's that have had an increment of more than one
point - something like:

Emp ID= previous Emp ID and point previous point +1 ? Would this be a
nested if statement of some sort?


Emp ID Scale Point
00003 GD10 44
00003 GD10 44
00007 GD10 43
00007 GD10 44
00010 GD10 43
00010 GD10 44

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 207
Default Nested if statement ?

What do you want the formula to return?
Where is previous point?


"Angelaf" wrote in message
...
I want to identify all emp id's that have had an increment of more than one
point - something like:

Emp ID= previous Emp ID and point previous point +1 ? Would this be a
nested if statement of some sort?


Emp ID Scale Point
00003 GD10 44
00003 GD10 44
00007 GD10 43
00007 GD10 44
00010 GD10 43
00010 GD10 44



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
IF OR NESTED STATEMENT SuperBee Excel Discussion (Misc queries) 10 March 1st 08 05:31 AM
IF and OR nested statement help [email protected] Excel Discussion (Misc queries) 4 July 16th 07 10:22 PM
Nested IF statement PattiP Excel Worksheet Functions 4 January 23rd 07 10:56 PM
Help with a nested IF statement. BM Excel Discussion (Misc queries) 4 August 18th 06 04:36 AM
Nested If Statement guilbj2 Excel Discussion (Misc queries) 4 February 27th 06 04:01 PM


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