Extensive IFS

robatthe2A

New Member
Joined
Dec 27, 2024
Messages
13
Office Version
  1. 365
Platform
  1. Windows
I’ll post the mini-sheet when I’m back home but here’s the just of it…

Column A: Representative Name
Column B: Activity Name
Column C: Start Time (12/12/2024 12:12:12PM)
Column D: End Time
Column E: Duration (HH:MM)
Column F: Notes

What I currently have: Conditional formatting that colors all “idle” yellow. Filters are applied to all columns to I can easily sort oldest to newest “Start Time” then a to z on “Representative Name” so that each representatives activities are in chronological order by start time. I also have a conditional formatting formula built in to color green an activity name that has an activity name following it with a start time in between its start and end times.

What I’m trying to accomplish: each representatives activities to sort or filter some how to show only when “idle” is in an activity. Secondly, to share (could be conditional) if the representative is over or under their break to lunch by more than 1 minute (some reps have 10 minute breaks and some have 15 minute breaks). Lastly, to determine if they started their shift over or under the same 1 minute threshold (schedules vary).

Im open to suggestions! Thank you!
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
GP Available_112034*1/2/2025 1:45:25 PM1/2/2025 1:49:30 PM0:04:05
IDLE1/2/2025 1:47:23 PM1/2/2025 1:48:34 PM0:01:11
GP Phone_112034*1/2/2025 1:49:30 PM1/2/2025 1:59:53 PM0:10:23
GP Available_112034*1/2/2025 1:59:53 PM1/2/2025 1:59:56 PM0:00:03
GP NR Follow Up Work_112034*1/2/2025 1:59:56 PM1/2/2025 2:06:55 PM0:06:59
GP Available_112034*1/2/2025 2:06:55 PM1/2/2025 2:12:21 PM0:05:26
GP Phone_112034*1/2/2025 2:12:21 PM1/2/2025 2:23:15 PM0:10:54
GP ACW_112034*1/2/2025 2:23:15 PM1/2/2025 2:23:22 PM0:00:07
GP NR Callbacks_112034*1/2/2025 2:23:22 PM1/2/2025 2:23:30 PM0:00:08
GP Phone_112034*1/2/2025 2:23:30 PM1/2/2025 2:24:12 PM0:00:42
GP ACW_112034*1/2/2025 2:24:12 PM1/2/2025 2:24:24 PM0:00:12
 
Upvote 0
Any ideas on how I can extract just the idle that is in Available for instance? I can't seem to come up with a formula that pulls correctly. (Needs to sum all of the idle inside of Available for instance)
 
Upvote 0
I’ll post the mini-sheet when I’m back home but here’s the just of it…

Column A: Representative Name
Column B: Activity Name
Column C: Start Time (12/12/2024 12:12:12PM)
Column D: End Time
Column E: Duration (HH:MM)
Column F: Notes

What I currently have: Conditional formatting that colors all “idle” yellow. Filters are applied to all columns to I can easily sort oldest to newest “Start Time” then a to z on “Representative Name” so that each representatives activities are in chronological order by start time. I also have a conditional formatting formula built in to color green an activity name that has an activity name following it with a start time in between its start and end times.

What I’m trying to accomplish: each representatives activities to sort or filter some how to show only when “idle” is in an activity. Secondly, to share (could be conditional) if the representative is over or under their break to lunch by more than 1 minute (some reps have 10 minute breaks and some have 15 minute breaks). Lastly, to determine if they started their shift over or under the same 1 minute threshold (schedules vary).

Im open to suggestions! Thank you!
It's best to share your sample data using the forums Excel Add-In... located here: XL2BB - Excel Range to BBCode
It makes it easier for others to help you.
The more seasoned members (not me) would also refer you to the forum rules as well.
Welcome to the forum and best regards,
 
Upvote 0
It's best to share your sample data using the forums Excel Add-In... located here: XL2BB - Excel Range to BBCode
It makes it easier for others to help you.
The more seasoned members (not me) would also refer you to the forum rules as well.
Welcome to the forum and best regards,
Unfortunately, I can't get the add ins on this computer. I did read the board rules again thinking I must have missed something- if I've violated one- can you let me know which one?

Thank you.
 
Upvote 0
No idea what this means. Show some expected (manual) results.
I do not have a working formula that does what I need it to do- essentially I need to extract idle time that is within available time. I’m played with SUMIFS, XLOOKUP, and various IFS/AND formulas.

Any ideas on how I can pull only the idle durations that are within available durations?
 
Upvote 0
Something like this?
Book1
ABCDEFGHI
1
2GP Available_112034*1/2/25 13:451/2/25 13:490:04:05IDLE1/2/25 13:471/2/25 13:480:01:11
3IDLE1/2/25 13:471/2/25 13:480:01:11
4GP Phone_112034*1/2/25 13:491/2/25 13:590:10:23
5GP Available_112034*1/2/25 13:591/2/25 13:590:00:03
6GP NR Follow Up Work_112034*1/2/25 13:591/2/25 14:060:06:59
7GP Available_112034*1/2/25 14:061/2/25 14:120:05:26
8GP Phone_112034*1/2/25 14:121/2/25 14:230:10:54
9GP ACW_112034*1/2/25 14:231/2/25 14:230:00:07
10GP NR Callbacks_112034*1/2/25 14:231/2/25 14:230:00:08
11GP Phone_112034*1/2/25 14:231/2/25 14:240:00:42
12GP ACW_112034*1/2/25 14:241/2/25 14:240:00:12
Sheet3
Cell Formulas
RangeFormula
F2:I2F2=FILTER(A2:D12,A2:A12="IDLE")
Dynamic array formulas.
 
Upvote 0
Something like this?
Book1
ABCDEFGHI
1
2GP Available_112034*1/2/25 13:451/2/25 13:490:04:05IDLE1/2/25 13:471/2/25 13:480:01:11
3IDLE1/2/25 13:471/2/25 13:480:01:11
4GP Phone_112034*1/2/25 13:491/2/25 13:590:10:23
5GP Available_112034*1/2/25 13:591/2/25 13:590:00:03
6GP NR Follow Up Work_112034*1/2/25 13:591/2/25 14:060:06:59
7GP Available_112034*1/2/25 14:061/2/25 14:120:05:26
8GP Phone_112034*1/2/25 14:121/2/25 14:230:10:54
9GP ACW_112034*1/2/25 14:231/2/25 14:230:00:07
10GP NR Callbacks_112034*1/2/25 14:231/2/25 14:230:00:08
11GP Phone_112034*1/2/25 14:231/2/25 14:240:00:42
12GP ACW_112034*1/2/25 14:241/2/25 14:240:00:12
Sheet3
Cell Formulas
RangeFormula
F2:I2F2=FILTER(A2:D12,A2:A12="IDLE")
Dynamic array formulas.
 
Upvote 0
I'm so sorry for the delay- stepped away for dinner- back now. So, it looks like that formula when entered and adjusted to my sheet pulls all idle. Is there a way to pull just the idle that is within Available's start and stop time?
 
Upvote 0

Forum statistics

Threads
1,225,482
Messages
6,185,253
Members
453,283
Latest member
Shortm88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top