+ Reply to Thread
Results 1 to 17 of 17

Problem matching volume data with dates; Index/match functions tried but not working

  1. #1
    Registered User
    Join Date
    02-06-2018
    Location
    Helsinki
    MS-Off Ver
    2010
    Posts
    11

    Problem matching volume data with dates; Index/match functions tried but not working

    Hi,

    I have attached an example excel. I would need to match project volume data and hand over time in order to produce dynamic output for project volumes in expected "hand over" dates ("Projects delivered, output" as the dynamic output in the example excel). This dynamic output could then be used to match e.g. sales, costs and so on.

    I have tried several index/match etc. functions, but cannot get it right.. Do you have any tips for this?

    Thx a lot!
    Attached Files Attached Files
    Last edited by Wintefell89; 02-06-2018 at 07:54 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,849

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    Welcome to the forum!

    Please manually add the expected outcomes to the yellow area, then attach the workbook again.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    02-06-2018
    Location
    Helsinki
    MS-Off Ver
    2010
    Posts
    11

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    I have now attached fixed version of the calculus as you instructed. Many thanks

  4. #4
    Registered User
    Join Date
    02-06-2018
    Location
    Helsinki
    MS-Off Ver
    2010
    Posts
    11

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    I only found a "manual function" solution.. If someone has any tips it would be highly appreciated.

  5. #5
    Registered User
    Join Date
    02-06-2018
    Location
    Helsinki
    MS-Off Ver
    2010
    Posts
    11

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    The function that I currently use is a manual one for each month in the "output area" using if function: IF($C$37=D$6,$D$12,0)+IF($C$37=D$6,$D$13,0)+IF($C$37=D$6,$D$14,0) + ... IF($C$37=D$6,$D$21,0).

    However, I believe there could a function that can be done once and copied to all cells.. Now I have to do this row by row.

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

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    Where is the formula referred to in Post #5? What are your expected results?
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    The formula from post #5 does the same thing as this shorter version:

    =IF($C$37=D$6,SUM($D$12:$D$21),0)

  8. #8
    Registered User
    Join Date
    02-06-2018
    Location
    Helsinki
    MS-Off Ver
    2010
    Posts
    11

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    The expected end result is in the file on rows 37-39 (inserted manually as requested by AliGW). The function used is not in the file (as manual input was requested). However, I have now attached a new version of the file that includes the function and the wanted end result in row 37. Nevertheless, this way of writing functions requires a lot of manual work (each row has to be done separately) and is complicated.
    Attached Files Attached Files

  9. #9
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    Try this:

    D37 =SUMPRODUCT(($D$6:$R$6=$C37)*($D$24:$R$33=D$6)*($D$12:$R$21))

  10. #10
    Registered User
    Join Date
    02-06-2018
    Location
    Helsinki
    MS-Off Ver
    2010
    Posts
    11

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    Thanks a very good idea! I try to work on this. I still try to figure out if it is possible to make the function go automatically horizontally to the right on rows $D$24:$R$33 and $D$12:$D$21 when the function is pulled down. I guess however that is macro stuff which I cannot use for my end purposes.
    Last edited by Wintefell89; 02-06-2018 at 01:21 PM.

  11. #11
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    You drag the formula from post #9 to the right and down.

  12. #12
    Registered User
    Join Date
    02-06-2018
    Location
    Helsinki
    MS-Off Ver
    2010
    Posts
    11

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    Had a typo, it worked perfectly. One of the smartest sum product excel functions I have seen for a while, many thanks!

    Found an additional issue that I have tried to solve for couple of hours.. I have attached an example excel. In rows U46:AN80 I am trying to build a function as follows:

    1) When there is a number >0 in rows U5:AN39, there are separate projects ongoing

    2) If projects are ongoing, their cumulated total sales are in rows B5:39 and the amount of sales that each project generates during its life cycle is in rows D5:S40.

    As an example, I have calculated manually the end result wanted in rows U46:AN51. As you can see, the project ends in rows U5:AN39 when there is a number 3. The function that I have used is IF based (e.g. "IF(U5>0,D5*$B5,0)"), but this requires again manual work. I tried with offset function, but it still did not match the start date dynamically for each project.
    Attached Files Attached Files

  13. #13
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    I don't understand what is wrong with your formula.

    What is manual about it? Don't you just drag it from U46 across through AN46 and then down through AN80?

  14. #14
    Registered User
    Join Date
    02-06-2018
    Location
    Helsinki
    MS-Off Ver
    2010
    Posts
    11

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    Hi,

    if I drag it across, it does not match project life cycle in rows U5:AN39 with "sales roll-up" in rows D5:S40. For example, If I draw it across, AC72 gets value of 10, although it should be 0 (manually calculated it would D31 * B31 as D31 is the first month for calculating sales (0% / 100%) and B31 is projects cumulated sales.

  15. #15
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    I see. This really has nothing to do with the original question and should have been in its' own thread.

    I'm not sure that I know how to do this one. I brought this to the attention of others.

    Hopefully someone else can assist you with this.
    Last edited by 63falcondude; 02-07-2018 at 05:03 PM.

  16. #16
    Registered User
    Join Date
    02-06-2018
    Location
    Helsinki
    MS-Off Ver
    2010
    Posts
    11

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    Okay sorry for the inconvenience. My colleague figured out one solution for the problem, function goes as follows: IF(AND(U5<4,U5>0),OFFSET(U5,0,-(COLUMN(U5)-COLUMN($D5)-COUNT($T46:T46)))*$B5,"")

    The problem is that the function leaves some cells blank, although there should be zero in all cells if there isn't any sales. Also, it is rather complicated formula to understand / audit.

  17. #17
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: Problem matching volume data with dates; Index/match functions tried but not working

    Formula doesn't seem that complex.
    I don't really follow what you are trying to do here (not sure if anyone else will) but won't Column($D5) always be 4?
    If you want something done right... find a forum and ask an online expert.

    Time flies like an arrow. Fruit flies like a banana.

+ 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: 19
    Last Post: 01-02-2018, 10:25 PM
  2. [SOLVED] Index/Match Multiple Criteria: Item # & Volume Level Pricing Relative to Specific Volume
    By dilbert1865 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-15-2014, 09:28 AM
  3. [SOLVED] combination of if, index and match functions not working
    By mingali in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-01-2013, 05:49 PM
  4. Problem with INDEX/MATCH Functions... Not working as expected.
    By seimeion1208 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-30-2013, 10:26 AM
  5. [SOLVED] Offset, Index, Match formula with dates inconsistently working
    By David Brown in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-31-2013, 04:12 PM
  6. Problem using the Match, Index, Max functions
    By ExcelNo0b in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 12-17-2012, 03:45 PM
  7. Replies: 2
    Last Post: 03-31-2009, 11:04 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