+ Reply to Thread
Results 1 to 8 of 8

Sum total of all cells between 2 HLOOKUP points

  1. #1
    Registered User
    Join Date
    03-04-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    48

    Sum total of all cells between 2 HLOOKUP points

    I'm using a bit of clunky large spreadsheet that contains various metrics broken down daily for each day of the year.

    I've created a worksheet that pulls that information into one place use the HLOOKUP function by allowing the user to enter the date they want and returning the corresponding metrics for the day.

    Please Login or Register  to view this content.
    What I'm stuck on, is getting SUM of that same information, using two date points entered by the user. In this example if date 1 is in $B$1 and date two is entered into $C$1 - how would I add the value of those two dates and every date in between?
    Attached Files Attached Files
    Last edited by jstn; 02-25-2022 at 05:53 PM.

  2. #2
    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. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,786

    Re: Sum total of all cells between 2 HLOOKUP points

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.
    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.

  3. #3
    Registered User
    Join Date
    03-04-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    48

    Re: Sum total of all cells between 2 HLOOKUP points

    Thank you for your response. I've attached a small example of what I'm looking at - hope it's clear enough.

  4. #4
    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. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,786

    Re: Sum total of all cells between 2 HLOOKUP points

    Try this:

    =SUMIFS('Data Example'!A14:L14,'Data Example'!A5:L5,">="&'Formula example'!B1,'Data Example'!A5:L5,"<="&'Formula example'!D1)

  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. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,786

    Re: Sum total of all cells between 2 HLOOKUP points

    Any good for you?

  6. #6
    Registered User
    Join Date
    03-04-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    48

    Re: Sum total of all cells between 2 HLOOKUP points

    Thank you! That does do the trick.
    I'm going to go back and see how I can implement this into the existing workbook. There's already dozens of HLOOKUPS returning dozens of values. The example shows 1 return out of many many more.
    Looks like it'll be a bit of leg work to change out all the formulas one by one.
    Appreciate your time! Got my work cut out for me, better get to it!

  7. #7
    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. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,786

    Re: Sum total of all cells between 2 HLOOKUP points

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  8. #8
    Registered User
    Join Date
    03-04-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    48

    Re: Sum total of all cells between 2 HLOOKUP points

    Thank you for that reminder, I've already done both

+ 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. VLOOKUP HLOOKUP MATCH confusion with 2 data points
    By formexcel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-04-2020, 07:49 AM
  2. I need help with pick them monday total points
    By TS49 in forum Excel General
    Replies: 7
    Last Post: 11-22-2019, 08:25 AM
  3. [SOLVED] Accumlated points total (looking at text)
    By pmw19800 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-15-2018, 12:37 PM
  4. Cannot work out points total of Store
    By chrisellis250 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-04-2016, 09:41 AM
  5. I need help to calculate weighted total points?
    By mixhi4ever in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-24-2014, 01:56 AM
  6. Total Points
    By saspinall in forum Excel General
    Replies: 4
    Last Post: 11-13-2010, 12:20 PM
  7. Total points
    By 9khonnei in forum Excel General
    Replies: 7
    Last Post: 09-26-2009, 09:14 AM

Tags for this Thread

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