+ Reply to Thread
Results 1 to 2 of 2

Selecting which data to input

  1. #1
    Registered User
    Join Date
    01-23-2020
    Location
    Essex, England
    MS-Off Ver
    16
    Posts
    5

    Selecting which data to input

    Hi,

    I was hoping someone may be able to help.

    I've created a Gantt chart to plot different data from a table into the corresponding dates and rows. However it's not picking out the correct reference number.

    I need to plot when our construction teams (gangs) are attending which project on which dates. I've managed to get the data to plot on the Gantt chart in the correct dates, however I now need it to plot the correct gang reference.

    I'll attach the file in the comment below.

    So, for example, in the table I may have this data:

    PROJECT NO. GANG NO. START END REF
    Project 1, Gang 1, 01/01/2020, 05/01/2020, G1
    Project 1, Gang 2, 06/01/2020, 10/01/2020, G2
    Project 2, Gang 1, 06/01/2020, 10/01/2020, G1

    At the moment its plotting on the chart the correct dates, regardless of the location of the data in the table. So it has G1 on the Gantt chart in line with project 1 between the dates 01/01/2020 and 05/01/2020. However it's also plotting G1 in line with project 1 in the dates 06/01/2020 and 10/01/2020, however I need it to display G2.

    There must be a part of the formula I need to amend so that as well as picking up the project and dates it will also pick out the correct reference number.

    As I say hopefully the example in my comment and attached file below will help explain.

  2. #2
    Registered User
    Join Date
    01-23-2020
    Location
    Essex, England
    MS-Off Ver
    16
    Posts
    5

    Re: Selecting which data to input

    As you can see in the attachment in the "Gantt Chart" tab I've used the formula:

    =IF(SUMPRODUCT(('Gang Allocations'!$A1:$A180=$A21)*('Gang Allocations'!$F1:$F180<=G$20)*('Gang Allocations'!$G1:$G180>=G$20))>0,VLOOKUP($A21,Table1,8,FALSE),""

    This is pulling the data required from the "gang allocations" tab.

    As I say I now need it to cross reference so that whatever the gang reference is that corresponds to the dates, it plots that reference. At the moment I believe it's simply searching the table and plotting the first gang reference it comes across with the project number.

    I've been using only the top couple of rows on the Gantt chart so many of the other cells have other formulas in that I've been experimenting with which you may find of use.
    Attached Files Attached Files

+ 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] Selecting data in an array based on input variables
    By dvess11 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-31-2019, 12:28 PM
  2. Automatic data input after selecting data validation in different cell.
    By edwink85 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-20-2018, 10:46 PM
  3. Cells selecting a word input depending on input of another cell
    By ceeje25 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-14-2012, 07:08 AM
  4. Selecting and aggregating data using user input radius
    By Fureak in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-13-2010, 06:38 PM
  5. Selecting Data Based on User Input
    By famousp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-23-2009, 04:16 PM
  6. Selecting Range With Input Box
    By Rutgers_Excels in forum Excel General
    Replies: 0
    Last Post: 04-11-2005, 12:53 PM
  7. Selecting a Range with and input box....
    By Rutgers_Excels in forum Excel General
    Replies: 0
    Last Post: 04-11-2005, 10:02 AM

Tags for this Thread

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