+ Reply to Thread
Results 1 to 3 of 3

String of IF(And statements

  1. #1
    Registered User
    Join Date
    02-28-2017
    Location
    NEW YORK
    MS-Off Ver
    2013
    Posts
    13

    Unhappy String of IF(And statements

    I am trying to create a template for something and my formula works fine - but I am wondering if there is a way to make the statement shorter

    I am trying to basically make a statement that says: =IF this number and this number equals this and this then the value is this
    Can anyone help with a possible formula?
    Last edited by ksky88; 04-19-2017 at 12:44 PM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,711

    Re: IF Statement for 2 values

    I think an example of "this" might help:

    Attach a sample workbook.

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

    It is probably something like ..

    in C1

    =IF(AND(A1=2,B1=6),75,??)

    so if A1=2 AND B1=6 then C1=75 , otherwise ????

  3. #3
    Registered User
    Join Date
    02-28-2017
    Location
    NEW YORK
    MS-Off Ver
    2013
    Posts
    13

    Re: IF Statement for 2 values

    Price to Compare Rate Class Change 2.xlsx

    Her is an example

+ 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. [SOLVED] i have an if then statement that works, how to make it work as a with or case statement
    By dmcgov in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 06-03-2016, 03:34 PM
  2. [SOLVED] If statement to select data - nested statement - assistance
    By petitesouris in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-29-2015, 09:55 PM
  3. compile error expected line number statement end statement
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2014, 10:12 AM
  4. VBA Compile Error : line number or label or statement or end of statement
    By excellearner121 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2013, 06:41 PM
  5. Replies: 4
    Last Post: 06-01-2012, 10:05 AM
  6. Replies: 4
    Last Post: 05-16-2012, 05:33 PM
  7. [SOLVED] Utilize a Select Case Statement in Target Intersect Statement
    By max57 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2009, 08:55 PM

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