Show only filled cells in a calendar

olivergs1982

New Member
Joined
Jun 29, 2018
Messages
9
Ahoy Hoy, struggling with how to do something and whether it's even possible. I'm importing data from another source into a new workbook and in this workbook and employee has a line for their job for the entier year, all 365 days. On days when they're on leave a letter is placed into that particular day on the line. I have already managed to come up with a sheet where the employee can enter their employee pin and it brings up their calendar only. I just wondered if there was a way to have it do this and only show the boxes that have had something entered into them. Basically I just want to show the entries on the line and not the full line.

1692866493760.png

This is the formula I'm using which imports everything for that employee only and for everything in their calendar for the year.
=iFERROR(ARRAY_CONSTRAIN(ARRAYFORMULA(INDEX(Sheet5!AB$3:AB$1000, SMALL(IF($A$5=Sheet5!$B$3:$B$1000, ROW(Sheet5!$B$3:$B$1000)-ROW(Sheet5!$A$3)+1), ROW(1:1)))), 1, 1),"")
This is the source data:
1692866692096.png


Any suggestions that don't involve VBA etc.?

Thanks
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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