+ Reply to Thread
Results 1 to 5 of 5

Identifying relevant data based on multiple values

  1. #1
    Registered User
    Join Date
    07-19-2019
    Location
    Mumbai
    MS-Off Ver
    2016
    Posts
    1

    Identifying relevant data based on multiple values

    I’m trying to figure out the following for my research. If anyone can please help.

    A B C D E F
    Comp FY Prod Rev Total_rev Target
    ABC 2009 soap 100 1000 1000
    ABC 2009 shampoo 800 1000 1000
    ABC 2010 toothpaste 500 200 alpha*total_rev of FY 2009 of ABC
    ABC 2010 soap 1100 2000 alpha*total_rev of FY 2009 of ABC
    ABC 2011 buiscuits 1200 3000 alpha*total_rev of FY 2010 of ABC
    XYZ 2009 Desktop 150 5000 5000
    XYZ 2010 Laptop 100 7000 alpha*total_rev of FY 2009 of XYZ
    XYZ 2010 Desktop 50 6000 alpha*total_rev of FY 2009 of XYZ
    XYZ 2011 Mobile 200 7000 alpha*total_rev of FY 2010 of XYZ

    The table is read as:
    Col A: Company name
    Col B: Financial Year
    Col C: Products sold
    Col D: Revenue for that product
    Col E: Total revenue of the company in that financial year
    Col F: Target


    Target is being calculated as following:

    If FY <= 2009 (base year) or lower, target = total revenue of FY 2009.
    If FY > 2009, target = alpha * total rev of (FY -1) for that company. Hence, target for 2011 = alpha * total rev of 2010 for that company.

    Any help would be highly appreciated.

    Thanks.
    Last edited by kun77; 07-19-2019 at 06:03 AM. Reason: table not proper

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Identifying relevant data based on multiple values

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,231

    Re: Identifying relevant data based on multiple values

    Glenn - did you forget the formula?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Identifying relevant data based on multiple values

    Bad hair day!! I meant to use this canned reply:

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).

    1. It does NOT have to be your real sheet - mock up a SAMPLE if you need to. But not 1000's of rows!!! It makes manual checking so tedious. Whatever you do... make sure that all confidential information is removed first!!

    2. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    3. Make sure that your desired solution is also shown (mock up the results manually).

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Clearly the OP is having a bad hair day, too... as the description of his request has now disappearred...

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,231

    Re: Identifying relevant data based on multiple values

    Been there, done that very recently.

+ 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. Replies: 3
    Last Post: 09-27-2018, 11:12 AM
  2. [SOLVED] Filter based on cell value and copy only relevant data
    By jamesround86 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-13-2017, 11:38 AM
  3. Identifying days based on date values in VBA
    By silverblade in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-20-2017, 05:37 AM
  4. [SOLVED] Assistance Needed Identifying Min Values Based On Multiple Criteria
    By elderdane in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-25-2014, 05:00 PM
  5. Replies: 2
    Last Post: 06-02-2010, 01:20 PM
  6. Identifying multiple values within a range
    By proGrav in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-04-2009, 07:40 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