combine more IF(OR Google sheet formula - date

I have this problem , in a google sheet's cell I have put inside this formula:
=IF(OR(AND(F21>"01/05/2022";F21<"31/05/2022");AND(G21=2;));$J$4;"errore");
and this run correctly.
but now I would combine this formula with another in the same cell i.e.
=IF(OR(AND(F21>"01/05/2022";F21<"31/05/2022");AND(G21=2;));$J$4;"errore");IF(OR(AND(F21>"01/06/2022";F21<"30/06/2022");AND(G21=3;));$K$4;"errore");
could you help me to made this without errore please? thanks a lot

try:
=IF(OR(AND(F21>"01/05/2022"; F21<"31/05/2022"); G21=2); $J$4;
IF(OR(AND(F21>"01/06/2022"; F21<"30/06/2022"); G21=3); $K$4; "errore"))
or for array:
=INDEX(IF((MONTH(F21:F)=5)+(G21:G=2); J4;
IF((MONTH(F21:F)=6)+(G21:G=2); K4; "errore")))

Related

iText7 Single Cell spliting in two pages after page break

As you can see below, the same cell got splitted in two pages... But I need them in the same page, how can I do that?
I tried to use "SetHeight" in cell but no success...
You can try
new Cell().SetKeepTogether(true)

Swift - print each item in an array to different rows on a UILabel

I am completely new to Swift but am loving my journey so far. I was wondering if anyone could help me with a slight issue of mine.
I am currently trying to print each item in an array to a different row on a UILabel.
I should be using a for loop but I am wondering how to structure the inside of the loop so that each item in the array prints on a separate line of the label.
As a bonus question, would a label even be the best way to display this? (Especially if the array has a lot of items). Maybe a ScrollView?
Thanks in advance for any responses. All help is appreciated.
The easiest way would be the following.
// Label will show as many lines as needed
label.numberOfLines = 0
// Join strings with new line characters so each string is a separate line
label.text = arrayOfStrings.joined(separator: "\n")

How to get the content in the table within a CVirtualGridCtrl control of a window through pywinauto

I am trying to get the content of a table within a GridCtrl control as shown in the screenshot below.
I have found through spy++ that the control containing the table is CVirtualGridCtrl.
But how can I get the content of the table?
app = pywinauto.Application().Connect(path = "xiadan.exe")
control = app[u'网上股票交易系统5.0'].CVirtualGridCtrl
control.PrintControlIdentifiers()
If I run the above code, I will get the following output:
Having searched and test for a long time, I still have no clue.
Could someone kindly give me a hint? Thanks a lot.
Edit:
Really appreciate your quick response #vasily-ryabov. I have tried as you suggested, unfortunately there is no recognizable control to get the numbers I want.
Does this mean that it is then impossible to get the content of the cells?
I have also tried right clicked on the control, but there is no interested short-cut operation.
You can try to use clipboard to get grid data.
control.type_keys('^A^C')
data = pywinauto.clipboard.GetData()

IBM Content Navigator ContentList clickable column

I'm able to render the ContentList within ICN. I have a requirement wherein I need to make the first column of the grid as clickable. In normal dojo, we use a formatter function to do this. Is there any way to do in ICN?
Thanks,
Finally, I had to change from ContentList to gridx. This way I formatted the column to be a clickable.
Regards,
Manju

Implementing tree structure UITableview

Can We create tree structure in UITableView like below.
-Sub1 //First row
-Sub1sub1 //First row's child
-sub1sub1sub1 //Child's child etc..
-sub1sub1sub2
-Sun1sub2
-sub2sub2sub1
-sub2sub2sub2
-Sub2
-Sub2sub1
-sub1sub2sub1
-sub1sub1sub2
-Sun2sub2
-sub2sub2sub1
-sub2sub2sub2
Don't want any code but is there any reference for implementing this..or just let me know is it possible or not..
Please help me to solve this question..
Thanks in advance.
Finally I got my answer..
Using this Github link
Thanks Github...
TableView delegate method
tableView:indentationLevelForRowAtIndexPath:
can be used to indent rows according to your needs
I've done it before, and using this approach helped me a lot:
Implementing UITableView Tree Structure
If you need help of how to implement that solution, or if it doenst fit your problem, let us know and we will help you
Edit: I just realized you have one more level of depth that the link, but in your case you can use a header for the first level)