+ Reply to Thread
Results 1 to 7 of 7

If And Formula

  1. #1
    Forum Contributor
    Join Date
    07-28-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    173

    If And Formula

    Hi,
    I am Looking for a formula that will help me in doing the below things

    If (E2>B2 And K2 >3,"BCC",IF( E2<B2 And K2>3,"SCC",""))

    Thnx for the Help

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,765

    Re: If And Formula

    AND (condition1,condition2, conditionX), so:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    however, according to the fact that condition about K2 is the same in both ANDs:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    or even, if there is no possibility that E2 is equal B2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by KOKOSEK; 03-09-2023 at 08:48 AM.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Forum Contributor
    Join Date
    07-28-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    173

    Re: If And Formula

    Problem Solved
    Thnx KOKOSEK for a Great Help

  4. #4
    Forum Contributor
    Join Date
    07-28-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    173

    Re: If And Formula

    Is the below formula perfect according to u KOKOSEK
    bcoz it is 3 %
    =IF(AND(E2>B2,K2>3%),"BCC",IF(AND(E2<B2,K2>3%),"SCC",""))

  5. #5
    Registered User
    Join Date
    08-24-2014
    Location
    Swansea
    MS-Off Ver
    Office 365
    Posts
    99

    Re: If And Formula

    Hi Leonardo,
    It would be great to have a representative excel sheet to demonstrate what you need. Is K2 presenting % difference between E2 and B2?

    thanks

    Leigh

  6. #6
    Forum Contributor
    Join Date
    07-28-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    173

    Re: If And Formula

    Yes Sir K2 presenting % difference between E2 and B2

  7. #7
    Registered User
    Join Date
    08-24-2014
    Location
    Swansea
    MS-Off Ver
    Office 365
    Posts
    99

    Re: If And Formula

    Hi Leonardo,
    I am assuming you need a formula to work out K2 as well. Please see attached example worksheet, I have included the formulas you need

    I have kept the formulas simple so you have a good chance of updating them if you need to change your worksheet columns etc.

    Again a reputation star is always a good way to say thnx

    Leigh
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 03-24-2020, 07:27 AM
  2. Replies: 3
    Last Post: 01-10-2019, 09:34 AM
  3. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  4. Replies: 8
    Last Post: 09-22-2017, 05:41 AM
  5. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  6. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  7. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

Tags for this Thread

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