+ Reply to Thread
Results 1 to 8 of 8

Linking tabs and formulas based on input into cells

  1. #1
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    140

    Linking tabs and formulas based on input into cells

    i need to link several tabs based on the input into one, which will give the output into the others

    Profit Sheet tab, i will input the relevant information into here. From here, every job will follow through into Nigel's tab, which i have done, apart from the fact that there are cells with 0 in, which i think the formulas need updating. as you will be able to see, he receives 25% of the profit

    within the profit tab i choose a certain "Fitter" from the dropdown menu, i then need the relevant details to follow through into that fitters tab and with them receiving 25% of the profit aswell

    hope this has explained it

    thanks
    Attached Files Attached Files

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

    Re: Linking tabs and formulas based on input into cells

    In the Profit sheet, column J (you can hide this column later)
    In J2 copied down
    =IF(ISNUMBER(H2),F2&COUNTIF($J$1:J1,F2)+1,"")
    This creates unique identifiers for each row.
    Note: I used the IF(ISNUMBER(...) on much of your formulas to remove those 0's. See attachment)

    In each fitter's sheet, I put their name in H1 for convenience.
    Then used the unique identifiers and INDEX/MATCH to bring over jobs related to that fitter. For example, In A2 of sheet Gary
    =IFERROR(INDEX('Profit Sheet'!A$2:A$30,MATCH($H$1&ROWS($A$1:A1),'Profit Sheet'!$J$2:$J$30,0)),"")

    Any questions?
    Attached Files Attached Files
    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
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    140

    Re: Linking tabs and formulas based on input into cells

    Hi

    yes this works well just a couple of ommisions. when i put more jobs onto the profit sheet and input the fitter, the information is not following through onto their specific tab. i also need a formula where whichever fitter did the job (as allocated in profit sheet) they need to receive 25% of the profit.


    hope this helps and appreciate your help

    thanks

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

    Re: Linking tabs and formulas based on input into cells

    Oops, my mistake. On the Profit sheet. J2 copied down
    =IF(ISNUMBER(H2),F2&COUNTIF($F$1:F2,F2),"")

    and for the profit
    =IFERROR(INDEX('Profit Sheet'!I$2:I$30,MATCH($H$1&ROWS($A$1:D1),'Profit Sheet'!$J$2:$J$30,0)*0.25),"")
    Does that work for you?

  5. #5
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    140

    Re: Linking tabs and formulas based on input into cells

    can you put it on the spreadsheet please so i can see it working

    thanks

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

    Re: Linking tabs and formulas based on input into cells

    Here is an updated workbook.

    EDIT: Sorry, misplaced parenthesis. Profit formula should be
    =IFERROR(INDEX('Profit Sheet'!I$2:I$30,MATCH($H$1&ROWS($A$1:D1),'Profit Sheet'!$J$2:$J$30,0))*0.25,"")

    I have corrected the attached workbook.
    Attached Files Attached Files
    Last edited by ChemistB; 03-18-2014 at 09:40 AM.

  7. #7
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    140

    Re: Linking tabs and formulas based on input into cells

    the only thing that isnt working properly now is the profit for the fitters. whoever the fitter is, they should receive 25% of the profit but this isnt currently working. thanks

  8. #8
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    140

    Re: Linking tabs and formulas based on input into cells

    sorry my mistake, it is working a treat, thank you!

+ 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. Linking tabs and formulas based on input into cells
    By petelomax in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-14-2014, 08:24 AM
  2. Linking input dates to quarterly reports in different tabs
    By excelmike5 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-27-2014, 02:25 PM
  3. Macro to insert one row into defined tabs based on user input
    By lexxasp1210 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-12-2013, 01:45 PM
  4. [SOLVED] Populate multiple tabs based on input in Master tab?
    By MjRmatt in forum Excel General
    Replies: 2
    Last Post: 07-18-2013, 06:07 AM
  5. Linking tabs based upon changing data
    By lmennucci in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-04-2013, 01:51 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