• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Holiday calendar 2021|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Holiday calendar 2021|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Holiday calendar 2021
sp_PrintTopic sp_TopicIcon
Holiday calendar 2021
Avatar
Pete Bryant

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
December 9, 2020
sp_UserOfflineSmall Offline
1
December 9, 2020 - 2:39 am
sp_Permalink sp_Print

Hi,

I am unclear as to the formula I need to insert on my "summary" worksheet that will capture the holidays booked per employee & month from the other worksheet named "calendar", I thought a SUMIFS formula would give me the result I wanted but that produced a SPILL erro on the summary worksheet against the name I tried the formula on.

Any help & assistance would be much appreciated

sp_AnswersTopicSeeAnswer See Answer
Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 871
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
2
December 9, 2020 - 4:12 am
sp_Permalink sp_Print

Hello Pete,

Can you upload a sample file showing us the data structure and what you want to achieve?

Br,
Anders

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4449
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
3
December 9, 2020 - 1:23 pm
sp_Permalink sp_Print

Hi Pete,

The SPILL error occurs when you have data in cells that the dynamic array formula wants to spill the results to. Delete the data occupying those cells and the formula will work.

Mynda

sp_AnswersTopicAnswer
Answers Post
Avatar
Pete Bryant

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
December 9, 2020
sp_UserOfflineSmall Offline
4
December 9, 2020 - 8:26 pm
sp_Permalink sp_Print

Hi Anders,

Please see attached the excel file with two worksheets, summary & calendar.

I want to show on the calendar tab the days an employee has a holiday (inserting the word HOL) and then summarise for each employee & month on the "summary" tab those holidays taken or booked.

Thanks

Pete

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 871
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
5
December 10, 2020 - 4:14 am
sp_Permalink sp_Print

Hi Pete,

Sorry, no file attached. But I assume the problem is solved as by Mynda’s suggestion.

Br,
Anders

Avatar
Pete Bryant

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
December 9, 2020
sp_UserOfflineSmall Offline
6
December 10, 2020 - 8:29 pm
sp_Permalink sp_Print

Hi Anders,

Sorry about that, i have now uploaded my file. The issue I have is not about the spilled array and how to resolve that it is what formula is needed to capture the data onto the summary worksheet.

Many thanks

Pete

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 871
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
7
December 11, 2020 - 5:24 am
sp_Permalink sp_Print

Hi Pete,

With the data structure you have the formula needs to be adjusted per month, examples below for employee Sam.

For January, cell D18
=SUMPRODUCT((Calendar!$C$5:$C$9=$B18)*(Calendar!$D$5:$AH$9="HOL"))

For February, cell E18
=SUMPRODUCT((Calendar!$C$12:$C$15=$B18)*(Calendar!$D$12:$AH$15="HOL"))

The suggested formulas above will give 0 results for employees that have no HOL listed in the Calendar worksheet. Those can be hidden using custom number formatting.

I do suggest you try to work out a solution where you have the data entries in a tabular data format. Based on such structure it becomes a lot easier to build the formulas and above all, to add new functionalities using same data set.

I hope this gives you some help.

Br,
Anders

Avatar
Pete Bryant

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
December 9, 2020
sp_UserOfflineSmall Offline
8
December 12, 2020 - 12:13 am
sp_Permalink sp_Print

Thanks very much Anders I will take a look at that.

Regards

Pete

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Jeanine Hagge
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
Jessica Stewart: 205
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Othman AL MUTAIRI
Misael Gutierrez Sr.
Attif Ihsan
Kieran Fee
Murat Hasanoglu
Brett Dryland
Saeed Aldousari
Bhuwan Devkota
Kathryn Patton
Maria Conatser
Forum Stats:
Groups: 3
Forums: 24
Topics: 6222
Posts: 27293

 

Member Stats:
Guest Posters: 49
Members: 31916
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.