I want to retrieve number of Mondays of a particular month.
You haven't stated what you've tried and why it didn't work - which is the way SO works. Remember for next time.
In finding a solution to your problem ask yourself the following:
What is the minimum number of Mondays (or any other day) in a month? How about the maximum?
Can you determine the day of the 1st of any month using library/framework functions?
How about the number of days in any month?
Using the answers to the above could you design and implement the algorithm?
If you get stuck ask a new question, show what you've tried, where it failed, and someone will undoubtedly help you out.
HTH
Related
I am trying to make a finance tracker in sheets. I have checkboxes for each thing that needs to be done with values set for if the checkbox is checked or unchecked. I want to be able to see how much I am behind by adding up the values of the unchecked boxes. However because I have dates in the future I can't just add all. I just want to see how far behind I am compared with today. So if I haven't put the money in my savings and the box is unchecked then it will add to the amount, however only if the week is from before today, not next week's or next months included.
I have tried looking into how to account for today's date and found a function however that's only to find today's date, not to look for times before today's date along with I could do if functions but I would need to compare each individual checkbox and considering I have several for each week, that wouldn't do any good either. I have no clue if this is even possible but I have to assume this would be for accounting finance trackers.
So I have an issue I cannot wrap my brain around. I am creating an employee vacation tracker, and I have already multiple sheets with different data, i.e. one consists of Google Form answers about when the employee wants to take time off work for holidays. Please note that I also already have data on employee availability each standard day of the workweek.
Alright, onto the problem. Let's say 'Lukas' is a part-time employee and only works Tuesdays, Wednesdays, and Fridays. He sends in his vacation plan: he will be enjoying the seaside from 1.8. until 15.8. How on earth can I combine multiple sheets and data in such a way, to only count his holidays by his actual workdays? I can not even begin to write the formula - this is where I should note I am a beginner at Sheets.
Alright - I took a look at your mock-up sheet, I must admit it's still felt somewhat unorganized.
Due to the lack of enough dummy data and without being certain whether or not you empty/refresh the weekly availability tabs (I'd recommend you not to do so), it wasn't fully clear what you wanted.
Nonetheless, I couldn't resist, I've been working on several projects and your topic gave me some creative inspiration, so I went ahead and did a major rebuild in your mock-sheet.
Should you want to use or implement it, here's some info good to know:
The Employees tab is meant as an input field for any coming and going employees; just add any names there and they will be automatically added to the main schedule.
I mocked some more data, so the output might not be what you expected, but;
In the Holiday overview tab you can see all employees with the days they've taken, planned, and left.
In the Schedule Dashboard tab, you will find three main sections.
The working schedule based on the data from the Weekly Availability tab of which I guess you manually move over data to from the Availability Responses tab.
The Holiday schedule; this fully takes into account whether or not it overlaps with a supposed working day, or if the person was off already anyhow. Therefore; Holiday is shown when it overlaps with a scheduled working day and Day Off is shown when it doesn't. Only the Holidays are deducting the remaining holidays.
The right one I did based on my own experiences; it works like an alerting sign that whill show you if holidays are approved while still being scheduled, where I work we do this the other way around. Holiday Request > We unschedule > We approve holidays > No overlaps should exist.
I posted some comments in the sheet here and there on orange tiles.
Curious to know if this helped!
To start, I'm trying to create a spreadsheet to help keep track of my spending and earnings throughout the year in an effort to crack down on my budgeting and excessive spending. I would like to figure out how to add a specific spending or earnings based on whether I used cash or card. I have no idea how to do this and where to start or if I'm even asking in the right place(sorry if I am) but any help would be greatly appreciated. This is a link to a rough design of my spreadsheet. https://docs.google.com/spreadsheets/d/1H1wLZaxPEq60i8lFcjBtSWsTfZ4SOkT2Vt2JygiSnt8/edit?usp=sharing
try:
=SUMIF(E2:E, "Cash", C2:C)
According to description of Remaining Work field available here https://learn.microsoft.com/en-us/azure/devops/boards/queries/query-numeric?view=azure-devops#fields-used-to-estimate-and-track-work I set my ProcessConfiguration with "h" for hours.
Since Remaining Work is declared as double, I guess that is possible to enter in this field hours but also minutes. Is it ok to set "half an hour" with 0.5? "10 minutes" with 0,16 and so on?
Yes, you could track it like that. I think if you try to track individual times less than a quarter hour it brings on a lot of other problems though. If you have multiple people working on the same task, the out-of-box functionality is not great for tracking that. If you want to roll-up tasks time to a feature or PBI, the roll-up is not that great.
I've worked on projects that were billable to different customers and we billed in quarter-hour increments. We tracked the time for billing and used a paid extension, Timetracker. It was good at managing to the level of detail you might desire based on the wording in your question.
I want to create bar charts similar to web server logs. I have events in my database which all took place at a certain moment, I would like to grab all these events and then chart how many occurred each day, week, month, whatever on a bar (column) graph.
For example I want to chart how many visitors I had in a month in 31 columns, each representing one day.
Is there a charting application whereby I can grab all the visits for the month and give these dates to the library, and it will divide them into time periods of my choosing (e.g. view by day)?
If not then what is the simplest way of creating the data? 31 DB queries? One DB query and then checking the dates and divide the events up into 31 lists?
I'm using Groovy and Grails.
You may query your database to get Map which maps number of events to a certain date. Use criteria builder to make a query that returns grouped by date.
I would just add Google Analytics to my website and use their interface.
To develop the software for handling these queries is a big question that I can't answer here. It's a product in itself.