+ Reply to Thread
Results 1 to 6 of 6

Multiple return formula

  1. #1
    Registered User
    Join Date
    10-11-2008
    Location
    Mississippi
    Posts
    8

    Multiple return formula

    I can not seem to figure out a formula to return multiple results from multiple worksheets, within one workbook. Example, if each worksheet represents one inservice class and each class has an individuals name, id and date on it. Each individual may be listed more than once on each worksheet, and may be on each worksheet. Is there a formula I can input on my 'invoice type' form to return every time their name is found. I can only get it to return the first time it finds their name and it will repeat this info on every line of my invoice. This is an example of one of the formulas I am using to find their information, currently I have to have it separated by worksheet, which I have to delete the line info if they did not attend inservice for that specific worksheet. =IF($C9,(VLOOKUP($C9,'BR-Sat'!$B$12:M$45,7,FALSE)),"")

  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: Multiple return formula

    There are some heavylifting formulas that "might" be able to do what you want, but your description is such that I think an on-demand macro might be the best solution for you.

    For that to happen, you'll need to post up your workbook, or smaller version of it with enough information in it to fully present your need, including the INVOICE.

    The VBA gurus will most likely be able to assist.
    _________________
    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
    Registered User
    Join Date
    10-11-2008
    Location
    Mississippi
    Posts
    8

    Re: Multiple return formula

    Here is an example of a similar sheet uses the same format just for different things. The other is on my computer at work. Here I insert the number of the child on the invoice and it pulls all of their winnings for the rodeo that weekend. I currently have a line specifically dedicated for each worksheet b/c I can't figure out how to get it to find that child more than once through each worksheet.
    Attached Files Attached Files

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

    Re: Multiple return formula

    You don't show what you're looking to happen on the invoice instead of what's there. Can you lay that out with a sample child or two?

  5. #5
    Registered User
    Join Date
    10-11-2008
    Location
    Mississippi
    Posts
    8

    Re: Multiple return formula

    On the invoice if next to contestant # type 7074. This will pull up a child and all of the classes (LW Barrels-Saturday...), one for each worksheet. She competed in each class, but those with an NT she did not place in. Which is fine b/c she actually competed in each event and would like to see that information. Now if under contestant # type 7128. This child only competed in 3 events, not all of them. However, the only way I can get it to work is to have it pull each class whether they are in it or not. I would like it to pull only the information that pertains to their names. But it will have to go through every sheet and return their name multiple times since they may be in multiple classes. I hope this makes sense.

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

    Re: Multiple return formula

    My question is still unanswered.

    You don't show what you're looking accomplish on the invoice instead of what's there. Don't explain it again, lay that out with a sample child (or two) exactly what you want the FINISHED invoice to look like.

    Make an extra sheet and mock it up, please.

+ 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