How to create series of date using open office - openoffice-calc

I am new to Open office how to create Series of Date in Openoffice
For example
If I am entering the date as 04/APR/2013 (2 months) this has to increase in each below column. The most important thing is if it is saturday or sunday i need it in different color or some differentiate.
Could any one help me on this
Thanks & Regards
Maha

Assuming column A, put the date in A1, then put the following formula in A2;
=A1 + 1
Copy the formula as far down the column as you want.
I'm not sure how you want to indicate weekends. You can use some combination of WEEKDAY and STYLE.

Thank you for choosing a date that is independent of locale (ie dd = MM).
I am assuming capitalisation of the whole of the month short name is not critical as arranging that would complicate meeting the rest of your requirements.
First (say in A1) enter:
4/4/13
then Format > Cells > Numbers Date and 31/Dec/1999, and click OK.
Then click on the fill handle (the small black square at the bottom right-hand corner of the cell) of cell A1 and drag down to suit (for two months about 60 rows).
Next select your 60 or so cells, Format > Conditional Formatting… and for Condition1 select Formula is and enter:
WEEKDAY(A1;4)>4
then select your style of choice and click OK.

Related

Excel formula that checks the text of a specific column and the text of a specific row and returns the data listed in the table

I am trying to display the outcome scores on one Excel sheet into another Excel sheet based on the outcome name and course.
If the text in Sheet1!C2=communication and Sheet1!E2=Comm 2010, then display Sheet1!D2 on Sheet2!B3.
If the text in Sheet1!C4=information* and Sheet1!E4=Commm 3000, then display Sheet1!1D4 on Sheet2!C5.
Need to be able to use Wildcard when checking the text.
If the text in Sheet1!C6=communication and Sheet1!E6=Comm2010, but there is no number in Sheet1!D6, leave Sheet2!B5 blank
I have played around with a few different IF AND formulas, but I can't get the data displayed correctly.
Right now, I am building a pivot table from the data in Sheet1, then taking the table and formatting it to match the table on Sheet1 then using =IF(Pivot!C7="","",Pivot!C7). This works, but building a pivot table for each student and then formatting it to match Sheet1 is a time drain.
I'm really hoping there is a better way to do this.
Thank you!
Since you are compiling outcomes on a per-student basis and not in total it is safe to use the SUMPRODUCT() function:
The formula below is used in B3
=SUMPRODUCT((Sheet1!$E$2:$E$6=Sheet2!B$1)*(Sheet1!$C$2:$C$6=Sheet2!$A3)*(Sheet1!$D$2:$D$6))
and can be copied across and down throughout B3:C4
The formula used in B5 is different, because of the 'wildcard criterion'
=SUMPRODUCT((Sheet1!$E$2:$E$6=Sheet2!B$1)*(LEFT(Sheet1!$C$2:$C$6,11)="Information")*(Sheet1!$D$2:$D$6))
(unless you are using Microsoft 365, having the formula directly suppress 0 values essentially entails doubling it in length so, as an alternative, given the small output range, a custom-number format has been implemented, which effectively doesn't display 0 in a cell where that is the formula result)

PowerBI - x-axis month label sorting

I'm creating a line chart in PowerBi for NPS where the line legend is the year and the x-axi label is the first initial of the month. I'm having a dilemma in sorting the month initial. Can someone assist on this? thanks in advance.
There are two ways to sort.
The first one is on graph level, meaning that you will only sort one specific graph:
Steps:
Click on the graph you want to sort
Click on the three dots
Click 'sort'(In my example named 'Sorteren op')
Choose what you want to sort on.
However, this will most likely not provide you with the right solution. Since it is already sorted on date letter, but in alphabetical order.
Therefore the second solution, sort on colum.
First, we go to the data tab (Or columns tab).
In my example, I have opened a date table to match your question.
Here I select the 'MonthShort' (MaandKort) because I want it sorted based on a number instead of on letters.
Sort on column:
Sort on column select:
If you click the column, it automatically opens the 'kolomhulpmiddelen' tab. Here you can select the 'sort on column' pane and click on the column you want to sort on.
In my case, I chose the monthnumber. So from now on, if I use the MonthShort in a graph, it will sort it based on the monthnumber, meaning that I will see Jan - Feb - Mar etc.
Note: This is from the Dutch version of Power BI.

How can I display months without no data?

I follow the following blog http://sqljason.com/2018/03/display-last-n-months-selected-month-using-single-date-dimension-in-powe... in order to display Display Last N Months & Selected Month using Single Date Dimension in Power BI.
I've an issue when trying to display month-year when there is no data in the fact table sales.
I did modification: https://1drv.ms/u/s!Amd7BXzYs7AVg3xJ1MKPYI_PIw3z
How to show to show for example October, november and december 2015 as an example?
I downloaded your PBIX file and looked through it.
I am unsure what you exactly want to see, because your report has a few quirks in it.
I'll try to sum them up:
You have a 'select month' drop down menu ánd a slider for selecting the number of months (As 'sales for last x months). This doesn't work. Since you now need to manually select the wanted months in the drop down menu with CTRL+Click (On each month) ánd you need to use the slider.
Next to that, your calculations seem to be wrong. If I only select Dec-16 I get 70. If I select Nov-16 and Dec-16, the sales in Dec-16 suddenly become 70 and Nov-16 takes over. If I select until July-16, July-16 gets 70 and Dec-16 gets 120.. I don't know if this is how you want it but it looks like strange behaviour.
A good tip for measures. If you sum, divide or do any calculation. End with +0. That way you wont see (Blank) but 0. E.g.
Sales (Selected Month) = SUM(Sales[Sales]) + 0
Also, you have made a small date table, which is good. But you don't use this consistently through your report. For selecting months you use the date table and for the graph you use the date in the sales table. It is better to use the date table for dates, since that is it's sole purpose.

Calculated column that is for each time series

I have this Power BI file
through this link
we.tl/t-Q5Fgc0G6ZX
It has data for users and scores per date
the greph looks fine except 1 thing
This is so far good to show total users counts and passed uses count
but what I want in top of that is to have a 3rd bar shows how many users are needed to get the target of passing users for that month/year/day/quarter
Target is 60% of total number of users
How can I do that.
appreciate your help
Right click on your table at the fields pane (right side) and chose New Column. Type the following into the expression field:
60 Percentage Target = YourTable[NumberOfUsers] * 1,6
Now simple drag and drop the 60 Percentage Target column into your chart (value) and you get your desired result.

IF statement using cell formatted value

In Google Sheets, how can you use the IF statement using the output of a cell's formatted value?
I've created a Google Sheet with a date value in B1. The cell is formatted using the date format. B1 is then copied across to the right so that it increments the days of the month.
In B2, based on the B1 date, I want to display the day value (ie Thu, Fri, Sat etc.). Similarly to the first step, I set the date format under Format > Number > More formats > More date and time formats, then from the select box, choose the day and I want to display the "Tue" date format.
Then in B8, I want to display an amount of 30 every Thursday, otherwise, show 0.
This is where it doesn't work. Does it seem like the rendered cell's value can't be used in an IF statement? My desired output is that every the value in row 2 is a 'Thu' display 30.
As a side note, I jumped on Google support and asked this same question. Even though they are technical support, I thought I'd give them a try anyway, after all, I am paying for GSuite.
This is the formula they came back to me with: =if(B2=B1, "30", "0").
Of course, this formula will work in B8, because B2 is equal to B1 in the actual cell value, it doesn't take into account the formatted cell value. This formula will fail the output we need as it will always display 30 instead of only then row 2 is 'Thu'.
So essentially, is there a function in Google Sheets for a rendered cell value? Or another solution around this?
Note: I do NOT want to use any scripting to get this to work.
try it like this:
=IF(TEXT(B2, "ddd")="Thu", 30, 0)
Please try and copy across to suit:
=30*(WEEKDAY(B1)=5)
No IF, but shorter.