Closed Thread
Results 1 to 2 of 2

Maybe it can be done with various array formulas? Help! Thanks!

  1. #1
    Registered User
    Join Date
    10-27-2009
    Location
    Arlington, Virginia
    MS-Off Ver
    Excel 2005
    Posts
    7

    Maybe it can be done with various array formulas? Help! Thanks!

    I'm putting together a workbook that helps create a grocery list. There are 3 worksheets. The first worksheet (call it "meals") has a drop down box in cell A1 which lists all of the possible meals available by name. In cell B1 of "meals", you can choose if you would like the meal to be 300, 400 or 500 calories. The second worksheet (call it "ingredients") has all of the meals listed in column A, with the corresponding calories of 300, 400, 500 listed in Column B. Column C has the ingredients. What I'm trying to do is create a formula in the third worksheet (call it "grocery list") that finds what meal you have selected (cell A1 in worksheet "meals") and how many calories you would like that to be (cell B1 in worksheet 'meals") and it searches worksheet "ingredients" for an exact match. So it searches column A of worksheet "ingredients" to find the matching meal that was picked in cell A1 in worksheet "meals". Next, it takes how many calories you chose in cell B2 of worksheet "meals" and it finds that match in column B of worksheet "ingredients". Once it has matched the meal and calories, it copies the ingredients that are listed in column C to worksheet "grocery list".

    Is this possible without Visual Basic? or some other programming stuff?

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Maybe it can be done with various array formulas? Help! Thanks!

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.


    and like your original thread...

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

Closed 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