+ Reply to Thread
Results 1 to 2 of 2

How complex that Excel's if() and logical expression can be?

  1. #1
    Registered User
    Join Date
    06-05-2008
    Posts
    10

    How complex that Excel's if() and logical expression can be?

    Hi guys,

    I want to ask this.

    In Excel =if() function, I can have if certain condition is true then I get a value from a certain cell, otherwise I get another value from another cell.

    How about I have 6 different input cells, and 6 different conditions, feed in to one cell. Like if the condition is 1 then I feed target cell with value from cell 1. And if the condition is 2 then I feed the only target cell with value from cell 2.

    The cell can handle multiple different conditions?

    Thanks.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887
    You can use nested IF statements (up to 7 using normal methods in Excel 2003 and earlier). For example:
    Please Login or Register  to view this content.
    This says:
    If cell A1 equals 1, return the value in cell A10; otherwise
    If cell A1 equals 2, return the value in cell B10; otherwise
    If cell A1 equals 3, return the value in cell C10; otherwise
    Return the value in D10.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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