Display date if conditions are true
Display date if conditions are true
Hello,
In colum a I have dates. In colum H I have summarized data in table. I want to keep from having to enter data everytime.
Ie... h9 has a value of a date, I want h10 h11 and so on to display previous h+8 only if colum a has dates according.....
H9 is 12/7/18.
H10 needs to be 12/15/18 only if a2:a100 has a date on or after h9+8.
I tried =if(a2:a100>=h9+8;h9+8;"") but getting blank results
In colum a I have dates. In colum H I have summarized data in table. I want to keep from having to enter data everytime.
Ie... h9 has a value of a date, I want h10 h11 and so on to display previous h+8 only if colum a has dates according.....
H9 is 12/7/18.
H10 needs to be 12/15/18 only if a2:a100 has a date on or after h9+8.
I tried =if(a2:a100>=h9+8;h9+8;"") but getting blank results
Openoffice 4.1.5 on windows 10
Re: Display date if conditions are true
Please upload your ODF type sample file here.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Re: Display date if conditions are true
I want to be able for the wk start to be every 8 days and display only if colum a has supporting dates
- Attachments
-
- sample .ods
- (7.92 KiB) Downloaded 282 times
Openoffice 4.1.5 on windows 10
Re: Display date if conditions are true
Hi,
Code: Select all
=IF(COUNTIF($A$2:$A$100;">="&(H9+8));H9+8;"")
LibreOffice 5.4, 7.0, 7.2 on LinuxMint/Win10
Re: Display date if conditions are true
That gives me a value of 1/7/00
Openoffice 4.1.5 on windows 10
Re: Display date if conditions are true
Hello,
me not ...
me not ...
- Attachments
-
- sample .ods
- (10.03 KiB) Downloaded 291 times
LibreOffice 5.4, 7.0, 7.2 on LinuxMint/Win10
Re: Display date if conditions are true
Then the H9 has a zero value in YOUR file. For example it contains a textual data with zero value.That gives me a value of 1/7/00
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Re: Display date if conditions are true
Got it to work when h9 has date... but when fill down if h10 is blank then h11 thru h61fills with bad data... so on and so forth... shouldn't the others be blank? Yes It uses same formula except h9 become h10+8, h11+8... and so on. If h10 is blank then so should h11.... and so on right?
Openoffice 4.1.5 on windows 10
Re: Display date if conditions are true
Try theGot it to work when h9 has date... but when fill down if h10 is blank then h11 thru h61fills with bad data...
=IF(ISBLANK(H9;"";your_condition))
formula
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Re: Display date if conditions are true
Your_condition? Would that be the part? Or start with if(countif?
Openoffice 4.1.5 on windows 10
Re: Display date if conditions are true
=IF(ISBLANK(H9;"";IF(COUNTIF( $A$2:$A$100;">="&(H9+8));H9+8;"")).... gives err508
Openoffice 4.1.5 on windows 10
Re: Display date if conditions are true
508
Error: Pair missing
Missing bracket, for example, closing brackets, but no opening brackets
Count your brackets. Use your F1- Help to find the meaning of the error messages.
Error: Pair missing
Missing bracket, for example, closing brackets, but no opening brackets
Count your brackets. Use your F1- Help to find the meaning of the error messages.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
Re: Display date if conditions are true
You need three closeing brackets at the end of the formula. One for the IF(), ant another for ISBLANK() and the third for your condition.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Re: Display date if conditions are true
Code works for h10 but same code(replacing h9 each line) still shows bad data? I dont know why it works for one but not the rest( h11,h12... h62)... 52 weeks starting with h9
Openoffice 4.1.5 on windows 10
Re: Display date if conditions are true
Please upload your actual version of your ODF type sample file here.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Re: Display date if conditions are true
If you are new to spreadsheets, you may find the following to be useful resources.
[Tutorial] Ten concepts that every Calc user should know
OpenOffice Spreadsheet Tutorial for Beginners with Examples
And I suspect directly related to your question - [Tutorial] Absolute, relative and mixed references
[Tutorial] Ten concepts that every Calc user should know
OpenOffice Spreadsheet Tutorial for Beginners with Examples
And I suspect directly related to your question - [Tutorial] Absolute, relative and mixed references
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
Re: Display date if conditions are true
see the dates in h11,h12,h13 are off but h10 is rightZizi64 wrote:Please upload your actual version of your ODF type sample file here.
- Attachments
-
- SAMPLE.ods
- (57.51 KiB) Downloaded 310 times
Openoffice 4.1.5 on windows 10
Re: Display date if conditions are true
H11 is off due to the fact that the formula for calculating the date refers to H10, which is blank, thus returning the equivalent of a 0 value for other calculations.
H12 and H13 have similar problems, but they can all be traced back to the fact that you have a blank, thus a 0 value, in H10.
H12 and H13 have similar problems, but they can all be traced back to the fact that you have a blank, thus a 0 value, in H10.
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
Re: Display date if conditions are true
Correct. That's my issue. I would like the others be blank if the one before is blank
Openoffice 4.1.5 on windows 10
Re: Display date if conditions are true
This implies a loss of information.Joeywc wrote:Correct. That's my issue. I would like the others be blank if the one before is blank
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: Display date if conditions are true
I thought that's the reason for the if,countif code. It only supposed to calculate if there's value in row above. Otherwise leave blank
Openoffice 4.1.5 on windows 10
Re: Display date if conditions are true
Try
instead of the code you're currently using
Code: Select all
=if(isnum(H9);H9+8;"")
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
Re: Display date if conditions are true
There are many functions to examine the content of a cell:I thought that's the reason for the if,countif code. It only supposed to calculate if there's value in row above. Otherwise leave blank
ISBLANK()
ISNUMBER()
ISNA()
ISERROR()
ISERR()
ISEVEN()
ISODD()
...and more.
Read the HELP, and use the function what you need for your task.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.