+ Reply to Thread
Results 1 to 3 of 3

Array and IF function issue

  1. #1
    Registered User
    Join Date
    03-13-2014
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2007
    Posts
    59

    Array and IF function issue

    Hi,

    In the attached file you can see in the column A a scale from 90-150 which is the achievement scale for the contact rate in column B. If you achieve a contact rate 94,4 your achievement is 148. But since the contact rate doesn t have to be the exact number of the column B, I created the columns C & D in order to cover all the possible options (so in order to achieve 148 you have to bring contact rate from [94,25 - 94,55).

    In column H you can see the actual contact rate and in column I , I was supposed to put the achievement..

    I thought that maybe I should use the IF function with an array...but I don t know how...(never had to use an array before).

    Can anyone please help me ?

    I don t know if it matters but the attachement is a 2003 xls file (I made it at work where I use excel 2003).
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,471

    Re: Array and IF function issue

    Try this:
    =IF(H2<70.5,90,SUMPRODUCT(($C$2:$C$61<=H2)*($D$2:$D$61>=H2)*$A$2:$A$61))
    Quang PT

  3. #3
    Registered User
    Join Date
    03-13-2014
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: Array and IF function issue

    It works!!!! Thank you very much!

    So sumproduct was the answer... I am going to use this a looooot!

    Thank u!!

+ 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] Issue with array created from value passed from function
    By g8r777 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-10-2012, 08:32 PM
  2. Issue passing array to function
    By g8r777 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-08-2012, 04:50 AM
  3. [SOLVED] Issue with Array
    By ATLGator in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2012, 02:49 PM
  4. Sum Array Issue
    By Sleeper in forum Excel General
    Replies: 6
    Last Post: 02-02-2010, 08:09 PM
  5. [SOLVED] Tricky array formula issue - Using array formula on one cell, then autofilling down a range
    By aspenbordr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-27-2005, 11:05 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