Results 1 to 4 of 4

IF function

Threaded View

  1. #1
    Registered User
    Join Date
    02-09-2011
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    2

    IF function

    Hi,

    I have searched for about an hour, but I do not know enough to search for the proper tutorial. Anyways, I need a function to add lets say cells B2&C2, but if B2 = "DNI" then the output be C2. If C2="DNI" then the output B2. If both say DNI then the output "DNI".

    Can anyone help?

    This is what I have came up with so far. (This is after about 1/2 hour of tutorials haha.)

    =IF(AND(B9="DNI",C9="DNI"),"DNI",B9+C9)

    *The problem is this only helps me if both cells read DNI. If only one reads DNI and the other is a number I would receive incorrect information.
    Last edited by joenicky; 02-09-2011 at 01:44 PM.

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