+ Reply to Thread
Results 1 to 4 of 4

if then else 'false' error

  1. #1
    Registered User
    Join Date
    08-21-2021
    Location
    Brisbane, Australia
    MS-Off Ver
    Office 365
    Posts
    18

    if then else 'false' error

    Hi there,

    I am trying to use a large nested if then else statement. See below:

    =IF(AND(Variables!$B$6="T75",R3=1),"sawlog",IF(Variables!$B$6="T",IF(OR(V3='6mProps'!$B$2,V3='6mProps'!$C$2,V3='6mProps'!$D$2,V3='6mProps'!$E$2,V3='6mProps'!$F$2,V3='6mProps'!$G$2,V3='6mProps'!$H$2,V3='6mProps'!$I$2),"sawlog",(IF(OR(V3='6mProps'!$J$2,V3='6mProps'!$K$2,V3='6mProps'!$L$2,V3='6mProps'!$M$2,V3='6mProps'!$N$2,V3='6mProps'!$O$2,V3='6mProps'!$P$2,V3='6mProps'!$Q$2,V3='6mProps'!$R$2),"pole",IF(OR(V3=AllProps!$B$2,V3=AllProps!$C$2,V3=AllProps!$D$2,V3=AllProps!$E$2,V3=AllProps!$F$2,V3=AllProps!$G$2,V3=AllProps!$H$2,V3=AllProps!$I$2,V3=AllProps!$J$2,V3=AllProps!$K$2,V3=AllProps!$L$2,V3=AllProps!$M$2),"sawlog",(IF(OR(V3=AllProps!$N$2,V3=AllProps!$O$2,V3=AllProps!$P$2,V3=AllProps!$Q$2,V3=AllProps!$R$2,V3=AllProps!$S$2,V3=AllProps!$T$2,V3=AllProps!$U$2,V3=AllProps!$V$2),"pole","")))))),""))

    When Variables!$B$6="T75" and Variables!$B$6="T" it works the way it should, but when Variables!$B$6="H" it returns false. Can someone please help me fix this?

    Thank you!
    Attached Files Attached Files
    Last edited by exceluniprojecthelp; 10-07-2021 at 01:28 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,919

    Re: if then else 'false' error

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-21-2021
    Location
    Brisbane, Australia
    MS-Off Ver
    Office 365
    Posts
    18

    Re: if then else 'false' error

    Hi Ali, thanks just attached now

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    31,297

    Re: if then else 'false' error

    You can simply via the OR

    =IF(AND(Variables!$B$1="T75",D2=1),"sawlog",IF(Variables!$B$1="T",IFERROR(IF(MATCH(H2,'6mProps'!$B$2:$I$2,0),"sawlog",0),""),""))

    based on formula in your posted file (not same as formula in post description).

    There is no test for BS1="H" so no idea what results should be.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Error with a formula (FALSE), please help
    By Enriquex in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-30-2020, 08:04 AM
  2. True:false error ###
    By Mr.Castle in forum Excel General
    Replies: 3
    Last Post: 03-02-2019, 02:19 PM
  3. Reflecting False Error
    By haitham.shop in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-08-2018, 03:42 AM
  4. [SOLVED] Getting error 'false'
    By mso3 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-31-2016, 01:17 PM
  5. [SOLVED] False error message, when using if
    By JGuajardo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-05-2015, 10:50 AM
  6. [SOLVED] FALSE error in Formula
    By jemmers in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-14-2015, 11:24 AM
  7. FALSE error message
    By pentatonic145 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-25-2007, 06:24 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1