+ Reply to Thread
Results 1 to 8 of 8

linking cells from different page to automatically populate from a drop down box

  1. #1
    Registered User
    Join Date
    07-11-2017
    Location
    belfast
    MS-Off Ver
    2016
    Posts
    12

    linking cells from different page to automatically populate from a drop down box

    hi guys I need your help please?
    I have a spread sheet id like to set up to automatically populate a customer mark up percentage.
    my data is on two pages. one page has the supplier details with mark up, haulage percentage fees. on the other I have a drop down menu in supplier column and next to it is the mark up % and haulage %
    I would like to be able to select the supplier from drop down box on one page and it automatically populate the two % columns from the information on the other page. is there a way I could do this. I'm wrecking my brain trying to figure it outexcel1.png
    excel issue 2.png

    my data is in those images thanks in advance

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: linking cells from different page to automatically populate from a drop down box

    Do you know how to make the dropdown menu (using data validation)? From there, you'd use a VLOOKUP. For example, if your dropdown menu is in A2 to pick a supplier.

    In B2 (Markup) = VLOOKUP(A2, sheet1!$A$10:$G$30,3, FALSE)

    Does that help? For more specific info, attach a spreadsheet (Go Advanced>Manage attachments)
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    07-11-2017
    Location
    belfast
    MS-Off Ver
    2016
    Posts
    12

    Re: linking cells from different page to automatically populate from a drop down box

    I am having trouble figuring out the right formula can you please help
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,207

    Re: linking cells from different page to automatically populate from a drop down box

    Try

    J5

    =IFERROR(VLOOKUP([@SUPPLIER],'SUPPLIERS '!$B$5:$D$100,2,0)*0.01,0)

    in K5

    =IFERROR(VLOOKUP([@SUPPLIER],'SUPPLIERS '!$B$5:$D$100,3,0)*0.01,0)


    It would be better if markup values were formatted as %

    then formula would be

    =IFERROR(VLOOKUP([@SUPPLIER],'SUPPLIERS '!$B$5:$D$100,2,0),0)

    In above default is 0 if no supplier match
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-11-2017
    Location
    belfast
    MS-Off Ver
    2016
    Posts
    12

    Re: linking cells from different page to automatically populate from a drop down box

    that is perfect thank you so much I am not great at advanced formulas. I know this may sound silly but in my customer cost how can I get it to automatically calculate the percentage without having to change it each time
    so I need columns j k and m to give me customer cost. but I have to keep changing the percentage manually in my formula.

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,207

    Re: linking cells from different page to automatically populate from a drop down box

    in M7

    =I7*(1+[@[MARK UP %]])*(1+[@[DELIVERY %]])

  7. #7
    Registered User
    Join Date
    07-11-2017
    Location
    belfast
    MS-Off Ver
    2016
    Posts
    12

    Re: linking cells from different page to automatically populate from a drop down box

    oh my god why didn't I try that I think I tried everything. you my friend are a star that is exactly it just what I need. thank you so much

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,207

    Re: linking cells from different page to automatically populate from a drop down box

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Enter data on 1 page and automatically populate other worksheets?
    By buddyhackit9 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-27-2016, 10:06 PM
  2. populate data from other tabs automatically with a drop down list
    By goingcrosseyed in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-22-2016, 03:44 AM
  3. Office 2010 Drop down linking to another page
    By parkes82 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-14-2015, 06:54 AM
  4. Automatically populate cells from a drop down list
    By Srobin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-21-2015, 10:22 AM
  5. Replies: 2
    Last Post: 03-04-2014, 06:24 AM
  6. Yes/no drop down list needs to populate a contents page with matching page numbers
    By limebaish in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-19-2013, 02:46 PM
  7. Replies: 1
    Last Post: 07-16-2012, 10:42 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