Hi All. I need help with a lookup or match or extraction formula..
Sheet 1:
Empl nr
Date of clock in to work
Time clocked in to work

Sheet 2
Empl nr
Shift code
Start date to end date. (09/10/2023 to 15/10/2023)

I need the shift from Sheet 2 for the specific employee on the specific day.

I cannot extract the shift per day. Our system provide as it was captured.
Not all shifts are for the whole month
Some employees work different shifts throughout the month .

Post Photo
like
Posting as :
works at
You are currently posting as works at

Hum, so your “shift” is like 10 days long - what would you want the formula to do if the employee “603” have two rows, both during the shift “a” timeframe?

Assuming the obvious, you can just use =FILTER() and control the criteria. Note that if your database have multiple entries, you may have a bunch of same shift rows - you may add a =UNIQUE() there to fix this. Please note that I’m assuming that there is no shift overlap (aka shift “a” and “b” don’t overlap for the same employee)

So, in excel terms:

=UNIQUE(FILTER(shift_range,(employee_nr_range=employee_nr)*
(start_date_range<=date)*
(end_date_range>=date),”not found”))

Where
Shift_range: the column where you have the shift in sheet 2
Employee_nr_range: employee_nr column in sheet 2
Employee_nr: the employee number in sheet 1
(Start date and end date ranges are the same)
Date: the date in sheet 1

And I’ve added “not found” to indicate when there is no shift that matches the date and employee number

like

What I mean above is - id you add the parenthesis the formula will work as intended, however if your date is messed up, excel will not properly recognize if a date is more than another one properly

Try =MONTH(date) and see if the output is correct (if you use =MONTH(01-10-2022), excel will return 01 as the month if the date is formated as mm-dd-yy, the common for americans)

I have quite literally never heard of a Payroll and Data officer in my life. What does your role involve

funny

I work for a company with 1700 employees staffed. We are responsible to make sure that all payroll related payments are made correctly. Employees are not over or under paid and building payment files for certain payments.

like

Use vlookup on empl nr

Vlookup is not helping cause 1 employee might have 2 or more entries on sheet 2 and I need to have the shift for a specific date. Except of there is a way to die a Vlookup on twee values. The employee nr and the date?

So employees have a permanent shift assigned to them when they are appointed.
Sometimes business requires the employee to work on a different shift and then the employee gets substituted to a different shift.
. Employee 603 can for instance work on shift a from 1 to 8 Oct and then work shift C from 13 Oct to 31 Oct.
I need to know that of employee 603 has clocked in on the 7th of October. Which shift did he work.

I’ve edited the answer above - sorry, clicked “post” before I’ve finished, mb

funny

Related Posts

Anyone remember that Pat The Baker ad from about 10 years ago with the Polish lad singing "Now Pet is on his veyyyy!"?

likefunny

Have too many spare DIYs. Let me know if you’re looking to do an exchange

like

Was laid off in Sept. Unfortunately we will be seeing many more coming. It's what happens in a recession. Unfortunately I now also have my age against me. Not in a mentally good place at the moment.

LTI Hiring # Salesforce # Einstein #Project Manager# Service Max
Let me know if you are interested.

Post Photo
like

Hi all,

I recently heard about Stoa School for the working people, who wants to do MBA. Would anyone provide any insight if stoa school is worth to consider for MBA for working professional?

like
like

Does Oracle have holiday shutdown?

likehelpful

What areas other than DC, is a TS clearance valuable?

Experience in shareholder services for GS?

like

Hi Everyone,

Could you please refer me in Infosys.
I have an experience of 2.9 years in Mindtree as Devops Engineer.
Currently serving my notice period.
Thanks in Advance.

Regards,
Sravani

I have my annual review coming up and want to hear thoughts on what a reasonable raise expectation is. I report to the COO and currently make $94k + up to 10% annual bonus based on company hitting their revenue goal + I have 3000 stock options. I have 3 YOE in customer success but pivoted to a non technical program manager role at a series c tech startup last September. I have been getting consistently positive feedback at quarterly reviews. What raise should I aim for?

Sundial Growers 🏄🏻‍♂️🏄🏻‍♂️🏄🏻‍♂️

like

If anyone out there is interested in learning more about FDD / Transaction Advisory Services and/or is looking for a position in this field (especially in Seattle), please reach out! I recently came over to RSM from Big 4 and we are actively hiring and building out this team!

like

Anyone can opine on HKS MPA-ID? I have MBA admits and want to continue working in ID post-MBA but this school just came up on my radar. I dont have money but just thinking long term if I should invest in applying and going. Dual citizen. Thoughts?

like

What could be the salary range for a Senior Product Specialist in GPI?

Also, how is the culture and work life balance?

(I know recent trends show that work life balance should not be considered, but I am one of those people who cares about it!)

like
like

Hi fishes, How will the below assessment in hexaware
DA_ Selenium_Java_Automation Testing_HTD_2021

It was scheduled for tomorrow.
My experience in 2.11 years in automation testing

like

Ok last one for real

Post Photo
like

After a decade of experience at big American banks plus consulting, with an American education and passport, how expansive are my options with big and/or small names in the region?

like

Looking for recommendations for good consulting / problem solving books and possibly LinkedIn courses if anyone has taken something worthwhile. Thanks Fam!

like

Additional Posts in Excel Genius

Hey, I have been tasked with teaching some of my coworkers excel from the very basics to more advanced. Does anyone have recommendations on the skills to teach them about? Thank you all in advance!

helpful

Hey fishies, looking for some help with the below

I have 4 lots of data categories which are assigned a code in the adjacent cell
Eg:
Cell A2= 'xyz' Cell B2 = 'w1'
Cell C2= 'ghi' Cell D2 = 'x1'
Cell E2= 'plm' Cell F2 = 'y1'
Cell G2= 'mhn' Cell H2 = 'z1'

The combination of the 'W','X','Y' and 'Z' codes identity a specific trend
I am extracting data which includes multiple combinations of these codes. What is the best way to show frequency of the codes against the category it is assigned to

like

Anyone have an app or Excel spreadsheet they use to keep track of utilization? We just switched systems and our new system doesn’t give us a real time balance of our utilization rate (cont)

Does anyone know what purple tables mean in Excel?

I know about green and orange, but never saw purple before and trying to figure it out.

likefunny

Is there anything similar to the INDIRECT function that I can use to build a formula reference to another workbook? INDIRECT creates errors when the referenced workbook is closed..

like

How do I set the formula to calculate “If x falls between 1-10, return 1-10, if it falls between 11-20, return 11-20, and so on”

like

What’s the keyboard shortcut to get into the “insert options” dialogue when you’ve inserted a new row with Ctrl+Shift+Plus?

like

I’m calculating a bunch of totals and averages by category on one worksheet by filtering data in different categories from another worksheet. However, when I change the filters, the previously..(cont)

I am trying to recreate this without the numbers at the end. Any advice?

Post Photo
likehelpful

This is dumb, but. How can I pull and average the numbers in column b associated with the 4 values in column a? So, (sum of all As/total number of As) without filtering?

Post Photo
like

Hi there,
Which Excel courses you recommend for a beginner?

like

Vlook up isn't recognizing a couple of cells even though it's feeding off a pivot and when I check with an " if =" it comes up as being the same.
Any advice on what I need to check?
Thanks

like

I’m verrrrrry new to excel and am going crazy because is there not a way to “clip” text in cells like you can in google sheets? I read about a “fill” option, but then noticed that cells that aren’t filled just repeat text. 😂🤯

like

Timesaver: If you’re working on a file saved on the cloud (teams, share point, etc.) and need the URL to communicate out, tap FILE -> INFO -> COPY PATH and the url will be on your clipboard. Pre-established sharing privileges of orig folder will apply. Hopefully this saves you time reshuffling open windows! Bonus: Same on standard MS suite files.

likesmart

How do I compare two sheets to make sure they are identical?

like

I’m helping my GF with excel and need help lol. She works at a hospital and is trying to make an excel schedule for doctors to reserve rooms. She wants drop downs for days of the week (column K) and also different drop down menus in column P for the reserved time slots.

Is it possible to do this with two sets of drop downs (days of week + time slots) and not use index match here? She could make 5 tables for each day of the week, but prefers one table that can be easily navigated by doctors.

Post Photo
like

Is there a way to identify duplicate URLs within labeled hyperlinks on multiple columns/rows/cells?

I was thinking conditional format, but it’s identifying duplicate labels. I have over 80,000 cells, so extracting URLs manually isn’t going to work for me.

Thanks in Advance!

What’s the best way to summarize multiple amortization schedule. I have each schedule on a separate tab. On a master sheet can I do something where I can input a specific month and show my ST/LT ...

like

Can dates be grouped just by Month-Year in pivot tables on a Mac without having the year as its own dimension?

Post Photo
like

What are your top Excel ninja tricks? Ones that few people know...

like

New to Fishbowl?

Download the Fishbowl app to
unlock all discussions on Fishbowl.
That was just a preview…
Sign Up to see all discussions
  • Discover what it’s like to work at companies from real professionals
  • Get candid advice from people in your field in a safe space
  • Chat and network with other professionals in your field
Sign up in seconds to unlock all discussions on Fishbowl.

Already a user?
Login here

Share

Embed this post

Copy and paste embed code on your site

Preview

Download the
Fishbowl app

See what’s happening in your industry
from the palm of your hand.

A phone with Fishbowl app

Scan your QR code to download
Fishbowl app on your mobile

Download app

Sign up for free to view this conversation on Fishbowl

By continuing you agree to Terms of Use and Privacy Policy

Already have an account? Log in

Sign up for free to continue using Fishbowl

By continuing you agree to Terms of Use(New) and Privacy Policy(New)
Messaging rates may apply

Already have an account? Log in

For account settings, visit Fishbowl on Desktop Browser or

General

Legal