+ Reply to Thread
Results 1 to 3 of 3

SUMIF and HLOOKUP?

  1. #1
    Registered User
    Join Date
    10-06-2015
    Location
    Sheffield
    MS-Off Ver
    2013
    Posts
    2

    SUMIF and HLOOKUP?

    Hi,

    I've been racking my brains for a while now, trying to find an elegant solution to this. I've connected my spreadsheet to the database to pull through orders for some booklets. These then go into a summary table that has months as columns and booklet titles as rows. I've written a bunch of nested IFs and VLOOKUPs to get me either a sum of orders for months that have happened, or calculate a prediction for future months. So the table holds figures for Jan through to Dec.

    In another column I want to calculate a variance against 2014 for year to date. I have a field that tells me what month it is today. What I want to do is write a formula that looks at that cell, then goes and finds the figures for up Oct in the table and calculates these. Of course I could just recalculate it every month, but I want it to update itself. I've tried to nest a HLOOKUP and INDEX-MATCH in a SUMIF, but I just can't get to the bottom of it. Anybody have an idea? THANKS.

  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,792

    Re: SUMIF and HLOOKUP?

    You really need to attach the workbook here for someone to look at.
    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
    10-06-2015
    Location
    Sheffield
    MS-Off Ver
    2013
    Posts
    2

    Re: SUMIF and HLOOKUP?

    Here goes. Not sure it will work though with the data connections.
    Attached Files Attached Files

+ 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. Using SUMIF (or SUMIFS) with HLOOKUP
    By rmj6h in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-26-2019, 11:27 PM
  2. Combining HLOOKUP and SUMIF into one formula
    By iantix in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-26-2015, 10:44 AM
  3. [SOLVED] Sumif with Hlookup
    By peacock58 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-10-2014, 04:32 AM
  4. sumif hlookup
    By starkc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-02-2012, 08:56 PM
  5. sumif or hlookup
    By 1rcchopper in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-25-2011, 03:22 PM
  6. Embedding a SUMIF in an HLookup?
    By anayeri in forum Excel General
    Replies: 10
    Last Post: 11-12-2009, 08:23 AM
  7. SUMIF - HLOOKUP Combination
    By Mark in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-04-2005, 04:06 PM

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