+ Reply to Thread
Results 1 to 6 of 6

If statement wiht and or

  1. #1
    Forum Contributor
    Join Date
    06-25-2016
    Location
    india
    MS-Off Ver
    MS Office 365(Win 10) Home Ed 2016
    Posts
    134

    If statement wiht and or

    hello,

    I wd like to if with multiple or conditions for attached sample
    Attached Files Attached Files

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,519

    Re: If statement wiht and or

    Maybe this, I not a formula guy. Enter formula in cell F2 and drag down

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: If statement wiht and or

    Try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: If statement wiht and or

    little different:
    =IF(AND(D2=64,E2>15),3500,CHOOSE(IFNA(MATCH(D2,{128,256,512,2},0),5),5000,5000,5000,10000,0))
    pattern is the same

    or
    =IF(AND(D2=64,E2<15),0,IF(OR(D2=128,D2=256,D2=512),5000,IF(D2=2,10000,3500)))
    Last edited by sandy666; 04-23-2017 at 11:49 AM.

  5. #5
    Forum Contributor
    Join Date
    06-25-2016
    Location
    india
    MS-Off Ver
    MS Office 365(Win 10) Home Ed 2016
    Posts
    134

    Re: If statement wiht and or

    thkx a lot for suggestions, it works, one more addition in this, whatever value formulas give i wish to divide it by 365 and multiple by value in C

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: If statement wiht and or

    something like this?
    =(IF(AND(D2=64,E2<15),0,IF(OR(D2=128,D2=256,D2=512),5000,IF(D2=2,10000,3500)))/365)*C2

+ 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] Help wiht INDEX function
    By suspun in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-19-2015, 03:03 PM
  2. [SOLVED] How to SUM data wiht the common header?
    By lch93lily in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-04-2014, 01:35 AM
  3. Index for a row only on cells wiht a specific header
    By Sparkplug90 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-06-2013, 08:46 PM
  4. one formula wiht multiple conditions and results..
    By Pavan Shetty in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-13-2012, 04:48 AM
  5. Problem wiht a basic loop
    By soundgarden in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2012, 01:52 AM
  6. [SOLVED] what's wrong wiht my bar graph in excel?
    By maggie in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-22-2006, 01:40 PM
  7. sum wiht an if or vlookup?
    By Chip Smith in forum Excel General
    Replies: 1
    Last Post: 03-31-2006, 02:15 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