+ Reply to Thread
Results 1 to 6 of 6

IF Functions

  1. #1
    Registered User
    Join Date
    01-08-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2013
    Posts
    79

    IF Functions

    Hello,

    I am trying to utilize 1 cell to tell me if a select set of other cells has a value of greater than a specific number. The issue is I only know how to do this with a specific range. The data I am using I need to pick and choose specific cells and from what I can do, the IF functions can do that.

    Here is my example. I have these cells that I would like one cell to tell me if any contain a value of over 50.

    AR159:AV160,AS164:AW165,AT169:AX170 and so on....

    It seems when selecting multiple ranges, the commas mess up the IF function.

    Is there any way around this???

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: IF Functions

    Hi,

    When you say "and so on", is that to suggest that there is a consistent translation from one range to the next?

    For example, your second and third ranges appear to be translations by one column to the right and five columns down from the previous range - is this the case for the fourth, fifth, etc. ranges?

    If so, that would make the fourth range AU174:AY175, the fifth AV179:AZ180, etc. Is this correct? If so, how many of these ranges are we talking about?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    01-08-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2013
    Posts
    79

    Re: IF Functions

    Hello - Yes, there would be approximately 30 of those ranges. And each one is the sames size and is consistently the same distance from the next, with cells I do not want in-between.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: IF Functions

    Maybe try this?
    =max(AR159:AV160,AS164:AW165,AT169:AX170)>50
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    01-08-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2013
    Posts
    79

    Re: IF Functions

    That definitely can work for now. Thank you so much! Your replies and help are deeply appreciated. Really wish I could see the averages of the values above 50!!!!

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: IF Functions

    Assuming cell A159 holds your desired number of ranges (e.g. 30), this array formula** version of Ford's should do the job:

    =MAX(SUBTOTAL(4,OFFSET(AR159:AV160,5*(ROW(INDIRECT("1:"&A159))-1),ROW(INDIRECT("1:"&A159))-1,2,5)))>50

    Regards

+ 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. Which Excel functions work in user-defined functions ?
    By RogeratCCCC in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-28-2012, 06:47 PM
  2. Replies: 1
    Last Post: 02-10-2012, 05:27 PM
  3. Replies: 0
    Last Post: 11-15-2007, 05:24 AM
  4. [SOLVED] efficiency: database functions vs. math functions vs. array formula
    By nickname in forum Excel General
    Replies: 2
    Last Post: 07-13-2006, 11:30 PM
  5. Replies: 0
    Last Post: 06-05-2006, 05:20 AM

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