ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Nested if statement ? (https://www.excelbanter.com/excel-worksheet-functions/183661-nested-if-statement.html)

Angelaf

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


macropod

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


Max

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


Gaurav[_2_]

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





All times are GMT +1. The time now is 02:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com