+ Reply to Thread
Results 1 to 4 of 4

If text appears in a table next to a date, return a value

  1. #1
    Forum Contributor
    Join Date
    07-19-2010
    Location
    Huddersfield, UK
    MS-Off Ver
    Excel 2007, 2010
    Posts
    167

    If text appears in a table next to a date, return a value

    Hi,

    I'm really hoping someone can help with this problem, as I'm stumped with how to even start tackling this.

    I have a schedule of engineers attending stores to carry out work. The schedule is created by someone else, and cannot be amended or reorganised in any way, and cannot have any additional columns/rows/formula adding to it. I can add in a new tab however.

    What I need is a list of all the engineers, showing which store they're attending on what date.

    Here's a rough template of what I have

    Engineer calling template.xlsx

    On the 2nd sheet, I need the formula from B2:D26 to look at the name in column A, and the Date on row 1, and see if that matches the data on Sheet1. If it does, then I want it to return the store info from Sheet1 colA. I've added in some of the results that are expected.


    I'm hoping I've explained this well enough!
    Last edited by dancing-shadow; 11-27-2013 at 09:23 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: If text appears in a table next to a date, return a value

    Hi
    You can do this using a basic Pivot Table. See attached sample.
    Hope it helps
    Tony
    Attached Files Attached Files

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: If text appears in a table next to a date, return a value

    hi there. maybe this array formula in E2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    if you're still using Excel 2003 like what your profile stated, then:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Forum Contributor
    Join Date
    07-19-2010
    Location
    Huddersfield, UK
    MS-Off Ver
    Excel 2007, 2010
    Posts
    167

    Re: If text appears in a table next to a date, return a value

    Thank you for your quick responses!

    ARGK - Unfortunately a pivot wasn't quite what I was after, as I may need to add in comments, or formatting afterwards, and need the layout not to change at all (so engineers names and dates are always in the same positions.

    benishiryo - Your array formula works perfectly and does just what I need it to!

    Thanks again - much appreciated.

+ 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. Text data appears as 0 in my Pivot table - how do I display as tex
    By Debra Dalgleish in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 07:05 PM
  2. [SOLVED] Text data appears as 0 in my Pivot table - how do I display as tex
    By Murray Snedden in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 11:05 AM
  3. [SOLVED] Text data appears as 0 in my Pivot table - how do I display as tex
    By Murray Snedden in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  4. Text data appears as 0 in my Pivot table - how do I display as tex
    By Debra Dalgleish in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  5. Text data appears as 0 in my Pivot table - how do I display as tex
    By Murray Snedden in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-09-2005, 03:05 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