Results 1 to 11 of 11

IF statement that also uses index match to verify if date falls with date range

Threaded View

  1. #1
    Banned User!
    Join Date
    09-26-2015
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    218

    IF statement that also uses index match to verify if date falls with date range

    Hi All,

    With reference to the attached.

    I have a table for projected revenue sales covering the period Jan-17 - Dec-25 (see table L17 : DO113). The revenues in this table are expressed in dollars. These revenues are a function of the information input into table B17 : J113.

    The table B17 : J113 lists all the different revenue streams and contains fields (for user input) which assist in the quantification of those revenues. Column E in this table is effectively the price list (for the next 8 years....) that is applicable to all customers and products. It is key to know that the same product can be sold to two different customers for two different prices e.g row 22 shows Product A being sold to Customer A for $30. Row 31 shows Product A being sold to Customer D for $12.50.

    For the purpose of this exercise, the prices in column E are fixed for each customer and not subject to increase or decrease at any time with the exception of prices for Customer A. You will see Customer A is typically being charged a higher rate than all other customers and as such, this customer demands regular price decreases over the course of a number of years.

    So whilst the 'Expected Monthly Revenue' (column G of table B17 : J113 - which are also shown in every column of table L17 : DO113) should be fixed for all customers except customer A, customer A's 'Expected Monthly Revenues' should read "See Rate Reduction Table". The revenues for customer A in the table L17 : DO113 should be a function of the expected sales units (column F) multiplied by the applicable rate for that month, and the applicable rate for that month is shown in table B2 : L10.

    The problem is, I don't know how to create a formula in cells L20: DO113 that gives a revenue value based on the following criteria:
    - If customer in column D = "Customer A" then multiply expected sales units (column F) by the rate in place in the relevant month as per table B2 : L10. The relevant month being shown in cells L17 : BO17
    - If not, the existing formula is these cells applies

    No doubt any solution will use an IF statement (IF customer = "Customer A" ...) which incorporates an index match function allowing for the comparison (greater than, equal to or less than) of current month as per table L17 : BO113, to the month in the table B2 : L10, thereby generating a singular rate to be applied to sales unit activity.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 07-14-2017, 12:04 PM
  2. [SOLVED] Index Match-return an amount if a date falls between two dates
    By HRpersonnel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-09-2016, 12:06 AM
  3. [SOLVED] index match a value if date falls between two dates
    By Blake 7 in forum Excel General
    Replies: 4
    Last Post: 08-08-2014, 11:51 AM
  4. [SOLVED] INDEX date that MATCH on date range, MATCH code(string)
    By Dahlia in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-23-2014, 03:33 AM
  5. [SOLVED] If statement to check if date falls between date range
    By mcranda in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-21-2013, 07:31 PM
  6. Replies: 15
    Last Post: 04-08-2013, 12:40 PM
  7. Mark cell if location matches and date falls between date range
    By DoodlesMama in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-24-2012, 07:54 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