+ Reply to Thread
Results 1 to 9 of 9

vlookup help please

  1. #1
    Registered User
    Join Date
    09-08-2015
    Location
    St Austell, Cornwall
    MS-Off Ver
    university 365
    Posts
    17

    Exclamation vlookup help please

    hello

    I am trying to make a v look up or index or something whatever works..
    one sheet i have a list of stuff with dates, code and description etc
    on another sheet i have balances
    What i want to do is to enter into a particular cell.. i want it to look up a month ie april.. and then look up another column with a list view with for example 001 in it and return the total of rows on the sheet that is within the date range and has the 001 in it from another monetary column
    does this make sense?
    Last edited by stevetton; 09-08-2015 at 03:16 PM.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,511

    Re: vlookup help please

    Post some sample data (in a workbook) and an expected result or two and it will make a whole heap more sense!

    Sounds like COUNTIFS is your friend here though.

    BSB

  3. #3
    Registered User
    Join Date
    09-08-2015
    Location
    St Austell, Cornwall
    MS-Off Ver
    university 365
    Posts
    17

    Re: vlookup help please

    accounting trial one.xlsx

    herewith thanks

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: vlookup help please

    Something like this in C2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    That date && thing may not work properly as it depends on regional settings. I don't know how to test it on someone elses region.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  5. #5
    Registered User
    Join Date
    09-08-2015
    Location
    St Austell, Cornwall
    MS-Off Ver
    university 365
    Posts
    17

    Re: vlookup help please

    it worked for the data that was already entered in the spreadsheet but when I added further funds and amounts and dates.. it did not work for some reason? do i need to adjust any of the variables sorry for sounding so thick!

  6. #6
    Registered User
    Join Date
    09-08-2015
    Location
    St Austell, Cornwall
    MS-Off Ver
    university 365
    Posts
    17

    Re: vlookup help please

    accounting trial one.xlsxnew excel herewith
    Last edited by stevetton; 09-08-2015 at 11:16 PM.

  7. #7
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: vlookup help please

    Hi,

    You need to adjust the data range in the formula to cover the source data. May be you can keep some buffer if you do not wish to change it frequently (like the example given below):

    =SUMPRODUCT((MONTH(Expenditure!$A$2:$A$1000)=MONTH(DATEVALUE(1&C$1&2015)))*(Expenditure!$B$2:$B$1000=$A2)*(Expenditure!$F$2:$F$1000))
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,523

    Re: vlookup help please

    Extended range (in red) to whatever maximum you need ...(number of rows of data)

    =SUMPRODUCT((MONTH(Expenditure!$A$2:$A$100)=MONTH(DATEVALUE(1&C$1&2015)))*(Expenditure!$B$2:$B$100=$A2)*(Expenditure!$F$2:$F$100))

    from the original supplied

    =SUMPRODUCT((MONTH(Expenditure!$A$2:$A$4)=MONTH(DATEVALUE(1&C$1&2015)))*(Expenditure!$B$2:$B$4=$A2)*(Expenditure!$F$2:$F$4))
    Last edited by JohnTopley; 09-09-2015 at 01:57 AM.

  9. #9
    Registered User
    Join Date
    09-08-2015
    Location
    St Austell, Cornwall
    MS-Off Ver
    university 365
    Posts
    17

    Re: vlookup help please

    Thank you SO much.. that was really appreciated everyone..

+ 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 vLookup based on results from a vLookup & returning an undetermined list
    By NormalityBan in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 08-14-2014, 05:02 AM
  2. Replies: 0
    Last Post: 12-26-2013, 01:12 PM
  3. Display Cell within VLookup range that excel thinks matches the VLookup Value
    By headachexcelperson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-04-2013, 04:56 PM
  4. how to bring all vlookup returns even with duplicate vlookup search keys
    By NYC4LIFE in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-06-2013, 04:53 PM
  5. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  6. Replies: 5
    Last Post: 07-29-2009, 07:53 AM
  7. vlookup function-Can vlookup command find the data from the 5 sheets.
    By Rishab shah in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 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