+ Reply to Thread
Results 1 to 6 of 6

Creating lists

  1. #1
    Registered User
    Join Date
    09-24-2008
    Location
    London UK
    Posts
    18

    Creating lists

    I'm hoping someone here can help me solve what seemed to be a simple problem - but isn't, at least for me!

    I'm on the committee of a birdwatching group; I organise monthly coach trips to nature reserves and receive booking forms and money for coach tickets. As well as this, on the same booking form members can pay their annual membership, buy season tickets for monthly indoor meetings and make donations to group funds.

    I've written a workbook which handles all of the above, almost to my complete satisfaction. The fly in the ointment is on my Daybook tab which records all payments received and breaks the payment down into the various categories; I've attached an anonymised version. What I would like to do is to extract the data from the Membership, Indoor Meetings and Donation columns each to a separate worksheet so that it displays as a continuous list, that is without the blank spaces. I've tried using an IF function (if cell in MEMBERSHIP column is blank, then blank; if amount shown, then corresponding name) and then removing blanks, but because the cells contains the IF function they don't register as blank so don't get removed. I looked to see if there was a function called LIST or something similar but no luck!
    Attached Files Attached Files

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Creating lists

    Hi,

    Data from which columns of the Daybook would be copied to each of the new Membership, Indoor Meetings and Donation tabs? Perhaps you could re-post the attached with these new tabs in place in the desired format ready to receive the required data?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    09-24-2008
    Location
    London UK
    Posts
    18

    Re: Creating lists

    Sorry - I obviously didn't make it as clear as I thought! Each of the new tabs will have only one column listing names; so, as I post a new payment in the Daybook which incorporates a payment in the Membership column, the name from column B of the Daybook will appear on the Membership tab but forming a list without the blank spaces between membership payments on the Daybook.

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Creating lists

    Hi again,

    This array formula (please ensure you know how to enter this type of formula in Excel - they are not the same as 'normal' formulae), copied down until you start to see blanks, will give you your desired results for the Membership list:

    =IFERROR(INDEX(Daybook!$B$5:$B$99,SMALL(IF(Daybook!$F$5:$F$99<>"",ROW(Daybook!$F$5:$F$99)-MIN(ROW(Daybook!$F$5:$F$99))+1),ROWS($1:1))),"")

    Changing all occurrences of Daybook!$F$5:$F$99 to Daybook!$G$5:$G$99 and Daybook!$H$5:$H$99 in this formula will likewise give you the respective formulae for the Indoor Meetings and Donation tabs.

    You did not mention whether lines with "BANK" as the name are equally to be returned, so I have made no provision against this.

    Also, this is just a suggestion, but it may be worth moving your total row (currently in row 100) to the top of the sheet - that way, there will be no need to manually insert new rows and, also, the ranges in the above formula can be extended to beyond 99 with no negative effect on results.

    Regards

  5. #5
    Registered User
    Join Date
    09-24-2008
    Location
    London UK
    Posts
    18

    Re: Creating lists

    Wow! I've never even heard of an array formula before. The more I find out about Excel, the more I realise how much I still have to learn.

    Many thanks for your help; it's greatly appreciated.

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Creating lists

    You're welcome - and best of luck with the project!

+ 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. Need help in creating lists
    By DPJW in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-09-2013, 04:44 PM
  2. Replies: 3
    Last Post: 09-02-2010, 03:04 AM
  3. [SOLVED] Creating Lists Based on Other Lists
    By amyxkatexx in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2010, 01:50 PM
  4. drop down lists referencing tables creating other drop down lists!!
    By Stumped- in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 08-07-2009, 11:29 AM
  5. Creating Lists
    By Nutsy in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 05-22-2008, 04:58 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