+ Reply to Thread
Results 1 to 4 of 4

help needed debugging selection in "Cash register"

  1. #1
    Registered User
    Join Date
    06-06-2009
    Location
    Helmond
    MS-Off Ver
    Excel 2007
    Posts
    18

    Question help needed debugging selection in "Cash register"

    I'll try to keep it short: I've been busy working on a cash register. I'm a newby so it's probably full of things that I could have done different/better. I'm working on a sheet where I can specify sales by selection of month (Sheetname= ZoekenMaand).

    Everything works fine for the months "januari" and "februari" (yes, it's in dutch ) but from "maart" it doesn't seem to work any more. I'm totally out of ideas why it doesn't work...

    If anyone would be so kind to take a look at it and find what's wrong with my coding I would be very gratefull
    Attached Files Attached Files
    Last edited by speedone; 06-08-2009 at 05:56 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: help needed debugging selection in "Cash register"

    Just hiding rows won't make an INDEX/MATCH function ignore the hidden values. If you want ONLY the visible "January" to be considered by the INDEX/MATCH function, you will need to change the name(s) slightly on those visible rows.

    For instance, the rows you have visible you could change to January1, Februari1,Maart1, etc.

    Then in your "MATCH() formula, you use MATCH($C$2&"1",...etc...
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: help needed debugging selection in "Cash register"

    The most effective way to record sales is in one tabl with a date column. Then create a PivotTable based on the data - the dates can be grouped by months and quarters.

    http://www.excel-it.com/pivot_tables.htm
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    06-06-2009
    Location
    Helmond
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: help needed debugging selection in "Cash register"

    Thanks you both for your quick reply's! I tried the first solution and it works like a charm. Just renamed the months to "januari_09" and so on and everything works perfect now!

    Thanks again

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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