+ Reply to Thread
Results 1 to 3 of 3

Need help today please! Sumif, index, index match

  1. #1
    Registered User
    Join Date
    08-26-2017
    Location
    New York
    MS-Off Ver
    Excel 2016
    Posts
    8

    Need help today please! Sumif, index, index match

    Images are below. Three tabs: 1) Report, 2) Store Vol, 3) Community Days.

    J53 on Report is where the return value will be. Currently, in that cell is a combination of a VLookup and an HLookup. The Vlookup is pointing to A53 where a 1 is located to indicate Store #1 . It then finds Store #1 in the Store Vol sheet and returns the 42nd column which is the volume for that store for the year to date. Once it has the store's volume for the year to date, the formula divides it by the amount of business days in the year to date to get the average volume per day in the fiscal year to date. The problem is that some stores open in January, others open in February, or March and so on. Instead of it dividing by the number of days in the fiscal year that the store was open, it divides it by the total business days in the fiscal year to date. Does that make sense? So for example, in the current formula, if a store was open prior to fiscal year to date, it would have volume from the beginning of the fiscal year (September) all the way through to July (since August is not over yet it hasn't been reported). In this scenario, the formula would provide the correct average because it looks at the total business days fiscal year to date. But if the store had opened in December, it wouldn't have volume from September-November, but the formula would still count those business days and it would bring down the average volume per day. I need a formula that looks at the store volume tab, sees that a store had volume beginning in December, for example, and then goes to the Community Days and only counts the corresponding business days from December - fiscal year to date.

    FYI, in the HLookup there is a reference to $A$9, that is a drop down box at the top of the sheet that has Jul-17, Jun-17, May-17, so on and so forth. The HLookup is looking at the drop box, seeing the Jul-17, and then finding that reference in the Community Days sheet and then going down one to provide the total business days fiscal year to date.

    I would like the formula to somehow reference this cell so that when the drop down changes to another month it updates to divide by the months in that scenario that the business would have been open in that fiscal year to date.
    Attached Images Attached Images

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Need help today please! Sumif, index, index match

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

  3. #3
    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
    43,986

    Re: Need help today please! Sumif, index, index match

    ALSO. No-one is going to want to retype all thatt stuff before starting. so, when you add the link, add a sample sheet too (10-20 rows of data is usually enough).


    1. 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.

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

    3. Make sure that all confidential information is removed first!!

    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.
    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

+ 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] INDEX MATCH where value is greater than or equal to today's date
    By Ophi352 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-23-2017, 04:14 AM
  2. [SOLVED] Index Match using today's date
    By Margate in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-20-2016, 03:19 PM
  3. [SOLVED] SUMIF with Match Index
    By lorber123 in forum Excel General
    Replies: 3
    Last Post: 04-28-2016, 11:00 AM
  4. [SOLVED] SUMIF with INDEX and MATCH
    By andikeep2580 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-03-2015, 11:29 PM
  5. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  6. [SOLVED] Using Index, Match to return the next event based on Today()
    By JO505 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-14-2013, 07:51 PM
  7. Replies: 3
    Last Post: 05-08-2013, 02:10 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