kumara_faith
Well-known Member
- Joined
- Aug 19, 2006
- Messages
- 951
- Office Version
- 365
Hi,
I have the data in Table 1 below which shows employee numbers by month:
In Table 2 below, I am trying to populate the employee numbers that left the company with a minus sign at the front of employee ID and employee that joined the company without a minus sign at the front of the ID. The correct result is as below:
Is there a formula that I could use for the above ? Appreciate all the help. Thanks
I have the data in Table 1 below which shows employee numbers by month:
Book1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
C | D | E | F | G | H | I | |||
1 | Table 1 | ||||||||
2 | Dec | Jan | Feb | Mar | Apr | May | Jun | ||
3 | 123457 | 123457 | 123457 | 123457 | 123457 | 123457 | 123457 | ||
4 | 123458 | 123458 | 123458 | 123458 | 123458 | 123458 | 123458 | ||
5 | 123459 | 123459 | 123459 | 123459 | 123459 | 123459 | 123459 | ||
6 | 123460 | 123460 | 123460 | 123460 | 123460 | 123460 | 123460 | ||
7 | 123461 | 123461 | 123461 | 123461 | 123461 | 123461 | 123461 | ||
8 | 123462 | 123462 | 123462 | 123462 | 123462 | 123462 | 123462 | ||
9 | 123463 | 123463 | 123463 | 123463 | 123463 | 123463 | 123463 | ||
10 | 123464 | 123464 | 123464 | 123464 | 123464 | 123464 | 123464 | ||
11 | 123465 | 123465 | 123465 | 123465 | 123465 | 123465 | 123465 | ||
12 | 123466 | 123466 | 123466 | 123466 | 123466 | 123466 | 123466 | ||
13 | 123467 | 123467 | 123467 | 123467 | 123467 | 123467 | 123467 | ||
14 | 123468 | 123468 | 123468 | 123468 | 123468 | 123468 | 123468 | ||
15 | 123469 | 123469 | 123469 | 123469 | 123469 | 123469 | 123469 | ||
16 | 123470 | 123470 | 123470 | 123470 | 123470 | 123470 | 123470 | ||
17 | 123471 | 123471 | 123471 | 123471 | 123471 | 123471 | 123471 | ||
18 | 123472 | 123472 | 123472 | 123472 | 123472 | 123472 | |||
19 | 123473 | 123473 | 123473 | 123473 | 123473 | 123473 | |||
20 | 123474 | 123474 | 123474 | 123474 | 123474 | 123474 | |||
21 | 123475 | 123475 | 123475 | 123475 | 123475 | 123475 | |||
22 | 123476 | 123476 | 123476 | 123476 | 123476 | 123476 | |||
23 | 123477 | 123477 | 123477 | 123477 | 123477 | 123477 | |||
24 | 123478 | 123478 | 123478 | 123478 | 123478 | 123478 | |||
25 | 123479 | ||||||||
Sheet1 |
In Table 2 below, I am trying to populate the employee numbers that left the company with a minus sign at the front of employee ID and employee that joined the company without a minus sign at the front of the ID. The correct result is as below:
Book1 | ||||||||
---|---|---|---|---|---|---|---|---|
M | N | O | P | Q | R | |||
1 | Table 2 | |||||||
2 | Jan | Feb | Mar | Apr | May | Jun | ||
3 | -123477 | -123476 | -123475 | -123474 | -123473 | -123472 | ||
4 | 123478 | 123479 | ||||||
5 | ||||||||
6 | ||||||||
Sheet1 |
Is there a formula that I could use for the above ? Appreciate all the help. Thanks