+ Reply to Thread
Results 1 to 5 of 5

Showing next sibling on invoice

  1. #1
    Registered User
    Join Date
    05-14-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Showing next sibling on invoice

    Hi guys,

    Could you please assist me with this querry. I have tried various options but I cant seem to nut out one that works consistantly.

    File attached will explain where I require assistance:
    1. Cell I10 is where I input the student number - the result is indexed from another sheet called 'database' and this result is shown in cell B19 and cell c19 indexes against this number cell B19 to bring up the students pricing structure from the database.
    2. Cell D13 indicates whether this student has a sibling, this is where I am stuck!
    I have used =INDEX(O$8:O$175,SMALL(IF(N$8:N$175=I$10,ROW(N$8:N$175 )-ROW($N$8)+1),ROW(A2))) (in array) but I need to add an 'if' statement in there somewhere to indicate if cell I11 is not a sibling then C20 is blank but if it is a sibling then to index to find the next sibling within the range O:O and show in cell C20.

    I hope I havent been too confusing, I tried to give as much info as possible.

    Would really appreciate your help, even if I have to change my format, I am in your hands!!!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Showing next sibling on invoice

    Hi

    See the file!

    Change Student ID number Orange highlight!!

    Yellow highlight change automatic

    Column S is helper pick up family surname and if any sibling!!

    Regard
    micope21
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

  3. #3
    Registered User
    Join Date
    05-14-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Showing next sibling on invoice

    Hi micope21,

    Thanks for your assistance. Really appreciate your response and guidance.

    Just one question though.

    What if there are families with same surnames. Any suggestions. We have a partuicluar surname which is quite common.

    Will I need a unique identifier for this?

    Sorry, if I have sent this twice!!!

    Appreciate your time.
    Last edited by ympiano; 05-20-2014 at 05:45 PM. Reason: Wrong name

  4. #4
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Showing next sibling on invoice

    Hi

    I have made improvement.

    If 2 or more same family surname?,Instead put in Y in Siblings. Put in A.
    If other family got other same surname 2 or more put in B, so on follow C to Z next AA to ZZ. If single surname (No family surname) and there other single same surname leave 1 blank put other number in 1.

    Look up point to cell is S7

    Cell B19
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This is array formula Ctrl+Shift+Enter. Then copy down

    See the file!!

    Regard
    micope21

  5. #5
    Registered User
    Join Date
    05-14-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Showing next sibling on invoice

    Dear micope21,

    I am not sure how to thank you for your patience and advice. It has worked PERFECTLY!!!!

    I have been nutting over this for at least 5 months (on my free time) and came to so many dead-ends. I really am thankful.

    Problem solved...

+ 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. Print Invoice by pulling info from database by selecting Invoice Number
    By Swapnil Panchal in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-12-2014, 11:21 AM
  2. Saving Invoice where next time I open file the Invoice Number increases by 1
    By domgee in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-22-2013, 03:03 PM
  3. Replies: 4
    Last Post: 11-04-2012, 12:43 PM
  4. Replies: 5
    Last Post: 01-02-2011, 11:06 PM
  5. Invoice templet Excel97 to 2003 invoice toolbar missing
    By MarolynInMarion in forum Excel General
    Replies: 0
    Last Post: 08-19-2005, 03: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