lionelcba10
New Member
- Joined
- Feb 2, 2021
- Messages
- 3
- Office Version
- 2010
- Platform
- Windows
Hi, maybe some of you guys can help me out, i have the following table:
I need to write a formula that returns the amount of time this machine was disconnected, counting from the first "Ping down" event, it should look like this:
The problem is that i'm stuck with getting the first "ping down" value, i tried with this on C2 cell:
=IF(B2="Ping down";IF(IF.ERROR(MATCH("Ping down";B2:B$1000;0)<MATCH("Reconnected";B2:B$1000;0);A2)=TRUE;"-";A2);"-")
But doesn't work, it only returns the last "ping down".
Maybe the fourth column is not necessary and it can all be calculated on C:C but i think that exceedes my knowledge.
Hour | Event | Disconnected at | Time out |
01:25:36 | Ping down | ||
02:25:17 | Ping down | ||
03:47:50 | Ping down | ||
04:50:50 | Reconnected | ||
05:20:14 | Ping down | ||
06:14:15 | Ping down | ||
07:08:55 | Ping down | ||
08:00:01 | Reconnected |
I need to write a formula that returns the amount of time this machine was disconnected, counting from the first "Ping down" event, it should look like this:
Hour | Event | Disconnected at | Time out |
01:25:36 | Ping down | 01:25:36 | 03:25:00 |
02:25:17 | Ping down | - | - |
03:47:50 | Trying to reconnect | - | - |
04:50:36 | Reconnected | - | - |
05:20:14 | Ping down | 05:20:14 | 02:40:00 |
05:24:14 | Ping down | - | - |
05:28:15 | Ping down | - | - |
06:14:15 | Trying to reconnect | - | - |
07:08:55 | Trying to reconnect | - | - |
08:00:14 | Reconnected | - | - |
The problem is that i'm stuck with getting the first "ping down" value, i tried with this on C2 cell:
=IF(B2="Ping down";IF(IF.ERROR(MATCH("Ping down";B2:B$1000;0)<MATCH("Reconnected";B2:B$1000;0);A2)=TRUE;"-";A2);"-")
But doesn't work, it only returns the last "ping down".
Maybe the fourth column is not necessary and it can all be calculated on C:C but i think that exceedes my knowledge.