+ Reply to Thread
Results 1 to 4 of 4

How to create Multiple Conditional Formulas in a single cell?

  1. #1
    Maxfx
    Guest

    How to create Multiple Conditional Formulas in a single cell?

    How do I for create Multiple Conditional Formulas in a single cell?
    For example:
    =IF(B5<>0,IF(K5="Short",(L5-M5)*10000,(M5-L5)*10000),"") is one of the
    equations, but I need it to multiply by 100 instead of 10000 if the answer is
    greater than 1000.
    I could also have it so it multiplies the different equation if word
    criteria in a different cell from the same row is different. I dont know how
    to do that either.

  2. #2
    Forum Contributor
    Join Date
    06-23-2004
    Location
    Houston, TX
    Posts
    571
    Will this work for you?

    =if(and(B5<>0,K5="Short",M5-L5>1000),(M5-L5)*100,(M5-L5)*10000)



    Quote Originally Posted by =?Utf-8?B?TWF4Zng=?=
    How do I for create Multiple Conditional Formulas in a single cell?
    For example:
    =IF(B5<>0,IF(K5="Short",(L5-M5)*10000,(M5-L5)*10000),"") is one of the
    equations, but I need it to multiply by 100 instead of 10000 if the answer is
    greater than 1000.
    I could also have it so it multiplies the different equation if word
    criteria in a different cell from the same row is different. I dont know how
    to do that either.
    BenjieLop
    Houston, TX

  3. #3
    Jim Rech
    Guest

    Re: How to create Multiple Conditional Formulas in a single cell?

    I'm not sure what you're doing but it doesn't seem right for Conditional
    Formatting. When you pick "Formula Is" in Format, Conditional Formatting
    the formula you enter should return a True or False value. That result
    determines whether the format you select is applied. You can return a
    number but any non-zero number is considered True and of course, zero is
    False. There is no point in returning a string like "".

    --
    Jim Rech
    Excel MVP
    "Maxfx" <[email protected]> wrote in message
    news:[email protected]...
    | How do I for create Multiple Conditional Formulas in a single cell?
    | For example:
    | =IF(B5<>0,IF(K5="Short",(L5-M5)*10000,(M5-L5)*10000),"") is one of the
    | equations, but I need it to multiply by 100 instead of 10000 if the answer
    is
    | greater than 1000.
    | I could also have it so it multiplies the different equation if word
    | criteria in a different cell from the same row is different. I dont know
    how
    | to do that either.



  4. #4
    JulieD
    Guest

    Re: How to create Multiple Conditional Formulas in a single cell?

    Hi

    if you mean the answer of L5-M5 is greater than 1000 it should be multiplied
    by 100 instead of 10000 then:

    =IF(B5<>0,IF(K5="Short",IF(L5-M5>1000,(L5-M5)*100,(L5-M5)*10000),IF(M5-L5>1000,(M5-L5)*100,(M5-L5)*10000)),"")

    Cheers
    JuileD

    > "Maxfx" <[email protected]> wrote in message
    > news:[email protected]...
    > | How do I for create Multiple Conditional Formulas in a single cell?
    > | For example:
    > | =IF(B5<>0,IF(K5="Short",(L5-M5)*10000,(M5-L5)*10000),"") is one of the
    > | equations, but I need it to multiply by 100 instead of 10000 if the
    > answer
    > is
    > | greater than 1000.
    > | I could also have it so it multiplies the different equation if word
    > | criteria in a different cell from the same row is different. I dont
    > know
    > how
    > | to do that either.
    >
    >




+ 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