+ Reply to Thread
Results 1 to 5 of 5

Multiple If Statement

  1. #1
    Valued Forum Contributor
    Join Date
    11-15-2007
    Location
    England
    MS-Off Ver
    Office Pro 2003 / 2010
    Posts
    423

    Multiple If Statement

    Hi,

    I am usually pretty good on this but I am stumped by this.

    I need an if statement which says

    If(AB2>0,AB2,Z2,False)

    But I need to build in that if Z2 =N/A AND ab2 is blank then return X2 to the last bit.

    Thanks for any help.
    Last edited by timbo1957; 11-12-2013 at 07:27 AM.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Multiple If Statement

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Contributor
    Join Date
    11-12-2013
    Location
    Delhi
    MS-Off Ver
    Excel 2016
    Posts
    135

    Re: Multiple If Statement

    =if(ab2>0,ab2,if(isna(z2),x2,z2))

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Multiple If Statement

    You edited your requirement after I posted your solution.

    Now try:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor aganesan99's Avatar
    Join Date
    04-26-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Multiple If Statement

    Hi

    Check this formula

    =IF(AB2>0,AB2,IF(AND(ISNA(Z2)=TRUE,AB2=""),X2,Z2))

  6. #6
    Valued Forum Contributor
    Join Date
    11-15-2007
    Location
    England
    MS-Off Ver
    Office Pro 2003 / 2010
    Posts
    423

    Re: Multiple If Statement

    All solutions work

    Many thanks to all.

+ 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. [SOLVED] If statement that will look among multiple criteria and generate a statement
    By liz5818 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-01-2013, 04:12 PM
  2. multiple if statement????
    By muish in forum Excel General
    Replies: 2
    Last Post: 02-02-2013, 06:58 PM
  3. Multiple If Statement in a UDF
    By DataJunkie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-02-2011, 06:19 AM
  4. IF statement using multiple variables to give multiple outcomes
    By stujordan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2009, 06:46 AM
  5. fix a multiple IF statement
    By Breezey in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-08-2007, 08:41 AM

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