+ Reply to Thread
Results 1 to 2 of 2

Designer dummy in Excel - Need (nested?) If statement...

  1. #1
    Excel Dummy
    Guest

    Designer dummy in Excel - Need (nested?) If statement...

    I'm trying to create a spread sheet and don't know this program AT ALL! Here
    is what I need it to do..


    So, here are the equations...

    If C6>D6 then (C6-D6)*5 ---and put answer in cell X6
    If C6<D6 then (D6-C6)*10 ---and put answer in cell X6
    But, if cell D6 is yellow --- Put 20 in cell X6

    So, I need some sort of identifier in the equation saying whether the cell
    is yellow or not. I'm sure excel doesn't recognize "yellow" but there must be
    another way. I can put a letter with a number in that cell if necessary.

    I'm not sure this is making sence, but if anyone out there can help, I'd
    truely appreciate it. Thanks! Michelle



  2. #2
    Pete
    Guest

    Re: Designer dummy in Excel - Need (nested?) If statement...

    Assuming you can put Y for "yellow" in cell D6, type the following
    formula in cell X6:

    =IF(D6="Y",20,IF(C6>D6,(C6-D6)*5,IF(C6<D6,(D6-C6)*10,"Equal")))

    You do not specify what you want to happen when C6 = D6, so this
    formula returns "Equal", but you can change this to what you want.

    Pete


+ 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