+ Reply to Thread
Results 1 to 7 of 7

Automaticly connect content from other sheets

  1. #1
    Registered User
    Join Date
    12-10-2014
    Location
    Czech Republic
    MS-Off Ver
    365
    Posts
    23

    Automaticly connect content from other sheets

    Hi, I'm trying to solve one thing and I hit the 8192 character formula limit when I tried to bring up a formula. Basicly what I'm trying to do is:

    1) I open the file and fill in cell C1 on sheet1 with a certain content
    2) on sheet2-sheet7 I have content in all the cells a1-a50 and b1-b50
    3) if the content from C1 on sheet1 is the same as any cell a1-a50 on sheet2-sheet7, then D1 on sheet1 should automaticly get the content of the b column. That means, if C1 on sheet1 is the same as for example A13 from sheet4, then D1 on sheet1 will automaticly be the same as B13 from sheet4

    Probably I'm not really understandable, so I attach an example. I filled in C1 on sheet1. On sheet4 there are already filled the cells a13 and b13. A13 is the same as C1, so D1 will get the same content as B13.

    Can somebody please help me what formula to write in D1 on sheet1, so I get the information in this case from b13 from sheet4? Thanks a lot in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Automaticly connect content from other sheets

    You have to explain why you have 7 lists (what is the maining of that).

    I suggest you put all list in 1 sheet.

    After that you can use vlookup to find the content.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    12-10-2014
    Location
    Czech Republic
    MS-Off Ver
    365
    Posts
    23

    Re: Automaticly connect content from other sheets

    Hi Oeldere, well I made up seven lists, because this file is for a restaurant and on each list there is a different kind of food. So let's say list 1 are chicken foods, list 2 are fish, and so on. So I put each list of the same kind of food on a different sheet, so any time you can add other foods of the same kind to the list.

    Then on the first sheet I have a validation list, where you can choose from all the lists:

    1) the kind of food
    2) which particular food

    This all works well, but when you choose let's say "cow" and then in sheet 1 C1 "Wienerschnitzel", then I need to get automaticly also in D1 the price, which is next to the Wienerschnitzel somewhere on the list. Which is exactly what I mean now:

    I choose let's say A13 on sheet 4, which is the Wienerschnitzel, but then I need to get the price, which is in B13 on sheet 4 to be automaticly filled in D1 on sheet 1, right next to C1 on sheet 1. Do you understand me? Is this possible? Thank you!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Automaticly connect content from other sheets

    This will do what you want, but I have a feeling that you may run into problems with any duplicates in your lists...
    =IFERROR(IFERROR(IFERROR(IFERROR(IFERROR(IFERROR(VLOOKUP(C1,List2!$A$1:$B$50,2,0),VLOOKUP(C1,List3!$A$1:$B$50,2,0)),VLOOKUP(C1,List3!$A$1:$B$50,2,0)),VLOOKUP(C1,List4!$A$1:$B$50,2,0)),VLOOKUP(C1,List2!$A$5:$B$50,2,0)),VLOOKUP(C1,List6!$A$1:$B$50,2,0)),VLOOKUP(C1,List7!$A$1:$B$50,2,0))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    12-10-2014
    Location
    Czech Republic
    MS-Off Ver
    365
    Posts
    23

    Re: Automaticly connect content from other sheets

    Hi FDibbins! Thanks a lot for your response. There won't be any duplicates in the list, so that's no problem, but I can't get it working. When I put the formula you wrote in D1, it says that this formula contains a mistake (or something in that way, I have a Czech language version), and I have no idea what the mistake can be. Could you have a look, whether the formula is correct to fill in D1?

  6. #6
    Registered User
    Join Date
    12-10-2014
    Location
    Czech Republic
    MS-Off Ver
    365
    Posts
    23

    Re: Automaticly connect content from other sheets

    I figured it out, thanks Fdibbins for the suggestion of using iferror and vlookup!
    Last edited by bee88; 01-26-2015 at 03:34 PM.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Automaticly connect content from other sheets

    Glad you got it working and thanks for the feedback

+ 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. Automaticly insert rows in more sheets
    By Laki024 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-02-2014, 07:11 AM
  2. [SOLVED] Automaticly Moving Data Between Sheets
    By sczerniak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-19-2013, 04:17 PM
  3. Different sheets and automaticly adding their location
    By Krymly in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-16-2011, 09:49 AM
  4. Replies: 5
    Last Post: 01-05-2006, 01:55 AM
  5. Connect two Cells without loosing content
    By Vic1978 in forum Excel General
    Replies: 5
    Last Post: 12-12-2005, 06:30 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