[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

# Re: [libreoffice-users] Calc 6.0.6.2 IF criteria statement help

[Thread Prev] | [Thread Next]

*Subject*: Re: [libreoffice-users] Calc 6.0.6.2 IF criteria statement help*From*: "Hylton Conacher (ZR1HPC)" <hylton@conacher.co.za>*Date*: Mon, 12 Nov 2018 15:51:53 +0200*To*: Remy Gauthier <remygauthier@yahoo.com>, Michael H <cmahte@gmail.com>, users@global.libreoffice.org

My apologies Remy et al,

You are correct regarding the earlier post and despite the many possibilities, this issue still plagues me.

Unfortunately my Internet has been down a week so hence the late reply.

I did try your proposed solution however on further investigation into the formula used, you seemed to mis-understand the requirement, possibly due to poor explanation. I was therefore unable to get it to work but thank you for the effort.

My issue now is that whilst I have identified a formula that `works', I need to get the right method of specifying that the INT value must be EQUAL to a value on another sheet BEFORE advancing with the next formula argument i.e.

IF an INT formula value of data, on EVERY cell in a column on Data sheet, equals a cell from the Summary sheet, then sum the values located in a corresponding column on the Data sheet, provided the value in another column is either "N" or blank.

vlookup comes to mind as does IF, INT and AND but despite numerous tries the syntax still gets in the way.

Regards

Hylton

On 2018/11/10 17:55, Remy Gauthier wrote:

Hi,

I believe you had a similar (if not identical question) which you posted back on September 27th (topic: IF doesn't respect AND - http://document-foundation-mail-archive.969070.n3.nabble.com/IF-doesn-t-respect-AND-td4249584.html). At the time you had uploaded a file to Google and I had offered a possible solution to your problem which had worked in my environment. I am curious to know if you have tried it and if it worked.

Rgds,

Rémy.

Le samedi 10 novembre 2018 à 08:16 -0600, Michael H a écrit :

I'm not sure I follow your logic, but if your source range contains a list

of values that includes nulls, and non-numbers, you need to logically

exclude those from a math statement, or you get the 'VALUE' error (tried to

do math on a non-numeric cell.) ISBLANK, and ISNUMBER are functions that

provide the way around the VALUE.

If you're trying to make a list of values out of a column of values,

investigate CONCATENATE. The problem with concatenate is that it doesn't

auto-insert separators and whitespace. You'll either need to include a new

column with ", " in each row and concatenate 2 columns, or have the

appropriate whitespace in each cell.

If you only have a couple cells to concatenate, you can be precise with the

& operator. that is [="Hello "&"there!"] allows multiple strings in a

single cell, and each string can be cell references or functions with

string or numeric output. [="I've seen "&A5&", "&G3&" cells today."] is a

nice way to summarize your data in human readable form.

If you're trying to only pick a few values, investigate LOOKUP. I'm an

excel refugee, (and used Lotus, and 8bit (GEOS) spreadsheets before that.)

LibreOffice version of LOOKUP is.... not very well done, but if you're

patient with it, it gets the job done. I frequently have to insert dummy

rows containing null cells when I want 'exact match only', and libreoffice

can't deal with 'non-sorted' indexes, and they aren't clearly or obvious

what the sorting pattern should be, so it's best to sort your data within

LibreOffice before you use lookup. (for lookups, a ==A or not, sometimes

NBSP == space, but sometimes not. This affects matches, but also sorting..

and sort failures breaks many responses, not just one. These sorting

issues are constant for a single edition of libreoffice, but seem to change

without any notice on updates.)

On Sat, Nov 10, 2018 at 7:44 AM Hylton Conacher (ZR1HPC) <

hylton@conacher.co.za <mailto:hylton@conacher.co.za>> wrote:

Hi, What I need help with is the formula to find any row from Data.$A$3 to Data$A$1000 and after shortening the 8 digit date value to 6 digit value, and having the same 6 digit value as Summary.$A4, forward ONLY those rows onto the next part of the formula i.e. SUMIF. I have a formula shown below but currently is showing me #VALUE! as my result. "=IF(INT(Data.$A$31:Data.$A$50/100)=Summary.$A4,SUMIF(Data.$F$31:Data.$F$50,"N",Data.$C$31:Data.$C$50))" I have identified the problem where the INT value = Summary.$A4 What would the correct syntax be to have a criteria equal a specified value as a criteria in a formula? I tried encasing "INT...=Summary.A4", but no luck. SUMIFS does not assist as the criteria to find, after INT shortening must equal another value before the next step can be carried out. Appreciate any help. Where should I upload a file Nabble, GDrive, other? Regards Hylton -- To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org <mailto:users+unsubscribe@global.libreoffice.org> Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy

--

To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org

Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/

Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette

List archive: https://listarchives.libreoffice.org/global/users/

Privacy Policy: https://www.documentfoundation.org/privacy

[libreoffice-users] Re: Calc 6.0.6.2 IF criteria statement help | remygauthier <remygauthier@yahoo.com> |

[libreoffice-users] Calc 6.0.6.2 IF criteria statement help | "Hylton Conacher (ZR1HPC)" <hylton@conacher.co.za> |

Re: [libreoffice-users] Calc 6.0.6.2 IF criteria statement help | Michael H <cmahte@gmail.com> |

Re: [libreoffice-users] Calc 6.0.6.2 IF criteria statement help | Remy Gauthier <remygauthier@yahoo.com> |

- Prev by Date:
**Re: [libreoffice-users] Pasting csv string into Calc** - Next by Date:
**[libreoffice-users] Re: Calc 6.0.6.2 IF criteria statement help** - Previous by thread:
**Re: [libreoffice-users] Calc 6.0.6.2 IF criteria statement help** - Next by thread:
**[libreoffice-users] Re: Calc 6.0.6.2 IF criteria statement help** - Index(es):

Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.