+ Reply to Thread
Results 1 to 7 of 7

Linking 1 tab to another based on a cell result, picks a column based on result formula

  1. #1
    Forum Contributor
    Join Date
    09-19-2018
    Location
    England
    MS-Off Ver
    O365
    Posts
    263

    Linking 1 tab to another based on a cell result, picks a column based on result formula

    Good morning all

    I'm having trouble with a formula that I was trying to do as an IF statement but not sure if that is the right thing to do!

    I have 2 tabs in the spreadsheet: One called Scheduler the other called Data.

    What I want is the information from the Data tab to pull through to the Scheduler tab.

    Columns A to C pull through nicely, but what I am having trouble with is column J.....

    What I want to do is depending on what is in column C (called Stage Gate Status) to show the correct date from the data tab in column J.

    For example:

    Ghost House shows column C as Define & Design so from the Data tab will need to pull through to column J the date under Define & Design in Data tab which would be the 23/07 I believe.
    Dracula House is Initiation in columns C so in the Data tab will need to pull through 10/9 to column J
    Mummy House is Build & Deliver so Data tab 20/09 to column J

    Hope that makes sense

    Thanks y'all

    :-)
    Attached Files Attached Files
    Last edited by MattExcelLearner; 10-23-2018 at 07:59 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,418

    Re: To 'IF' or not to 'IF' that is the question :-)

    Assuming that only one date is filled in on that row on the data sheet (as in the sample workbook), try this:

    =SUMPRODUCT((--Table_owssvr[[Initiate Health Check]:[Closure Health Check]])*(Table_owssvr[Title]=Scheduler!A9)*(Table_owssvr[Current Stage Gate]=Scheduler!C9))

    It would be appreciated if you would change your thread title to better describe the issue at hand, please.
    Last edited by AliGW; 10-23-2018 at 02:56 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    09-19-2018
    Location
    England
    MS-Off Ver
    O365
    Posts
    263

    Re: Linking 1 tab to another based on a cell result, picks a column based on result formul

    Many thanks AliGW

    That worked a treat.

    I'm going to google some of the formula you used there to split it out and work out which each individual bits mean as I haven't used SUMPRODUCT before.

    Thanks again

  4. #4
    Forum Contributor
    Join Date
    09-19-2018
    Location
    England
    MS-Off Ver
    O365
    Posts
    263

    Re: Linking 1 tab to another based on a cell result, picks a column based on result formul

    OH no, just checked the formula on the 3rd row and got year 24/10/2255 instead of 20/09/18

    Eeep!

    Is it adding up all the dates in the columns instead of the one under Build & Deliver?

    Regards

    Attached Files Attached Files

  5. #5
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Linking 1 tab to another based on a cell result, picks a column based on result formul

    Please try at J9

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    09-19-2018
    Location
    England
    MS-Off Ver
    O365
    Posts
    263

    Re: Linking 1 tab to another based on a cell result, picks a column based on result formul

    Bo_Ry put your hand up as I'm coming in for a massive high five - it worked :-) :-)

    Thanks muchy, it worked my friend.

    I'm going to have to workout this formula in sections now so I understand what everything is doing.

    Woop woop, happy days

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,418

    Re: Linking 1 tab to another based on a cell result, picks a column based on result formul

    Thanks for the rep and for marking the thread as solved.

+ 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. [SOLVED] Mathematical question or excel question? Multiple several numbers in a row.
    By douglascaixeta in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-22-2015, 05:48 PM
  2. [SOLVED] Objective Question: High light the right answer with green before next question.
    By ebin charles in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2015, 12:38 PM
  3. database question, excel data sorting question
    By weblisterltd.com in forum Excel General
    Replies: 1
    Last Post: 12-17-2014, 01:35 PM
  4. code to progressively go throughly question based on answer to first question
    By Ishwarind in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2014, 06:48 AM
  5. [SOLVED] Question regarding conditional format question that covers two range criteria
    By lilsnoop in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-06-2013, 12:32 PM
  6. Replies: 3
    Last Post: 06-17-2011, 08:09 AM
  7. Two question, numeric code question and subtraction of two columns?
    By mgsweden78 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-18-2008, 02:50 AM

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