Closed Thread
Results 1 to 7 of 7

Simplifying Formulas by Reducing the Complexity of IF Functions

  1. #1
    srinivas
    Guest

    Simplifying Formulas by Reducing the Complexity of IF Functions

    colomn a colomn b colomn c colomn d
    v srinivas 2365
    murali

  2. #2
    alan tenore
    Guest

    multiple if & and statements combined

    Considered an expert by most, I can not get multiple if with and statements to work. I am doing a 2 by 4 matrix. if a1<1 and b1>1 then 5 if a1<1 and b1 <1 then 0 --- and so on

    a1could be 0,0,1,1 b1 could be 1,1,2,2
    any ideas

  3. #3
    Mary Leveridge
    Guest

    help with IF function

    I am a basic excel user and need a function that will look at two cells, see if either is greater that 1-00-5999.00 If so, the result should be DC, if not it should be GL. Here is what I tried and keep getting errors

    =IF(M1:N1>1-00-5999.00,"DC","GL")

    can anyone tell me what I am doing wrong?

  4. #4
    Mary Leveridge
    Guest

    help with IF function

    I am a basic excel user and need a function that will look at two cells, see if either is greater that 1-00-5999.00 If so, the result should be DC, if not it should be GL. Here is what I tried and keep getting errors

    =IF(M1:N1>1-00-5999.00,"DC","GL")

    can anyone tell me what I am doing wrong?

  5. #5
    Forum Contributor
    Join Date
    12-07-2004
    Posts
    596

    Simplifying Formulas by Reducing the Complexity of IF Functions

    Problem:
    The range A2:A4 lists the three primary colors.
    To find which of the various colors in column B are primary colors, we could use the following IF formula:
    =IF(OR(B2=A2,B2=A3,B2=A4),\"Primary Color\",\"Not a Primary Color\").
    However, such a formula would become increasingly complex as the number of values in column A increases.

    Solution:

    Use the IF and OR functions as shown in the following Array formula:
    {=IF(OR(B2=$A$2:$A$4),\"Primary Color\",\"Not a Primary Color\")}

  6. #6
    Registered User
    Join Date
    08-20-2007
    Posts
    1

    If statements

    I would like to modify my employee timesheets to take the sum of their hours column and then if the amount is equal to or over 40 hours only display 40 and if the amount is less than 40 display that amount. Can anyone help?

  7. #7
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Quote Originally Posted by Donnaend
    I would like to modify my employee timesheets to take the sum of their hours column and then if the amount is equal to or over 40 hours only display 40 and if the amount is less than 40 display that amount. Can anyone help?
    You could try something like this,

    =IF(SUM(C1:C5)>=1.666667,1.666667,SUM(C1:C5))

    Change the reference to C1:C5 to your reference for range of hours to sum, then Custom format the cell to [hh]:mm
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

Closed 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