Google Sheets conditional formatting with differently styled dates - date

in Google Sheets I'd like to format an area of cells automatically by comparing its date value to another cell. In fact, I have some cells representing a month (the area of cells to be formatted) and a single cell with another date (05.05.2022 formatted as 05.05. see screenshot).
So date for homework is located in U6 and cell area for moth of may is K11:Q16. When I set conditional formatting to
apply to range: K11:Q16
and
Date is: exact date: =U6 or custom formula is: =U6
it does not work. But when I set range to N12 (05.05.2022 formatted as 5) it does work.
Any ideas?
Thanks in advance.
edit:
I created a separate sheet for sharing, so this does not fit to the screenshot:
https://docs.google.com/spreadsheets/d/1gBx3dbzxk3Qb999uo3YMdz0A9-ViSE4xPeihhasN7FQ/edit?usp=sharing

try like this:
=COUNTIF($I$2:$I$5; D11)
or:
=MATCH(D11; $I$2:$I$5; )

Related

Format output of formula field (which is used in charts etc.)

The output of my formula field is typically formatted like this:
Output of formula field
In my details I can switch this format to a number without any decimal points or thousand points:
Format in details without points
The problem is, that this changed format isnĀ“t displayed in the diagrams or cross tables later on:
Format failure in diagrams or cross tables
How can I fix this issue?
Thanks in advance!
Formatting charts can be confusing because of how varied the layout can be for each different type of chart. I find its is easier to format the display of a chart when you are previewing data on the chart because the layout for the chart in design view may not match what is output at runtime. While previewing the report you should be able to click on any value or label on the chart to select the object. You should see the four points around the object that allow you to resize the object once it is selected. Then you can right click on the object and select "Format Selected Object" or "Format Axis Label" on the menu. Then you should see a tab labeled "Number" where you will find options that allow you to control the formatting. The options found here will vary a little depending upon the object selected on the chart. If you need specific help with these options, it would be helpful if you could provide a screen shot of the window.

How to change date range which was entered as a parameter

for my evaluation I have set a date range as an input parameter. This chosen date range should be displayed in a textbox (by using a formula field for example).
What I reached so far is, that I choose a date range and CR goes through the corresponding data.
But I can only see the first and last date on which something happenend.
Example:
Entered Date range: 01.01.2019 - 16.10.2019
First/last date with a created notification: 03.01.2019 - 14.10.2019
Displayed date range: 03.01.2019 - 14.10.2019
This could cause confusion because it looks like we evaluated a shorter date period.
Is there a method to just show the entered parameters?
Thanks in advance!
Instead of placing the parameters in a formula and displaying them as this may be causing your issue. Do the following;
Get a textbox and place it in the report header. On the right in your field explorer, expand the Parameter Fields and drag the DateFrom and DateTo in the textbox. Something like this;
Doing so will display the entered range in the parameter and not the range values actually exist for.

Accessing object that is below a floating object

Link to original post
Here is what I am facing.
I am using the 'sheet selector' technique to switch between two sheets and the sheet selector parameter is the 'PY' and 'Date Range' option.
I also want to hide the corresponding filters along with the sheets.
When I pick PY - the checkboxes will be displayed.
When I pick date range Rebate Commit Date will be displayed.
I was able to successfully hide PY option by setting it to 'Only relevant values'.
However that is not working for date range
So I used a floating object in a vertical container to hide the date range.
It is hiding successfully but when I need to access date range am not able to do that because of the floating object on top.
Any ideas are highly appreciated.
Thank you.
Answered in tableau community - Link

Crystal Reports show field grey when date is null

Our user wants a date field to display as highlighted or with a grey background when the date is null. How would I do something like this? (At the very least, I suspect I'll first have to convert it to a string.)
Completed Date
12/15/2010
03/07/2011
<-- make that a grey block
05/01/2010
I hope that you don't think this too hacky but you can do what you want by adding a Formula field and calling it something like NullCheck. Then put the code below in the NullCheck formula field so that it places an X whenever the date field is null.
If IsNull({DeleteMe.DateField}) Then
"X"
Next put that field (NullCheck) on your page so that the box covers the date field exactly. Then use the Highlighting Expert to set the background and the font to the same color when the X appears in the field (see image below).
When done it should "highlight" all null dates fields as shown.

How do you know how much space an NSString (using default font) will occupy on a UITableView section header?

Basically I want to copy the behavior in iPhone's Calendar where the day of week (Mon, Tue, Wed) is on the left side of the table's section header (left justified) while the formatted date (Apr 1, 2010, May 1, 2010) based on locale is on the right side of the table's section header (right justified).
I was thinking of inserting a variable amount of space in between the day of week and formatted date but I first need to know the actual space consumed by the text on both sides to figure out how much space to add.
Hope to hear your thoughts on this.
Thanks.
There're some additions made in UIKit to NSString class, among them functions allowing to determine string size when drawing with specific font. See this function in docs for a start:
- (CGSize)sizeWithFont:(UIFont *)font
Maybe you could create a temporary UILabel, set your date string as text of the label and then get the width of the label through the frame property (--> label.size.width).