+ Reply to Thread
Results 1 to 3 of 3

If...and

  1. #1
    Registered User
    Join Date
    01-31-2008
    Posts
    6

    If...and

    http://www.excelforum.com/showthread.php?t=631606

    =IF(D37=1,Q29,IF(D37=2,R29,IF(D37=3,S29,IF(D37=4,T29))))

    Following on from this thread and formula that I was very kindly given help on.

    I now want it to be expanded so that if another cell equals a certain value regardless of what D37 equals, it puts in some text. Kind of like an overide.

    I tried the following, which worked.
    =IF(AND(D37=1,D35<=1500),Q29,"Spot Quote")


    I then tried to add additonal IF's (below), and it did not work. I understand why, as it contradicts itself. But I am stuck on what to do next.

    =IF(AND(D37=1,D35<=1500),Q29,Spot Quote)IF(AND(D37=2,D35<1500),R29,Spot Quote))
    Last edited by dspeedie1987; 02-06-2008 at 06:01 AM.

  2. #2
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Hi,

    Your description is a bit confusing but try something on the lines of:

    If(somecell=value,"Yourtext",if(The rest of your formula that works......))

    Ed

  3. #3
    Registered User
    Join Date
    01-31-2008
    Posts
    6
    Sorry if it was bit confusing, but your way worked, so thanks.

+ 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